diff --git a/apis/accessanalyzer/v1beta1/zz_archiverule_types.go b/apis/accessanalyzer/v1beta1/zz_archiverule_types.go index c4f710fc86..7f60fa6e29 100755 --- a/apis/accessanalyzer/v1beta1/zz_archiverule_types.go +++ b/apis/accessanalyzer/v1beta1/zz_archiverule_types.go @@ -142,7 +142,7 @@ type ArchiveRuleStatus struct { type ArchiveRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filter) || has(self.initProvider.filter)",message="filter is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filter) || (has(self.initProvider) && has(self.initProvider.filter))",message="spec.forProvider.filter is a required parameter" Spec ArchiveRuleSpec `json:"spec"` Status ArchiveRuleStatus `json:"status,omitempty"` } diff --git a/apis/accessanalyzer/v1beta1/zz_generated.deepcopy.go b/apis/accessanalyzer/v1beta1/zz_generated.deepcopy.go index 963ebc485c..879b584877 100644 --- a/apis/accessanalyzer/v1beta1/zz_generated.deepcopy.go +++ b/apis/accessanalyzer/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -51,7 +50,8 @@ func (in *AnalyzerInitParameters) DeepCopyInto(out *AnalyzerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -128,7 +128,8 @@ func (in *AnalyzerObservation) DeepCopyInto(out *AnalyzerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -143,7 +144,8 @@ func (in *AnalyzerObservation) DeepCopyInto(out *AnalyzerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -183,7 +185,8 @@ func (in *AnalyzerParameters) DeepCopyInto(out *AnalyzerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/accessanalyzer/v1beta1/zz_generated.managed.go b/apis/accessanalyzer/v1beta1/zz_generated.managed.go index bbaf4c6051..3e4b98d16b 100644 --- a/apis/accessanalyzer/v1beta1/zz_generated.managed.go +++ b/apis/accessanalyzer/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Analyzer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Analyzer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Analyzer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Analyzer. func (mg *Analyzer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Analyzer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Analyzer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Analyzer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Analyzer. func (mg *Analyzer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ArchiveRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ArchiveRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ArchiveRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ArchiveRule. func (mg *ArchiveRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ArchiveRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ArchiveRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ArchiveRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ArchiveRule. func (mg *ArchiveRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/account/v1beta1/zz_alternatecontact_types.go b/apis/account/v1beta1/zz_alternatecontact_types.go index 50bff927ec..fdd40e3894 100755 --- a/apis/account/v1beta1/zz_alternatecontact_types.go +++ b/apis/account/v1beta1/zz_alternatecontact_types.go @@ -122,10 +122,10 @@ type AlternateContactStatus struct { type AlternateContact struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailAddress) || has(self.initProvider.emailAddress)",message="emailAddress is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.phoneNumber) || has(self.initProvider.phoneNumber)",message="phoneNumber is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || has(self.initProvider.title)",message="title is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailAddress) || (has(self.initProvider) && has(self.initProvider.emailAddress))",message="spec.forProvider.emailAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.phoneNumber) || (has(self.initProvider) && has(self.initProvider.phoneNumber))",message="spec.forProvider.phoneNumber is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.title) || (has(self.initProvider) && has(self.initProvider.title))",message="spec.forProvider.title is a required parameter" Spec AlternateContactSpec `json:"spec"` Status AlternateContactStatus `json:"status,omitempty"` } diff --git a/apis/account/v1beta1/zz_generated.deepcopy.go b/apis/account/v1beta1/zz_generated.deepcopy.go index 8ae3d4aa65..28cd7577eb 100644 --- a/apis/account/v1beta1/zz_generated.deepcopy.go +++ b/apis/account/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/account/v1beta1/zz_generated.managed.go b/apis/account/v1beta1/zz_generated.managed.go index 0071599413..fbfacf39a8 100644 --- a/apis/account/v1beta1/zz_generated.managed.go +++ b/apis/account/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AlternateContact) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AlternateContact. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AlternateContact) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AlternateContact. func (mg *AlternateContact) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AlternateContact) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AlternateContact. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AlternateContact) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AlternateContact. func (mg *AlternateContact) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/acm/v1beta1/zz_generated.deepcopy.go b/apis/acm/v1beta1/zz_generated.deepcopy.go index 34d2a05b03..ad2608e00b 100644 --- a/apis/acm/v1beta1/zz_generated.deepcopy.go +++ b/apis/acm/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -100,7 +99,8 @@ func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -271,7 +271,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -286,7 +287,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -402,7 +404,8 @@ func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/acm/v1beta1/zz_generated.managed.go b/apis/acm/v1beta1/zz_generated.managed.go index faf406ca9b..a8201ac612 100644 --- a/apis/acm/v1beta1/zz_generated.managed.go +++ b/apis/acm/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Certificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Certificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Certificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CertificateValidation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CertificateValidation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CertificateValidation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CertificateValidation. func (mg *CertificateValidation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CertificateValidation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CertificateValidation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CertificateValidation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CertificateValidation. func (mg *CertificateValidation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/acmpca/v1beta1/zz_certificate_types.go b/apis/acmpca/v1beta1/zz_certificate_types.go index b6d9416121..29cfe986ef 100755 --- a/apis/acmpca/v1beta1/zz_certificate_types.go +++ b/apis/acmpca/v1beta1/zz_certificate_types.go @@ -166,9 +166,9 @@ type CertificateStatus struct { type Certificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateSigningRequestSecretRef)",message="certificateSigningRequestSecretRef is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingAlgorithm) || has(self.initProvider.signingAlgorithm)",message="signingAlgorithm is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.validity) || has(self.initProvider.validity)",message="validity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateSigningRequestSecretRef)",message="spec.forProvider.certificateSigningRequestSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingAlgorithm) || (has(self.initProvider) && has(self.initProvider.signingAlgorithm))",message="spec.forProvider.signingAlgorithm is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.validity) || (has(self.initProvider) && has(self.initProvider.validity))",message="spec.forProvider.validity is a required parameter" Spec CertificateSpec `json:"spec"` Status CertificateStatus `json:"status,omitempty"` } diff --git a/apis/acmpca/v1beta1/zz_certificateauthority_types.go b/apis/acmpca/v1beta1/zz_certificateauthority_types.go index 4cac3a56d8..67c84d281a 100755 --- a/apis/acmpca/v1beta1/zz_certificateauthority_types.go +++ b/apis/acmpca/v1beta1/zz_certificateauthority_types.go @@ -471,7 +471,7 @@ type CertificateAuthorityStatus struct { type CertificateAuthority struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateAuthorityConfiguration) || has(self.initProvider.certificateAuthorityConfiguration)",message="certificateAuthorityConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateAuthorityConfiguration) || (has(self.initProvider) && has(self.initProvider.certificateAuthorityConfiguration))",message="spec.forProvider.certificateAuthorityConfiguration is a required parameter" Spec CertificateAuthoritySpec `json:"spec"` Status CertificateAuthorityStatus `json:"status,omitempty"` } diff --git a/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go b/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go index dd1946da53..45e560a418 100755 --- a/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go +++ b/apis/acmpca/v1beta1/zz_certificateauthoritycertificate_types.go @@ -89,7 +89,7 @@ type CertificateAuthorityCertificateStatus struct { type CertificateAuthorityCertificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateSecretRef)",message="certificateSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateSecretRef)",message="spec.forProvider.certificateSecretRef is a required parameter" Spec CertificateAuthorityCertificateSpec `json:"spec"` Status CertificateAuthorityCertificateStatus `json:"status,omitempty"` } diff --git a/apis/acmpca/v1beta1/zz_generated.deepcopy.go b/apis/acmpca/v1beta1/zz_generated.deepcopy.go index a9287183ae..86dd8efe06 100644 --- a/apis/acmpca/v1beta1/zz_generated.deepcopy.go +++ b/apis/acmpca/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -379,7 +378,8 @@ func (in *CertificateAuthorityInitParameters) DeepCopyInto(out *CertificateAutho if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -525,7 +525,8 @@ func (in *CertificateAuthorityObservation) DeepCopyInto(out *CertificateAuthorit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -540,7 +541,8 @@ func (in *CertificateAuthorityObservation) DeepCopyInto(out *CertificateAuthorit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -614,7 +616,8 @@ func (in *CertificateAuthorityParameters) DeepCopyInto(out *CertificateAuthority if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/acmpca/v1beta1/zz_generated.managed.go b/apis/acmpca/v1beta1/zz_generated.managed.go index fde8ea99b9..f84025173e 100644 --- a/apis/acmpca/v1beta1/zz_generated.managed.go +++ b/apis/acmpca/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Certificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Certificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Certificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CertificateAuthority) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CertificateAuthority. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CertificateAuthority) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CertificateAuthority. func (mg *CertificateAuthority) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CertificateAuthority) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CertificateAuthority. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CertificateAuthority) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CertificateAuthority. func (mg *CertificateAuthority) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *CertificateAuthorityCertificate) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CertificateAuthorityCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CertificateAuthorityCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CertificateAuthorityCertificate. func (mg *CertificateAuthorityCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *CertificateAuthorityCertificate) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CertificateAuthorityCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CertificateAuthorityCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CertificateAuthorityCertificate. func (mg *CertificateAuthorityCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Permission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Permission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Permission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Permission. func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Permission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Permission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Permission. func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/acmpca/v1beta1/zz_permission_types.go b/apis/acmpca/v1beta1/zz_permission_types.go index 664ebf31ae..a8f9b9d3d2 100755 --- a/apis/acmpca/v1beta1/zz_permission_types.go +++ b/apis/acmpca/v1beta1/zz_permission_types.go @@ -115,8 +115,8 @@ type PermissionStatus struct { type Permission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actions) || has(self.initProvider.actions)",message="actions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actions) || (has(self.initProvider) && has(self.initProvider.actions))",message="spec.forProvider.actions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" Spec PermissionSpec `json:"spec"` Status PermissionStatus `json:"status,omitempty"` } diff --git a/apis/acmpca/v1beta1/zz_policy_types.go b/apis/acmpca/v1beta1/zz_policy_types.go index d354d0dea5..301e838c2a 100755 --- a/apis/acmpca/v1beta1/zz_policy_types.go +++ b/apis/acmpca/v1beta1/zz_policy_types.go @@ -91,7 +91,7 @@ type PolicyStatus struct { type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` } diff --git a/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go b/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go index 75d01c9282..b803c55909 100755 --- a/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go +++ b/apis/amp/v1beta1/zz_alertmanagerdefinition_types.go @@ -92,7 +92,7 @@ type AlertManagerDefinitionStatus struct { type AlertManagerDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || has(self.initProvider.definition)",message="definition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter" Spec AlertManagerDefinitionSpec `json:"spec"` Status AlertManagerDefinitionStatus `json:"status,omitempty"` } diff --git a/apis/amp/v1beta1/zz_generated.deepcopy.go b/apis/amp/v1beta1/zz_generated.deepcopy.go index c5adca1ba2..006e478f81 100644 --- a/apis/amp/v1beta1/zz_generated.deepcopy.go +++ b/apis/amp/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -492,7 +491,8 @@ func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -581,7 +581,8 @@ func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -596,7 +597,8 @@ func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -643,7 +645,8 @@ func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/amp/v1beta1/zz_generated.managed.go b/apis/amp/v1beta1/zz_generated.managed.go index 509d48c833..ce6f5f9327 100644 --- a/apis/amp/v1beta1/zz_generated.managed.go +++ b/apis/amp/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AlertManagerDefinition) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AlertManagerDefinition. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AlertManagerDefinition) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AlertManagerDefinition. func (mg *AlertManagerDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AlertManagerDefinition) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AlertManagerDefinition. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AlertManagerDefinition) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AlertManagerDefinition. func (mg *AlertManagerDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RuleGroupNamespace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RuleGroupNamespace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RuleGroupNamespace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RuleGroupNamespace. func (mg *RuleGroupNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RuleGroupNamespace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RuleGroupNamespace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RuleGroupNamespace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RuleGroupNamespace. func (mg *RuleGroupNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workspace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workspace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workspace. func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workspace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workspace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workspace. func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/amp/v1beta1/zz_rulegroupnamespace_types.go b/apis/amp/v1beta1/zz_rulegroupnamespace_types.go index 9553106316..90770140f5 100755 --- a/apis/amp/v1beta1/zz_rulegroupnamespace_types.go +++ b/apis/amp/v1beta1/zz_rulegroupnamespace_types.go @@ -92,7 +92,7 @@ type RuleGroupNamespaceStatus struct { type RuleGroupNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.data) || has(self.initProvider.data)",message="data is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.data) || (has(self.initProvider) && has(self.initProvider.data))",message="spec.forProvider.data is a required parameter" Spec RuleGroupNamespaceSpec `json:"spec"` Status RuleGroupNamespaceStatus `json:"status,omitempty"` } diff --git a/apis/amplify/v1beta1/zz_app_types.go b/apis/amplify/v1beta1/zz_app_types.go index ccf68b78cf..da1d0e7820 100755 --- a/apis/amplify/v1beta1/zz_app_types.go +++ b/apis/amplify/v1beta1/zz_app_types.go @@ -420,7 +420,7 @@ type AppStatus struct { type App struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AppSpec `json:"spec"` Status AppStatus `json:"status,omitempty"` } diff --git a/apis/amplify/v1beta1/zz_generated.deepcopy.go b/apis/amplify/v1beta1/zz_generated.deepcopy.go index 77eb132aff..a12b6642b2 100644 --- a/apis/amplify/v1beta1/zz_generated.deepcopy.go +++ b/apis/amplify/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -107,7 +106,8 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -137,7 +137,8 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -264,7 +265,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -311,7 +313,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -326,7 +329,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -421,7 +425,8 @@ func (in *AppParameters) DeepCopyInto(out *AppParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -476,7 +481,8 @@ func (in *AppParameters) DeepCopyInto(out *AppParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -566,7 +572,8 @@ func (in *AutoBranchCreationConfigInitParameters) DeepCopyInto(out *AutoBranchCr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -636,7 +643,8 @@ func (in *AutoBranchCreationConfigObservation) DeepCopyInto(out *AutoBranchCreat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -711,7 +719,8 @@ func (in *AutoBranchCreationConfigParameters) DeepCopyInto(out *AutoBranchCreati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1027,7 +1036,8 @@ func (in *BranchInitParameters) DeepCopyInto(out *BranchInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1062,7 +1072,8 @@ func (in *BranchInitParameters) DeepCopyInto(out *BranchInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1201,7 +1212,8 @@ func (in *BranchObservation) DeepCopyInto(out *BranchObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1246,7 +1258,8 @@ func (in *BranchObservation) DeepCopyInto(out *BranchObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1261,7 +1274,8 @@ func (in *BranchObservation) DeepCopyInto(out *BranchObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1351,7 +1365,8 @@ func (in *BranchParameters) DeepCopyInto(out *BranchParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1391,7 +1406,8 @@ func (in *BranchParameters) DeepCopyInto(out *BranchParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/amplify/v1beta1/zz_generated.managed.go b/apis/amplify/v1beta1/zz_generated.managed.go index 381144e8cd..266aa76903 100644 --- a/apis/amplify/v1beta1/zz_generated.managed.go +++ b/apis/amplify/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *App) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this App. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *App) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this App. func (mg *App) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *App) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this App. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *App) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this App. func (mg *App) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *BackendEnvironment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BackendEnvironment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BackendEnvironment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BackendEnvironment. func (mg *BackendEnvironment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *BackendEnvironment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BackendEnvironment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BackendEnvironment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BackendEnvironment. func (mg *BackendEnvironment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Branch) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Branch. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Branch) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Branch. func (mg *Branch) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Branch) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Branch. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Branch) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Branch. func (mg *Branch) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Webhook) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Webhook. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Webhook) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Webhook. func (mg *Webhook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Webhook) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Webhook. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Webhook) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Webhook. func (mg *Webhook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/apigateway/v1beta1/zz_apikey_types.go b/apis/apigateway/v1beta1/zz_apikey_types.go index 6a6b9dec20..f04b5861b2 100755 --- a/apis/apigateway/v1beta1/zz_apikey_types.go +++ b/apis/apigateway/v1beta1/zz_apikey_types.go @@ -122,7 +122,7 @@ type APIKeyStatus struct { type APIKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec APIKeySpec `json:"spec"` Status APIKeyStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_authorizer_types.go b/apis/apigateway/v1beta1/zz_authorizer_types.go index 276fe479f9..3cfaa2392c 100755 --- a/apis/apigateway/v1beta1/zz_authorizer_types.go +++ b/apis/apigateway/v1beta1/zz_authorizer_types.go @@ -182,7 +182,7 @@ type AuthorizerStatus struct { type Authorizer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AuthorizerSpec `json:"spec"` Status AuthorizerStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_documentationpart_types.go b/apis/apigateway/v1beta1/zz_documentationpart_types.go index 83f93c4a42..38cff3833b 100755 --- a/apis/apigateway/v1beta1/zz_documentationpart_types.go +++ b/apis/apigateway/v1beta1/zz_documentationpart_types.go @@ -162,8 +162,8 @@ type DocumentationPartStatus struct { type DocumentationPart struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || has(self.initProvider.location)",message="location is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.properties) || has(self.initProvider.properties)",message="properties is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.properties) || (has(self.initProvider) && has(self.initProvider.properties))",message="spec.forProvider.properties is a required parameter" Spec DocumentationPartSpec `json:"spec"` Status DocumentationPartStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_documentationversion_types.go b/apis/apigateway/v1beta1/zz_documentationversion_types.go index d2c582f2c4..0f2d3ca6b5 100755 --- a/apis/apigateway/v1beta1/zz_documentationversion_types.go +++ b/apis/apigateway/v1beta1/zz_documentationversion_types.go @@ -102,7 +102,7 @@ type DocumentationVersionStatus struct { type DocumentationVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec DocumentationVersionSpec `json:"spec"` Status DocumentationVersionStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_domainname_types.go b/apis/apigateway/v1beta1/zz_domainname_types.go index efedf37f27..55da9db540 100755 --- a/apis/apigateway/v1beta1/zz_domainname_types.go +++ b/apis/apigateway/v1beta1/zz_domainname_types.go @@ -273,7 +273,7 @@ type DomainNameStatus struct { type DomainName struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || has(self.initProvider.domainName)",message="domainName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter" Spec DomainNameSpec `json:"spec"` Status DomainNameStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_gatewayresponse_types.go b/apis/apigateway/v1beta1/zz_gatewayresponse_types.go index 274ecfc947..8e921bd8a6 100755 --- a/apis/apigateway/v1beta1/zz_gatewayresponse_types.go +++ b/apis/apigateway/v1beta1/zz_gatewayresponse_types.go @@ -121,7 +121,7 @@ type GatewayResponseStatus struct { type GatewayResponse struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.responseType) || has(self.initProvider.responseType)",message="responseType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.responseType) || (has(self.initProvider) && has(self.initProvider.responseType))",message="spec.forProvider.responseType is a required parameter" Spec GatewayResponseSpec `json:"spec"` Status GatewayResponseStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_generated.deepcopy.go b/apis/apigateway/v1beta1/zz_generated.deepcopy.go index ee007195ed..d87c045d1b 100644 --- a/apis/apigateway/v1beta1/zz_generated.deepcopy.go +++ b/apis/apigateway/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -67,7 +66,8 @@ func (in *APIKeyInitParameters) DeepCopyInto(out *APIKeyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -164,7 +164,8 @@ func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -179,7 +180,8 @@ func (in *APIKeyObservation) DeepCopyInto(out *APIKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -229,7 +231,8 @@ func (in *APIKeyParameters) DeepCopyInto(out *APIKeyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1207,7 +1210,8 @@ func (in *CanarySettingsInitParameters) DeepCopyInto(out *CanarySettingsInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1247,7 +1251,8 @@ func (in *CanarySettingsObservation) DeepCopyInto(out *CanarySettingsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1287,7 +1292,8 @@ func (in *CanarySettingsParameters) DeepCopyInto(out *CanarySettingsParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1354,7 +1360,8 @@ func (in *ClientCertificateInitParameters) DeepCopyInto(out *ClientCertificateIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1446,7 +1453,8 @@ func (in *ClientCertificateObservation) DeepCopyInto(out *ClientCertificateObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1461,7 +1469,8 @@ func (in *ClientCertificateObservation) DeepCopyInto(out *ClientCertificateObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1501,7 +1510,8 @@ func (in *ClientCertificateParameters) DeepCopyInto(out *ClientCertificateParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1608,7 +1618,8 @@ func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1623,7 +1634,8 @@ func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1725,7 +1737,8 @@ func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1740,7 +1753,8 @@ func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1805,7 +1819,8 @@ func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1820,7 +1835,8 @@ func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2365,7 +2381,8 @@ func (in *DomainNameInitParameters) DeepCopyInto(out *DomainNameInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2521,7 +2538,8 @@ func (in *DomainNameObservation) DeepCopyInto(out *DomainNameObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2536,7 +2554,8 @@ func (in *DomainNameObservation) DeepCopyInto(out *DomainNameObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2655,7 +2674,8 @@ func (in *DomainNameParameters) DeepCopyInto(out *DomainNameParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2825,7 +2845,8 @@ func (in *GatewayResponseInitParameters) DeepCopyInto(out *GatewayResponseInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2840,7 +2861,8 @@ func (in *GatewayResponseInitParameters) DeepCopyInto(out *GatewayResponseInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2917,7 +2939,8 @@ func (in *GatewayResponseObservation) DeepCopyInto(out *GatewayResponseObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2932,7 +2955,8 @@ func (in *GatewayResponseObservation) DeepCopyInto(out *GatewayResponseObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2982,7 +3006,8 @@ func (in *GatewayResponseParameters) DeepCopyInto(out *GatewayResponseParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2997,7 +3022,8 @@ func (in *GatewayResponseParameters) DeepCopyInto(out *GatewayResponseParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3155,7 +3181,8 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3170,7 +3197,8 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3305,7 +3333,8 @@ func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3320,7 +3349,8 @@ func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3458,7 +3488,8 @@ func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3473,7 +3504,8 @@ func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3597,7 +3629,8 @@ func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationRespon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3612,7 +3645,8 @@ func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationRespon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3699,7 +3733,8 @@ func (in *IntegrationResponseObservation) DeepCopyInto(out *IntegrationResponseO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3714,7 +3749,8 @@ func (in *IntegrationResponseObservation) DeepCopyInto(out *IntegrationResponseO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3799,7 +3835,8 @@ func (in *IntegrationResponseParameters) DeepCopyInto(out *IntegrationResponsePa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3814,7 +3851,8 @@ func (in *IntegrationResponseParameters) DeepCopyInto(out *IntegrationResponsePa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4127,7 +4165,8 @@ func (in *MethodInitParameters) DeepCopyInto(out *MethodInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4142,7 +4181,8 @@ func (in *MethodInitParameters) DeepCopyInto(out *MethodInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -4250,7 +4290,8 @@ func (in *MethodObservation) DeepCopyInto(out *MethodObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4265,7 +4306,8 @@ func (in *MethodObservation) DeepCopyInto(out *MethodObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -4361,7 +4403,8 @@ func (in *MethodParameters) DeepCopyInto(out *MethodParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4376,7 +4419,8 @@ func (in *MethodParameters) DeepCopyInto(out *MethodParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -4468,7 +4512,8 @@ func (in *MethodResponseInitParameters) DeepCopyInto(out *MethodResponseInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4483,7 +4528,8 @@ func (in *MethodResponseInitParameters) DeepCopyInto(out *MethodResponseInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -4565,7 +4611,8 @@ func (in *MethodResponseObservation) DeepCopyInto(out *MethodResponseObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4580,7 +4627,8 @@ func (in *MethodResponseObservation) DeepCopyInto(out *MethodResponseObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -4655,7 +4703,8 @@ func (in *MethodResponseParameters) DeepCopyInto(out *MethodResponseParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4670,7 +4719,8 @@ func (in *MethodResponseParameters) DeepCopyInto(out *MethodResponseParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -6023,7 +6073,8 @@ func (in *RestAPIInitParameters) DeepCopyInto(out *RestAPIInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6043,7 +6094,8 @@ func (in *RestAPIInitParameters) DeepCopyInto(out *RestAPIInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6178,7 +6230,8 @@ func (in *RestAPIObservation) DeepCopyInto(out *RestAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6208,7 +6261,8 @@ func (in *RestAPIObservation) DeepCopyInto(out *RestAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6223,7 +6277,8 @@ func (in *RestAPIObservation) DeepCopyInto(out *RestAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6306,7 +6361,8 @@ func (in *RestAPIParameters) DeepCopyInto(out *RestAPIParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6331,7 +6387,8 @@ func (in *RestAPIParameters) DeepCopyInto(out *RestAPIParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6846,7 +6903,8 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6861,7 +6919,8 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7002,7 +7061,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7017,7 +7077,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7032,7 +7093,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7151,7 +7213,8 @@ func (in *StageParameters) DeepCopyInto(out *StageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7166,7 +7229,8 @@ func (in *StageParameters) DeepCopyInto(out *StageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7497,7 +7561,8 @@ func (in *UsagePlanInitParameters) DeepCopyInto(out *UsagePlanInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7819,7 +7884,8 @@ func (in *UsagePlanObservation) DeepCopyInto(out *UsagePlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7834,7 +7900,8 @@ func (in *UsagePlanObservation) DeepCopyInto(out *UsagePlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7905,7 +7972,8 @@ func (in *UsagePlanParameters) DeepCopyInto(out *UsagePlanParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8089,7 +8157,8 @@ func (in *VPCLinkInitParameters) DeepCopyInto(out *VPCLinkInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8171,7 +8240,8 @@ func (in *VPCLinkObservation) DeepCopyInto(out *VPCLinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8186,7 +8256,8 @@ func (in *VPCLinkObservation) DeepCopyInto(out *VPCLinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8242,7 +8313,8 @@ func (in *VPCLinkParameters) DeepCopyInto(out *VPCLinkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/apigateway/v1beta1/zz_generated.managed.go b/apis/apigateway/v1beta1/zz_generated.managed.go index fb09768907..945946d30f 100644 --- a/apis/apigateway/v1beta1/zz_generated.managed.go +++ b/apis/apigateway/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *APIKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this APIKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *APIKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this APIKey. func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *APIKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this APIKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *APIKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this APIKey. func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Account) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Account. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Account) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Account. func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Account. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Account) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Account. func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Authorizer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Authorizer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Authorizer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Authorizer. func (mg *Authorizer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Authorizer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Authorizer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Authorizer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Authorizer. func (mg *Authorizer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *BasePathMapping) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BasePathMapping. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BasePathMapping) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BasePathMapping. func (mg *BasePathMapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *BasePathMapping) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BasePathMapping. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BasePathMapping) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BasePathMapping. func (mg *BasePathMapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ClientCertificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClientCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClientCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClientCertificate. func (mg *ClientCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ClientCertificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClientCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClientCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClientCertificate. func (mg *ClientCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Deployment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Deployment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Deployment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Deployment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Deployment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Deployment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *DocumentationPart) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DocumentationPart. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DocumentationPart) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DocumentationPart. func (mg *DocumentationPart) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *DocumentationPart) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DocumentationPart. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DocumentationPart) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DocumentationPart. func (mg *DocumentationPart) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *DocumentationVersion) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DocumentationVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DocumentationVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DocumentationVersion. func (mg *DocumentationVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *DocumentationVersion) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DocumentationVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DocumentationVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DocumentationVersion. func (mg *DocumentationVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *DomainName) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainName. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainName) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainName. func (mg *DomainName) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *DomainName) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainName. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainName) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainName. func (mg *DomainName) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *GatewayResponse) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GatewayResponse. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GatewayResponse) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GatewayResponse. func (mg *GatewayResponse) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *GatewayResponse) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GatewayResponse. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GatewayResponse) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GatewayResponse. func (mg *GatewayResponse) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *Integration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Integration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Integration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Integration. func (mg *Integration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *Integration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Integration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Integration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Integration. func (mg *Integration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *IntegrationResponse) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IntegrationResponse. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IntegrationResponse) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IntegrationResponse. func (mg *IntegrationResponse) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *IntegrationResponse) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IntegrationResponse. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IntegrationResponse) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IntegrationResponse. func (mg *IntegrationResponse) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *Method) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Method. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Method) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Method. func (mg *Method) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *Method) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Method. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Method) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Method. func (mg *Method) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *MethodResponse) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MethodResponse. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MethodResponse) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MethodResponse. func (mg *MethodResponse) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *MethodResponse) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MethodResponse. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MethodResponse) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MethodResponse. func (mg *MethodResponse) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *MethodSettings) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MethodSettings. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MethodSettings) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MethodSettings. func (mg *MethodSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *MethodSettings) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MethodSettings. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MethodSettings) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MethodSettings. func (mg *MethodSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *Model) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Model. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Model) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Model. func (mg *Model) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *Model) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Model. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Model) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Model. func (mg *Model) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *RequestValidator) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RequestValidator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RequestValidator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RequestValidator. func (mg *RequestValidator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *RequestValidator) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RequestValidator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RequestValidator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RequestValidator. func (mg *RequestValidator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *Resource) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Resource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Resource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Resource. func (mg *Resource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *Resource) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Resource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Resource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Resource. func (mg *Resource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *RestAPI) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RestAPI. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RestAPI) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RestAPI. func (mg *RestAPI) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *RestAPI) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RestAPI. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RestAPI) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RestAPI. func (mg *RestAPI) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *RestAPIPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RestAPIPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RestAPIPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RestAPIPolicy. func (mg *RestAPIPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *RestAPIPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RestAPIPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RestAPIPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RestAPIPolicy. func (mg *RestAPIPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *Stage) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stage. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stage) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stage. func (mg *Stage) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *Stage) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stage. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stage) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stage. func (mg *Stage) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1623,14 +1287,6 @@ func (mg *UsagePlan) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UsagePlan. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UsagePlan) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UsagePlan. func (mg *UsagePlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1661,14 +1317,6 @@ func (mg *UsagePlan) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UsagePlan. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UsagePlan) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UsagePlan. func (mg *UsagePlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1699,14 +1347,6 @@ func (mg *UsagePlanKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UsagePlanKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UsagePlanKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UsagePlanKey. func (mg *UsagePlanKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1737,14 +1377,6 @@ func (mg *UsagePlanKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UsagePlanKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UsagePlanKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UsagePlanKey. func (mg *UsagePlanKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1775,14 +1407,6 @@ func (mg *VPCLink) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCLink. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCLink) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCLink. func (mg *VPCLink) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1813,14 +1437,6 @@ func (mg *VPCLink) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCLink. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCLink) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCLink. func (mg *VPCLink) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/apigateway/v1beta1/zz_integration_types.go b/apis/apigateway/v1beta1/zz_integration_types.go index 99ec8cd991..1fbebc71b5 100755 --- a/apis/apigateway/v1beta1/zz_integration_types.go +++ b/apis/apigateway/v1beta1/zz_integration_types.go @@ -310,7 +310,7 @@ type IntegrationStatus struct { type Integration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec IntegrationSpec `json:"spec"` Status IntegrationStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_method_types.go b/apis/apigateway/v1beta1/zz_method_types.go index 47e5c37383..b89fa760aa 100755 --- a/apis/apigateway/v1beta1/zz_method_types.go +++ b/apis/apigateway/v1beta1/zz_method_types.go @@ -205,8 +205,8 @@ type MethodStatus struct { type Method struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorization) || has(self.initProvider.authorization)",message="authorization is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || has(self.initProvider.httpMethod)",message="httpMethod is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorization) || (has(self.initProvider) && has(self.initProvider.authorization))",message="spec.forProvider.authorization is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || (has(self.initProvider) && has(self.initProvider.httpMethod))",message="spec.forProvider.httpMethod is a required parameter" Spec MethodSpec `json:"spec"` Status MethodStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_methodresponse_types.go b/apis/apigateway/v1beta1/zz_methodresponse_types.go index 5a6155aaf4..a2d8df14d8 100755 --- a/apis/apigateway/v1beta1/zz_methodresponse_types.go +++ b/apis/apigateway/v1beta1/zz_methodresponse_types.go @@ -152,7 +152,7 @@ type MethodResponseStatus struct { type MethodResponse struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statusCode) || has(self.initProvider.statusCode)",message="statusCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statusCode) || (has(self.initProvider) && has(self.initProvider.statusCode))",message="spec.forProvider.statusCode is a required parameter" Spec MethodResponseSpec `json:"spec"` Status MethodResponseStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_methodsettings_types.go b/apis/apigateway/v1beta1/zz_methodsettings_types.go index db9ad2b842..d88d2ff54e 100755 --- a/apis/apigateway/v1beta1/zz_methodsettings_types.go +++ b/apis/apigateway/v1beta1/zz_methodsettings_types.go @@ -227,8 +227,8 @@ type MethodSettingsStatus struct { type MethodSettings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.methodPath) || has(self.initProvider.methodPath)",message="methodPath is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settings) || has(self.initProvider.settings)",message="settings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.methodPath) || (has(self.initProvider) && has(self.initProvider.methodPath))",message="spec.forProvider.methodPath is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settings) || (has(self.initProvider) && has(self.initProvider.settings))",message="spec.forProvider.settings is a required parameter" Spec MethodSettingsSpec `json:"spec"` Status MethodSettingsStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_model_types.go b/apis/apigateway/v1beta1/zz_model_types.go index aeb593de2e..6a063c4d96 100755 --- a/apis/apigateway/v1beta1/zz_model_types.go +++ b/apis/apigateway/v1beta1/zz_model_types.go @@ -123,8 +123,8 @@ type ModelStatus struct { type Model struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || has(self.initProvider.contentType)",message="contentType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || (has(self.initProvider) && has(self.initProvider.contentType))",message="spec.forProvider.contentType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ModelSpec `json:"spec"` Status ModelStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_requestvalidator_types.go b/apis/apigateway/v1beta1/zz_requestvalidator_types.go index a9dc1cf16a..84d7db09e4 100755 --- a/apis/apigateway/v1beta1/zz_requestvalidator_types.go +++ b/apis/apigateway/v1beta1/zz_requestvalidator_types.go @@ -113,7 +113,7 @@ type RequestValidatorStatus struct { type RequestValidator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RequestValidatorSpec `json:"spec"` Status RequestValidatorStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_resource_types.go b/apis/apigateway/v1beta1/zz_resource_types.go index ca1a8f5f5d..2e5e48c813 100755 --- a/apis/apigateway/v1beta1/zz_resource_types.go +++ b/apis/apigateway/v1beta1/zz_resource_types.go @@ -113,7 +113,7 @@ type ResourceStatus struct { type Resource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pathPart) || has(self.initProvider.pathPart)",message="pathPart is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pathPart) || (has(self.initProvider) && has(self.initProvider.pathPart))",message="spec.forProvider.pathPart is a required parameter" Spec ResourceSpec `json:"spec"` Status ResourceStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_restapi_types.go b/apis/apigateway/v1beta1/zz_restapi_types.go index 454f2fc5ab..11a300afcc 100755 --- a/apis/apigateway/v1beta1/zz_restapi_types.go +++ b/apis/apigateway/v1beta1/zz_restapi_types.go @@ -235,7 +235,7 @@ type RestAPIStatus struct { type RestAPI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RestAPISpec `json:"spec"` Status RestAPIStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_restapipolicy_types.go b/apis/apigateway/v1beta1/zz_restapipolicy_types.go index ad1786dd13..9d0a283cfb 100755 --- a/apis/apigateway/v1beta1/zz_restapipolicy_types.go +++ b/apis/apigateway/v1beta1/zz_restapipolicy_types.go @@ -93,7 +93,7 @@ type RestAPIPolicyStatus struct { type RestAPIPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec RestAPIPolicySpec `json:"spec"` Status RestAPIPolicyStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_stage_types.go b/apis/apigateway/v1beta1/zz_stage_types.go index 694fa0dce0..1234621ad8 100755 --- a/apis/apigateway/v1beta1/zz_stage_types.go +++ b/apis/apigateway/v1beta1/zz_stage_types.go @@ -299,7 +299,7 @@ type StageStatus struct { type Stage struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stageName) || has(self.initProvider.stageName)",message="stageName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stageName) || (has(self.initProvider) && has(self.initProvider.stageName))",message="spec.forProvider.stageName is a required parameter" Spec StageSpec `json:"spec"` Status StageStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_usageplan_types.go b/apis/apigateway/v1beta1/zz_usageplan_types.go index 0b88b687e0..c6757ed110 100755 --- a/apis/apigateway/v1beta1/zz_usageplan_types.go +++ b/apis/apigateway/v1beta1/zz_usageplan_types.go @@ -302,7 +302,7 @@ type UsagePlanStatus struct { type UsagePlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec UsagePlanSpec `json:"spec"` Status UsagePlanStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_usageplankey_types.go b/apis/apigateway/v1beta1/zz_usageplankey_types.go index 330a03e0ed..8dfe7c7551 100755 --- a/apis/apigateway/v1beta1/zz_usageplankey_types.go +++ b/apis/apigateway/v1beta1/zz_usageplankey_types.go @@ -116,7 +116,7 @@ type UsagePlanKeyStatus struct { type UsagePlanKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyType) || has(self.initProvider.keyType)",message="keyType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyType) || (has(self.initProvider) && has(self.initProvider.keyType))",message="spec.forProvider.keyType is a required parameter" Spec UsagePlanKeySpec `json:"spec"` Status UsagePlanKeyStatus `json:"status,omitempty"` } diff --git a/apis/apigateway/v1beta1/zz_vpclink_types.go b/apis/apigateway/v1beta1/zz_vpclink_types.go index 082aaca558..cb86ca8f4a 100755 --- a/apis/apigateway/v1beta1/zz_vpclink_types.go +++ b/apis/apigateway/v1beta1/zz_vpclink_types.go @@ -119,7 +119,7 @@ type VPCLinkStatus struct { type VPCLink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec VPCLinkSpec `json:"spec"` Status VPCLinkStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_api_types.go b/apis/apigatewayv2/v1beta1/zz_api_types.go index 7d3cf46a07..1ebf7695eb 100755 --- a/apis/apigatewayv2/v1beta1/zz_api_types.go +++ b/apis/apigatewayv2/v1beta1/zz_api_types.go @@ -310,8 +310,8 @@ type APIStatus struct { type API struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocolType) || has(self.initProvider.protocolType)",message="protocolType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocolType) || (has(self.initProvider) && has(self.initProvider.protocolType))",message="spec.forProvider.protocolType is a required parameter" Spec APISpec `json:"spec"` Status APIStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_authorizer_types.go b/apis/apigatewayv2/v1beta1/zz_authorizer_types.go index 693a340310..7010bf97f0 100755 --- a/apis/apigatewayv2/v1beta1/zz_authorizer_types.go +++ b/apis/apigatewayv2/v1beta1/zz_authorizer_types.go @@ -242,8 +242,8 @@ type AuthorizerStatus struct { type Authorizer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizerType) || has(self.initProvider.authorizerType)",message="authorizerType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizerType) || (has(self.initProvider) && has(self.initProvider.authorizerType))",message="spec.forProvider.authorizerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AuthorizerSpec `json:"spec"` Status AuthorizerStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_domainname_types.go b/apis/apigatewayv2/v1beta1/zz_domainname_types.go index 43fd4ec450..02d2951297 100755 --- a/apis/apigatewayv2/v1beta1/zz_domainname_types.go +++ b/apis/apigatewayv2/v1beta1/zz_domainname_types.go @@ -196,7 +196,7 @@ type DomainNameStatus struct { type DomainName struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainNameConfiguration) || has(self.initProvider.domainNameConfiguration)",message="domainNameConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainNameConfiguration) || (has(self.initProvider) && has(self.initProvider.domainNameConfiguration))",message="spec.forProvider.domainNameConfiguration is a required parameter" Spec DomainNameSpec `json:"spec"` Status DomainNameStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go b/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go index fc8b89ff95..38e9c518d7 100644 --- a/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/apigatewayv2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -109,7 +108,8 @@ func (in *APIInitParameters) DeepCopyInto(out *APIInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -482,7 +482,8 @@ func (in *APIObservation) DeepCopyInto(out *APIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -497,7 +498,8 @@ func (in *APIObservation) DeepCopyInto(out *APIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -599,7 +601,8 @@ func (in *APIParameters) DeepCopyInto(out *APIParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1759,7 +1762,8 @@ func (in *DomainNameInitParameters) DeepCopyInto(out *DomainNameInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1850,7 +1854,8 @@ func (in *DomainNameObservation) DeepCopyInto(out *DomainNameObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1865,7 +1870,8 @@ func (in *DomainNameObservation) DeepCopyInto(out *DomainNameObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1914,7 +1920,8 @@ func (in *DomainNameParameters) DeepCopyInto(out *DomainNameParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2046,7 +2053,8 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2061,7 +2069,8 @@ func (in *IntegrationInitParameters) DeepCopyInto(out *IntegrationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2217,7 +2226,8 @@ func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2232,7 +2242,8 @@ func (in *IntegrationObservation) DeepCopyInto(out *IntegrationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2391,7 +2402,8 @@ func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2406,7 +2418,8 @@ func (in *IntegrationParameters) DeepCopyInto(out *IntegrationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2497,7 +2510,8 @@ func (in *IntegrationResponseInitParameters) DeepCopyInto(out *IntegrationRespon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2589,7 +2603,8 @@ func (in *IntegrationResponseObservation) DeepCopyInto(out *IntegrationResponseO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2669,7 +2684,8 @@ func (in *IntegrationResponseParameters) DeepCopyInto(out *IntegrationResponsePa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3246,7 +3262,8 @@ func (in *ResponseParametersInitParameters) DeepCopyInto(out *ResponseParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3281,7 +3298,8 @@ func (in *ResponseParametersObservation) DeepCopyInto(out *ResponseParametersObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3316,7 +3334,8 @@ func (in *ResponseParametersParameters) DeepCopyInto(out *ResponseParametersPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3409,7 +3428,8 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3534,7 +3554,8 @@ func (in *RouteObservation) DeepCopyInto(out *RouteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3652,7 +3673,8 @@ func (in *RouteParameters) DeepCopyInto(out *RouteParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3746,7 +3768,8 @@ func (in *RouteResponseInitParameters) DeepCopyInto(out *RouteResponseInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3828,7 +3851,8 @@ func (in *RouteResponseObservation) DeepCopyInto(out *RouteResponseObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3893,7 +3917,8 @@ func (in *RouteResponseParameters) DeepCopyInto(out *RouteResponseParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4211,7 +4236,8 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4226,7 +4252,8 @@ func (in *StageInitParameters) DeepCopyInto(out *StageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4354,7 +4381,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4369,7 +4397,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4384,7 +4413,8 @@ func (in *StageObservation) DeepCopyInto(out *StageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4485,7 +4515,8 @@ func (in *StageParameters) DeepCopyInto(out *StageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4500,7 +4531,8 @@ func (in *StageParameters) DeepCopyInto(out *StageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4657,7 +4689,8 @@ func (in *VPCLinkInitParameters) DeepCopyInto(out *VPCLinkInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4756,7 +4789,8 @@ func (in *VPCLinkObservation) DeepCopyInto(out *VPCLinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4771,7 +4805,8 @@ func (in *VPCLinkObservation) DeepCopyInto(out *VPCLinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4857,7 +4892,8 @@ func (in *VPCLinkParameters) DeepCopyInto(out *VPCLinkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/apigatewayv2/v1beta1/zz_generated.managed.go b/apis/apigatewayv2/v1beta1/zz_generated.managed.go index fee3c1b79d..37aa84a0b2 100644 --- a/apis/apigatewayv2/v1beta1/zz_generated.managed.go +++ b/apis/apigatewayv2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *API) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this API. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *API) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this API. func (mg *API) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *API) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this API. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *API) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this API. func (mg *API) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *APIMapping) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this APIMapping. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *APIMapping) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this APIMapping. func (mg *APIMapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *APIMapping) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this APIMapping. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *APIMapping) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this APIMapping. func (mg *APIMapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Authorizer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Authorizer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Authorizer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Authorizer. func (mg *Authorizer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Authorizer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Authorizer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Authorizer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Authorizer. func (mg *Authorizer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Deployment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Deployment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Deployment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Deployment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Deployment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Deployment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *DomainName) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainName. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainName) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainName. func (mg *DomainName) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *DomainName) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainName. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainName) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainName. func (mg *DomainName) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Integration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Integration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Integration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Integration. func (mg *Integration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Integration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Integration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Integration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Integration. func (mg *Integration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *IntegrationResponse) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IntegrationResponse. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IntegrationResponse) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IntegrationResponse. func (mg *IntegrationResponse) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *IntegrationResponse) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IntegrationResponse. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IntegrationResponse) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IntegrationResponse. func (mg *IntegrationResponse) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Model) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Model. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Model) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Model. func (mg *Model) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Model) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Model. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Model) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Model. func (mg *Model) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *Route) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Route. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Route) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Route. func (mg *Route) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *Route) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Route. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Route) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Route. func (mg *Route) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *RouteResponse) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RouteResponse. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RouteResponse) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RouteResponse. func (mg *RouteResponse) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *RouteResponse) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RouteResponse. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RouteResponse) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RouteResponse. func (mg *RouteResponse) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *Stage) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stage. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stage) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stage. func (mg *Stage) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *Stage) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stage. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stage) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stage. func (mg *Stage) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *VPCLink) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCLink. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCLink) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCLink. func (mg *VPCLink) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *VPCLink) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCLink. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCLink) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCLink. func (mg *VPCLink) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/apigatewayv2/v1beta1/zz_integration_types.go b/apis/apigatewayv2/v1beta1/zz_integration_types.go index 2d5d6ede3a..1f3a8c164b 100755 --- a/apis/apigatewayv2/v1beta1/zz_integration_types.go +++ b/apis/apigatewayv2/v1beta1/zz_integration_types.go @@ -347,7 +347,7 @@ type IntegrationStatus struct { type Integration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationType) || has(self.initProvider.integrationType)",message="integrationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationType) || (has(self.initProvider) && has(self.initProvider.integrationType))",message="spec.forProvider.integrationType is a required parameter" Spec IntegrationSpec `json:"spec"` Status IntegrationStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go b/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go index 41a7bdc703..f94a028e6d 100755 --- a/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go +++ b/apis/apigatewayv2/v1beta1/zz_integrationresponse_types.go @@ -138,7 +138,7 @@ type IntegrationResponseStatus struct { type IntegrationResponse struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationResponseKey) || has(self.initProvider.integrationResponseKey)",message="integrationResponseKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.integrationResponseKey) || (has(self.initProvider) && has(self.initProvider.integrationResponseKey))",message="spec.forProvider.integrationResponseKey is a required parameter" Spec IntegrationResponseSpec `json:"spec"` Status IntegrationResponseStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_model_types.go b/apis/apigatewayv2/v1beta1/zz_model_types.go index 44feffb212..365c1eab84 100755 --- a/apis/apigatewayv2/v1beta1/zz_model_types.go +++ b/apis/apigatewayv2/v1beta1/zz_model_types.go @@ -122,9 +122,9 @@ type ModelStatus struct { type Model struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || has(self.initProvider.contentType)",message="contentType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schema) || has(self.initProvider.schema)",message="schema is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || (has(self.initProvider) && has(self.initProvider.contentType))",message="spec.forProvider.contentType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schema) || (has(self.initProvider) && has(self.initProvider.schema))",message="spec.forProvider.schema is a required parameter" Spec ModelSpec `json:"spec"` Status ModelStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_route_types.go b/apis/apigatewayv2/v1beta1/zz_route_types.go index c8ab1fbe1a..148b50a198 100755 --- a/apis/apigatewayv2/v1beta1/zz_route_types.go +++ b/apis/apigatewayv2/v1beta1/zz_route_types.go @@ -243,7 +243,7 @@ type RouteStatus struct { type Route struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeKey) || has(self.initProvider.routeKey)",message="routeKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeKey) || (has(self.initProvider) && has(self.initProvider.routeKey))",message="spec.forProvider.routeKey is a required parameter" Spec RouteSpec `json:"spec"` Status RouteStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go b/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go index 67603c86df..f7cad26467 100755 --- a/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go +++ b/apis/apigatewayv2/v1beta1/zz_routeresponse_types.go @@ -128,7 +128,7 @@ type RouteResponseStatus struct { type RouteResponse struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeResponseKey) || has(self.initProvider.routeResponseKey)",message="routeResponseKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeResponseKey) || (has(self.initProvider) && has(self.initProvider.routeResponseKey))",message="spec.forProvider.routeResponseKey is a required parameter" Spec RouteResponseSpec `json:"spec"` Status RouteResponseStatus `json:"status,omitempty"` } diff --git a/apis/apigatewayv2/v1beta1/zz_vpclink_types.go b/apis/apigatewayv2/v1beta1/zz_vpclink_types.go index e098f5a9b9..2f84ac6ba7 100755 --- a/apis/apigatewayv2/v1beta1/zz_vpclink_types.go +++ b/apis/apigatewayv2/v1beta1/zz_vpclink_types.go @@ -128,7 +128,7 @@ type VPCLinkStatus struct { type VPCLink struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec VPCLinkSpec `json:"spec"` Status VPCLinkStatus `json:"status,omitempty"` } diff --git a/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go b/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go index e14ad91157..fc608daf9f 100644 --- a/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go +++ b/apis/appautoscaling/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1635,7 +1634,8 @@ func (in *TargetInitParameters) DeepCopyInto(out *TargetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1737,7 +1737,8 @@ func (in *TargetObservation) DeepCopyInto(out *TargetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1752,7 +1753,8 @@ func (in *TargetObservation) DeepCopyInto(out *TargetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1827,7 +1829,8 @@ func (in *TargetParameters) DeepCopyInto(out *TargetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appautoscaling/v1beta1/zz_generated.managed.go b/apis/appautoscaling/v1beta1/zz_generated.managed.go index 7c7106788f..35a3757a1a 100644 --- a/apis/appautoscaling/v1beta1/zz_generated.managed.go +++ b/apis/appautoscaling/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ScheduledAction) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ScheduledAction. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ScheduledAction) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ScheduledAction. func (mg *ScheduledAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ScheduledAction) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ScheduledAction. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ScheduledAction) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ScheduledAction. func (mg *ScheduledAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Target) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Target. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Target) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Target. func (mg *Target) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Target) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Target. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Target) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Target. func (mg *Target) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go b/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go index ef00831ec3..5d926615fc 100755 --- a/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go +++ b/apis/appautoscaling/v1beta1/zz_scheduledaction_types.go @@ -208,9 +208,9 @@ type ScheduledActionStatus struct { type ScheduledAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalableTargetAction) || has(self.initProvider.scalableTargetAction)",message="scalableTargetAction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || has(self.initProvider.schedule)",message="schedule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalableTargetAction) || (has(self.initProvider) && has(self.initProvider.scalableTargetAction))",message="spec.forProvider.scalableTargetAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.schedule is a required parameter" Spec ScheduledActionSpec `json:"spec"` Status ScheduledActionStatus `json:"status,omitempty"` } diff --git a/apis/appautoscaling/v1beta1/zz_target_types.go b/apis/appautoscaling/v1beta1/zz_target_types.go index 2b4a07414e..d42264ab56 100755 --- a/apis/appautoscaling/v1beta1/zz_target_types.go +++ b/apis/appautoscaling/v1beta1/zz_target_types.go @@ -139,8 +139,8 @@ type TargetStatus struct { type Target struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxCapacity) || has(self.initProvider.maxCapacity)",message="maxCapacity is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minCapacity) || has(self.initProvider.minCapacity)",message="minCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxCapacity) || (has(self.initProvider) && has(self.initProvider.maxCapacity))",message="spec.forProvider.maxCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minCapacity) || (has(self.initProvider) && has(self.initProvider.minCapacity))",message="spec.forProvider.minCapacity is a required parameter" Spec TargetSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_application_types.go b/apis/appconfig/v1beta1/zz_application_types.go index 30ab2171f6..75e4880068 100755 --- a/apis/appconfig/v1beta1/zz_application_types.go +++ b/apis/appconfig/v1beta1/zz_application_types.go @@ -102,7 +102,7 @@ type ApplicationStatus struct { type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_configurationprofile_types.go b/apis/appconfig/v1beta1/zz_configurationprofile_types.go index cf870e6d9a..0025cd29dd 100755 --- a/apis/appconfig/v1beta1/zz_configurationprofile_types.go +++ b/apis/appconfig/v1beta1/zz_configurationprofile_types.go @@ -192,8 +192,8 @@ type ConfigurationProfileStatus struct { type ConfigurationProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.locationUri) || has(self.initProvider.locationUri)",message="locationUri is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.locationUri) || (has(self.initProvider) && has(self.initProvider.locationUri))",message="spec.forProvider.locationUri is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ConfigurationProfileSpec `json:"spec"` Status ConfigurationProfileStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_deploymentstrategy_types.go b/apis/appconfig/v1beta1/zz_deploymentstrategy_types.go index 56cf763d2b..0e911e6d91 100755 --- a/apis/appconfig/v1beta1/zz_deploymentstrategy_types.go +++ b/apis/appconfig/v1beta1/zz_deploymentstrategy_types.go @@ -152,10 +152,10 @@ type DeploymentStrategyStatus struct { type DeploymentStrategy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deploymentDurationInMinutes) || has(self.initProvider.deploymentDurationInMinutes)",message="deploymentDurationInMinutes is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.growthFactor) || has(self.initProvider.growthFactor)",message="growthFactor is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicateTo) || has(self.initProvider.replicateTo)",message="replicateTo is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deploymentDurationInMinutes) || (has(self.initProvider) && has(self.initProvider.deploymentDurationInMinutes))",message="spec.forProvider.deploymentDurationInMinutes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.growthFactor) || (has(self.initProvider) && has(self.initProvider.growthFactor))",message="spec.forProvider.growthFactor is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicateTo) || (has(self.initProvider) && has(self.initProvider.replicateTo))",message="spec.forProvider.replicateTo is a required parameter" Spec DeploymentStrategySpec `json:"spec"` Status DeploymentStrategyStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_environment_types.go b/apis/appconfig/v1beta1/zz_environment_types.go index 01d5698b09..540dc11d93 100755 --- a/apis/appconfig/v1beta1/zz_environment_types.go +++ b/apis/appconfig/v1beta1/zz_environment_types.go @@ -179,7 +179,7 @@ type EnvironmentStatus struct { type Environment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec EnvironmentSpec `json:"spec"` Status EnvironmentStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_extension_types.go b/apis/appconfig/v1beta1/zz_extension_types.go index 036c4b48c8..58e3f27cf5 100755 --- a/apis/appconfig/v1beta1/zz_extension_types.go +++ b/apis/appconfig/v1beta1/zz_extension_types.go @@ -255,8 +255,8 @@ type ExtensionStatus struct { type Extension struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionPoint) || has(self.initProvider.actionPoint)",message="actionPoint is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionPoint) || (has(self.initProvider) && has(self.initProvider.actionPoint))",message="spec.forProvider.actionPoint is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ExtensionSpec `json:"spec"` Status ExtensionStatus `json:"status,omitempty"` } diff --git a/apis/appconfig/v1beta1/zz_generated.deepcopy.go b/apis/appconfig/v1beta1/zz_generated.deepcopy.go index aaeec0118e..9c15741756 100644 --- a/apis/appconfig/v1beta1/zz_generated.deepcopy.go +++ b/apis/appconfig/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -258,7 +257,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -340,7 +340,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -355,7 +356,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -400,7 +402,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -507,7 +510,8 @@ func (in *ConfigurationProfileInitParameters) DeepCopyInto(out *ConfigurationPro if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -621,7 +625,8 @@ func (in *ConfigurationProfileObservation) DeepCopyInto(out *ConfigurationProfil if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -636,7 +641,8 @@ func (in *ConfigurationProfileObservation) DeepCopyInto(out *ConfigurationProfil if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -728,7 +734,8 @@ func (in *ConfigurationProfileParameters) DeepCopyInto(out *ConfigurationProfile if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -837,7 +844,8 @@ func (in *DeploymentInitParameters) DeepCopyInto(out *DeploymentInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -949,7 +957,8 @@ func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -964,7 +973,8 @@ func (in *DeploymentObservation) DeepCopyInto(out *DeploymentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1079,7 +1089,8 @@ func (in *DeploymentParameters) DeepCopyInto(out *DeploymentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1206,7 +1217,8 @@ func (in *DeploymentStrategyInitParameters) DeepCopyInto(out *DeploymentStrategy if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1313,7 +1325,8 @@ func (in *DeploymentStrategyObservation) DeepCopyInto(out *DeploymentStrategyObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1328,7 +1341,8 @@ func (in *DeploymentStrategyObservation) DeepCopyInto(out *DeploymentStrategyObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1398,7 +1412,8 @@ func (in *DeploymentStrategyParameters) DeepCopyInto(out *DeploymentStrategyPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1505,7 +1520,8 @@ func (in *EnvironmentInitParameters) DeepCopyInto(out *EnvironmentInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1609,7 +1625,8 @@ func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1624,7 +1641,8 @@ func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1691,7 +1709,8 @@ func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1810,7 +1829,8 @@ func (in *ExtensionAssociationInitParameters) DeepCopyInto(out *ExtensionAssocia if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1892,7 +1912,8 @@ func (in *ExtensionAssociationObservation) DeepCopyInto(out *ExtensionAssociatio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1942,7 +1963,8 @@ func (in *ExtensionAssociationParameters) DeepCopyInto(out *ExtensionAssociation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2051,7 +2073,8 @@ func (in *ExtensionInitParameters) DeepCopyInto(out *ExtensionInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2147,7 +2170,8 @@ func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2162,7 +2186,8 @@ func (in *ExtensionObservation) DeepCopyInto(out *ExtensionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2226,7 +2251,8 @@ func (in *ExtensionParameters) DeepCopyInto(out *ExtensionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appconfig/v1beta1/zz_generated.managed.go b/apis/appconfig/v1beta1/zz_generated.managed.go index cd99194195..69189cde32 100644 --- a/apis/appconfig/v1beta1/zz_generated.managed.go +++ b/apis/appconfig/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ConfigurationProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationProfile. func (mg *ConfigurationProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ConfigurationProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationProfile. func (mg *ConfigurationProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Deployment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Deployment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Deployment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Deployment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Deployment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Deployment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Deployment. func (mg *Deployment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *DeploymentStrategy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeploymentStrategy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeploymentStrategy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeploymentStrategy. func (mg *DeploymentStrategy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *DeploymentStrategy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeploymentStrategy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeploymentStrategy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeploymentStrategy. func (mg *DeploymentStrategy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Environment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Environment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Environment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Environment. func (mg *Environment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Environment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Environment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Environment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Environment. func (mg *Environment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Extension) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Extension. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Extension) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Extension. func (mg *Extension) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Extension) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Extension. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Extension) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Extension. func (mg *Extension) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ExtensionAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ExtensionAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ExtensionAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ExtensionAssociation. func (mg *ExtensionAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ExtensionAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ExtensionAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ExtensionAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ExtensionAssociation. func (mg *ExtensionAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *HostedConfigurationVersion) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedConfigurationVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedConfigurationVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedConfigurationVersion. func (mg *HostedConfigurationVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *HostedConfigurationVersion) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedConfigurationVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedConfigurationVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedConfigurationVersion. func (mg *HostedConfigurationVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go b/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go index f43a696586..e1ee0807fa 100755 --- a/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go +++ b/apis/appconfig/v1beta1/zz_hostedconfigurationversion_types.go @@ -130,8 +130,8 @@ type HostedConfigurationVersionStatus struct { type HostedConfigurationVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentSecretRef)",message="contentSecretRef is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || has(self.initProvider.contentType)",message="contentType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentSecretRef)",message="spec.forProvider.contentSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentType) || (has(self.initProvider) && has(self.initProvider.contentType))",message="spec.forProvider.contentType is a required parameter" Spec HostedConfigurationVersionSpec `json:"spec"` Status HostedConfigurationVersionStatus `json:"status,omitempty"` } diff --git a/apis/appflow/v1beta1/zz_flow_types.go b/apis/appflow/v1beta1/zz_flow_types.go index b899cbb269..970b4e61d1 100755 --- a/apis/appflow/v1beta1/zz_flow_types.go +++ b/apis/appflow/v1beta1/zz_flow_types.go @@ -2431,10 +2431,10 @@ type FlowStatus struct { type Flow struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationFlowConfig) || has(self.initProvider.destinationFlowConfig)",message="destinationFlowConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceFlowConfig) || has(self.initProvider.sourceFlowConfig)",message="sourceFlowConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.task) || has(self.initProvider.task)",message="task is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.triggerConfig) || has(self.initProvider.triggerConfig)",message="triggerConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationFlowConfig) || (has(self.initProvider) && has(self.initProvider.destinationFlowConfig))",message="spec.forProvider.destinationFlowConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceFlowConfig) || (has(self.initProvider) && has(self.initProvider.sourceFlowConfig))",message="spec.forProvider.sourceFlowConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.task) || (has(self.initProvider) && has(self.initProvider.task))",message="spec.forProvider.task is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.triggerConfig) || (has(self.initProvider) && has(self.initProvider.triggerConfig))",message="spec.forProvider.triggerConfig is a required parameter" Spec FlowSpec `json:"spec"` Status FlowStatus `json:"status,omitempty"` } diff --git a/apis/appflow/v1beta1/zz_generated.deepcopy.go b/apis/appflow/v1beta1/zz_generated.deepcopy.go index 37d7a8ef54..9d47bfe0ef 100644 --- a/apis/appflow/v1beta1/zz_generated.deepcopy.go +++ b/apis/appflow/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -430,7 +429,8 @@ func (in *CustomConnectorInitParameters) DeepCopyInto(out *CustomConnectorInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -488,7 +488,8 @@ func (in *CustomConnectorObservation) DeepCopyInto(out *CustomConnectorObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -546,7 +547,8 @@ func (in *CustomConnectorParameters) DeepCopyInto(out *CustomConnectorParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1534,7 +1536,8 @@ func (in *FlowInitParameters) DeepCopyInto(out *FlowInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1644,7 +1647,8 @@ func (in *FlowObservation) DeepCopyInto(out *FlowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1659,7 +1663,8 @@ func (in *FlowObservation) DeepCopyInto(out *FlowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1732,7 +1737,8 @@ func (in *FlowParameters) DeepCopyInto(out *FlowParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4057,7 +4063,8 @@ func (in *SourceConnectorPropertiesCustomConnectorInitParameters) DeepCopyInto(o if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4092,7 +4099,8 @@ func (in *SourceConnectorPropertiesCustomConnectorObservation) DeepCopyInto(out if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4127,7 +4135,8 @@ func (in *SourceConnectorPropertiesCustomConnectorParameters) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5144,7 +5153,8 @@ func (in *TaskInitParameters) DeepCopyInto(out *TaskInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5202,7 +5212,8 @@ func (in *TaskObservation) DeepCopyInto(out *TaskObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5260,7 +5271,8 @@ func (in *TaskParameters) DeepCopyInto(out *TaskParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appflow/v1beta1/zz_generated.managed.go b/apis/appflow/v1beta1/zz_generated.managed.go index 7ca1b8ea9e..3b9fc6791a 100644 --- a/apis/appflow/v1beta1/zz_generated.managed.go +++ b/apis/appflow/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Flow) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Flow. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Flow) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Flow. func (mg *Flow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Flow) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Flow. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Flow) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Flow. func (mg *Flow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appintegrations/v1beta1/zz_eventintegration_types.go b/apis/appintegrations/v1beta1/zz_eventintegration_types.go index 2803b74a0e..6c3b406eb4 100755 --- a/apis/appintegrations/v1beta1/zz_eventintegration_types.go +++ b/apis/appintegrations/v1beta1/zz_eventintegration_types.go @@ -131,8 +131,8 @@ type EventIntegrationStatus struct { type EventIntegration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventFilter) || has(self.initProvider.eventFilter)",message="eventFilter is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventbridgeBus) || has(self.initProvider.eventbridgeBus)",message="eventbridgeBus is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventFilter) || (has(self.initProvider) && has(self.initProvider.eventFilter))",message="spec.forProvider.eventFilter is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventbridgeBus) || (has(self.initProvider) && has(self.initProvider.eventbridgeBus))",message="spec.forProvider.eventbridgeBus is a required parameter" Spec EventIntegrationSpec `json:"spec"` Status EventIntegrationStatus `json:"status,omitempty"` } diff --git a/apis/appintegrations/v1beta1/zz_generated.deepcopy.go b/apis/appintegrations/v1beta1/zz_generated.deepcopy.go index a292051be2..54bb0f9918 100644 --- a/apis/appintegrations/v1beta1/zz_generated.deepcopy.go +++ b/apis/appintegrations/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -128,7 +127,8 @@ func (in *EventIntegrationInitParameters) DeepCopyInto(out *EventIntegrationInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -217,7 +217,8 @@ func (in *EventIntegrationObservation) DeepCopyInto(out *EventIntegrationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -232,7 +233,8 @@ func (in *EventIntegrationObservation) DeepCopyInto(out *EventIntegrationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -284,7 +286,8 @@ func (in *EventIntegrationParameters) DeepCopyInto(out *EventIntegrationParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appintegrations/v1beta1/zz_generated.managed.go b/apis/appintegrations/v1beta1/zz_generated.managed.go index 20aabf6080..a713be4407 100644 --- a/apis/appintegrations/v1beta1/zz_generated.managed.go +++ b/apis/appintegrations/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *EventIntegration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventIntegration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventIntegration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventIntegration. func (mg *EventIntegration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *EventIntegration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventIntegration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventIntegration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventIntegration. func (mg *EventIntegration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/applicationinsights/v1beta1/zz_generated.deepcopy.go b/apis/applicationinsights/v1beta1/zz_generated.deepcopy.go index 43b5d913d7..8cc5eec265 100644 --- a/apis/applicationinsights/v1beta1/zz_generated.deepcopy.go +++ b/apis/applicationinsights/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -81,7 +80,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -183,7 +183,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -198,7 +199,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -263,7 +265,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/applicationinsights/v1beta1/zz_generated.managed.go b/apis/applicationinsights/v1beta1/zz_generated.managed.go index 1655aafe91..17437a229f 100644 --- a/apis/applicationinsights/v1beta1/zz_generated.managed.go +++ b/apis/applicationinsights/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appmesh/v1beta1/zz_gatewayroute_types.go b/apis/appmesh/v1beta1/zz_gatewayroute_types.go index a8509d09c9..5e525fa89b 100755 --- a/apis/appmesh/v1beta1/zz_gatewayroute_types.go +++ b/apis/appmesh/v1beta1/zz_gatewayroute_types.go @@ -1299,9 +1299,9 @@ type GatewayRouteStatus struct { type GatewayRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.meshName) || has(self.initProvider.meshName)",message="meshName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.meshName) || (has(self.initProvider) && has(self.initProvider.meshName))",message="spec.forProvider.meshName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec GatewayRouteSpec `json:"spec"` Status GatewayRouteStatus `json:"status,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_generated.deepcopy.go b/apis/appmesh/v1beta1/zz_generated.deepcopy.go index 1d3edff364..def23c5f8f 100644 --- a/apis/appmesh/v1beta1/zz_generated.deepcopy.go +++ b/apis/appmesh/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -639,7 +638,8 @@ func (in *AwsCloudMapInitParameters) DeepCopyInto(out *AwsCloudMapInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -674,7 +674,8 @@ func (in *AwsCloudMapObservation) DeepCopyInto(out *AwsCloudMapObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -714,7 +715,8 @@ func (in *AwsCloudMapParameters) DeepCopyInto(out *AwsCloudMapParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3899,7 +3901,8 @@ func (in *GatewayRouteInitParameters) DeepCopyInto(out *GatewayRouteInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4008,7 +4011,8 @@ func (in *GatewayRouteObservation) DeepCopyInto(out *GatewayRouteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4023,7 +4027,8 @@ func (in *GatewayRouteObservation) DeepCopyInto(out *GatewayRouteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4085,7 +4090,8 @@ func (in *GatewayRouteParameters) DeepCopyInto(out *GatewayRouteParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10196,7 +10202,8 @@ func (in *MeshInitParameters) DeepCopyInto(out *MeshInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10295,7 +10302,8 @@ func (in *MeshObservation) DeepCopyInto(out *MeshObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10310,7 +10318,8 @@ func (in *MeshObservation) DeepCopyInto(out *MeshObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10352,7 +10361,8 @@ func (in *MeshParameters) DeepCopyInto(out *MeshParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12222,7 +12232,8 @@ func (in *RouteInitParameters) DeepCopyInto(out *RouteInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12331,7 +12342,8 @@ func (in *RouteObservation) DeepCopyInto(out *RouteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12346,7 +12358,8 @@ func (in *RouteObservation) DeepCopyInto(out *RouteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12418,7 +12431,8 @@ func (in *RouteParameters) DeepCopyInto(out *RouteParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17467,7 +17481,8 @@ func (in *VirtualGatewayInitParameters) DeepCopyInto(out *VirtualGatewayInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17576,7 +17591,8 @@ func (in *VirtualGatewayObservation) DeepCopyInto(out *VirtualGatewayObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17591,7 +17607,8 @@ func (in *VirtualGatewayObservation) DeepCopyInto(out *VirtualGatewayObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17648,7 +17665,8 @@ func (in *VirtualGatewayParameters) DeepCopyInto(out *VirtualGatewayParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17865,7 +17883,8 @@ func (in *VirtualNodeInitParameters) DeepCopyInto(out *VirtualNodeInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17974,7 +17993,8 @@ func (in *VirtualNodeObservation) DeepCopyInto(out *VirtualNodeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17989,7 +18009,8 @@ func (in *VirtualNodeObservation) DeepCopyInto(out *VirtualNodeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18056,7 +18077,8 @@ func (in *VirtualNodeParameters) DeepCopyInto(out *VirtualNodeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18315,7 +18337,8 @@ func (in *VirtualRouterInitParameters) DeepCopyInto(out *VirtualRouterInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18424,7 +18447,8 @@ func (in *VirtualRouterObservation) DeepCopyInto(out *VirtualRouterObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18439,7 +18463,8 @@ func (in *VirtualRouterObservation) DeepCopyInto(out *VirtualRouterObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18506,7 +18531,8 @@ func (in *VirtualRouterParameters) DeepCopyInto(out *VirtualRouterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18833,7 +18859,8 @@ func (in *VirtualServiceInitParameters_2) DeepCopyInto(out *VirtualServiceInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18962,7 +18989,8 @@ func (in *VirtualServiceObservation_2) DeepCopyInto(out *VirtualServiceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18977,7 +19005,8 @@ func (in *VirtualServiceObservation_2) DeepCopyInto(out *VirtualServiceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -19064,7 +19093,8 @@ func (in *VirtualServiceParameters_2) DeepCopyInto(out *VirtualServiceParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appmesh/v1beta1/zz_generated.managed.go b/apis/appmesh/v1beta1/zz_generated.managed.go index 8fae62e19e..9dc2deb1fc 100644 --- a/apis/appmesh/v1beta1/zz_generated.managed.go +++ b/apis/appmesh/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *GatewayRoute) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GatewayRoute. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GatewayRoute) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GatewayRoute. func (mg *GatewayRoute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *GatewayRoute) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GatewayRoute. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GatewayRoute) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GatewayRoute. func (mg *GatewayRoute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Mesh) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Mesh. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Mesh) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Mesh. func (mg *Mesh) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Mesh) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Mesh. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Mesh) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Mesh. func (mg *Mesh) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Route) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Route. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Route) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Route. func (mg *Route) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Route) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Route. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Route) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Route. func (mg *Route) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *VirtualGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VirtualGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VirtualGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VirtualGateway. func (mg *VirtualGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *VirtualGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VirtualGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VirtualGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VirtualGateway. func (mg *VirtualGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *VirtualNode) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VirtualNode. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VirtualNode) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VirtualNode. func (mg *VirtualNode) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *VirtualNode) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VirtualNode. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VirtualNode) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VirtualNode. func (mg *VirtualNode) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *VirtualRouter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VirtualRouter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VirtualRouter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VirtualRouter. func (mg *VirtualRouter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *VirtualRouter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VirtualRouter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VirtualRouter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VirtualRouter. func (mg *VirtualRouter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *VirtualService) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VirtualService. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VirtualService) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VirtualService. func (mg *VirtualService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *VirtualService) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VirtualService. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VirtualService) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VirtualService. func (mg *VirtualService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appmesh/v1beta1/zz_route_types.go b/apis/appmesh/v1beta1/zz_route_types.go index 2e7e7c368c..e5d71e8e77 100755 --- a/apis/appmesh/v1beta1/zz_route_types.go +++ b/apis/appmesh/v1beta1/zz_route_types.go @@ -1997,8 +1997,8 @@ type RouteStatus struct { type Route struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec RouteSpec `json:"spec"` Status RouteStatus `json:"status,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_virtualgateway_types.go b/apis/appmesh/v1beta1/zz_virtualgateway_types.go index c2ecdb3daa..692dce9920 100755 --- a/apis/appmesh/v1beta1/zz_virtualgateway_types.go +++ b/apis/appmesh/v1beta1/zz_virtualgateway_types.go @@ -1171,9 +1171,9 @@ type VirtualGatewayStatus struct { type VirtualGateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.meshName) || has(self.initProvider.meshName)",message="meshName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.meshName) || (has(self.initProvider) && has(self.initProvider.meshName))",message="spec.forProvider.meshName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec VirtualGatewaySpec `json:"spec"` Status VirtualGatewayStatus `json:"status,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_virtualnode_types.go b/apis/appmesh/v1beta1/zz_virtualnode_types.go index ad42070d04..1c559cfa8a 100755 --- a/apis/appmesh/v1beta1/zz_virtualnode_types.go +++ b/apis/appmesh/v1beta1/zz_virtualnode_types.go @@ -2180,8 +2180,8 @@ type VirtualNodeStatus struct { type VirtualNode struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec VirtualNodeSpec `json:"spec"` Status VirtualNodeStatus `json:"status,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_virtualrouter_types.go b/apis/appmesh/v1beta1/zz_virtualrouter_types.go index f39c70ec12..8d74f4f3b0 100755 --- a/apis/appmesh/v1beta1/zz_virtualrouter_types.go +++ b/apis/appmesh/v1beta1/zz_virtualrouter_types.go @@ -205,8 +205,8 @@ type VirtualRouterStatus struct { type VirtualRouter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec VirtualRouterSpec `json:"spec"` Status VirtualRouterStatus `json:"status,omitempty"` } diff --git a/apis/appmesh/v1beta1/zz_virtualservice_types.go b/apis/appmesh/v1beta1/zz_virtualservice_types.go index 603ffe20bb..5f786243ac 100755 --- a/apis/appmesh/v1beta1/zz_virtualservice_types.go +++ b/apis/appmesh/v1beta1/zz_virtualservice_types.go @@ -238,8 +238,8 @@ type VirtualServiceStatus struct { type VirtualService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || has(self.initProvider.spec)",message="spec is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spec) || (has(self.initProvider) && has(self.initProvider.spec))",message="spec.forProvider.spec is a required parameter" Spec VirtualServiceSpec `json:"spec"` Status VirtualServiceStatus `json:"status,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_autoscalingconfigurationversion_types.go b/apis/apprunner/v1beta1/zz_autoscalingconfigurationversion_types.go index 6301f88928..fac30852c8 100755 --- a/apis/apprunner/v1beta1/zz_autoscalingconfigurationversion_types.go +++ b/apis/apprunner/v1beta1/zz_autoscalingconfigurationversion_types.go @@ -130,7 +130,7 @@ type AutoScalingConfigurationVersionStatus struct { type AutoScalingConfigurationVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoScalingConfigurationName) || has(self.initProvider.autoScalingConfigurationName)",message="autoScalingConfigurationName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoScalingConfigurationName) || (has(self.initProvider) && has(self.initProvider.autoScalingConfigurationName))",message="spec.forProvider.autoScalingConfigurationName is a required parameter" Spec AutoScalingConfigurationVersionSpec `json:"spec"` Status AutoScalingConfigurationVersionStatus `json:"status,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_connection_types.go b/apis/apprunner/v1beta1/zz_connection_types.go index d3ccbf60aa..f19612ab9e 100755 --- a/apis/apprunner/v1beta1/zz_connection_types.go +++ b/apis/apprunner/v1beta1/zz_connection_types.go @@ -94,7 +94,7 @@ type ConnectionStatus struct { type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || has(self.initProvider.providerType)",message="providerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || (has(self.initProvider) && has(self.initProvider.providerType))",message="spec.forProvider.providerType is a required parameter" Spec ConnectionSpec `json:"spec"` Status ConnectionStatus `json:"status,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_generated.deepcopy.go b/apis/apprunner/v1beta1/zz_generated.deepcopy.go index 33714db6b1..c955c03034 100644 --- a/apis/apprunner/v1beta1/zz_generated.deepcopy.go +++ b/apis/apprunner/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -152,7 +151,8 @@ func (in *AutoScalingConfigurationVersionInitParameters) DeepCopyInto(out *AutoS if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -259,7 +259,8 @@ func (in *AutoScalingConfigurationVersionObservation) DeepCopyInto(out *AutoScal if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -274,7 +275,8 @@ func (in *AutoScalingConfigurationVersionObservation) DeepCopyInto(out *AutoScal if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -329,7 +331,8 @@ func (in *AutoScalingConfigurationVersionParameters) DeepCopyInto(out *AutoScali if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -490,7 +493,8 @@ func (in *CodeConfigurationValuesInitParameters) DeepCopyInto(out *CodeConfigura if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -505,7 +509,8 @@ func (in *CodeConfigurationValuesInitParameters) DeepCopyInto(out *CodeConfigura if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -555,7 +560,8 @@ func (in *CodeConfigurationValuesObservation) DeepCopyInto(out *CodeConfiguratio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -570,7 +576,8 @@ func (in *CodeConfigurationValuesObservation) DeepCopyInto(out *CodeConfiguratio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -620,7 +627,8 @@ func (in *CodeConfigurationValuesParameters) DeepCopyInto(out *CodeConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -635,7 +643,8 @@ func (in *CodeConfigurationValuesParameters) DeepCopyInto(out *CodeConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -804,7 +813,8 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -886,7 +896,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -901,7 +912,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -941,7 +953,8 @@ func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1286,7 +1299,8 @@ func (in *ImageConfigurationInitParameters) DeepCopyInto(out *ImageConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1301,7 +1315,8 @@ func (in *ImageConfigurationInitParameters) DeepCopyInto(out *ImageConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1341,7 +1356,8 @@ func (in *ImageConfigurationObservation) DeepCopyInto(out *ImageConfigurationObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1356,7 +1372,8 @@ func (in *ImageConfigurationObservation) DeepCopyInto(out *ImageConfigurationObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1396,7 +1413,8 @@ func (in *ImageConfigurationParameters) DeepCopyInto(out *ImageConfigurationPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1411,7 +1429,8 @@ func (in *ImageConfigurationParameters) DeepCopyInto(out *ImageConfigurationPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1811,7 +1830,8 @@ func (in *ObservabilityConfigurationInitParameters) DeepCopyInto(out *Observabil if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1910,7 +1930,8 @@ func (in *ObservabilityConfigurationObservation) DeepCopyInto(out *Observability if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1925,7 +1946,8 @@ func (in *ObservabilityConfigurationObservation) DeepCopyInto(out *Observability if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1972,7 +1994,8 @@ func (in *ObservabilityConfigurationParameters) DeepCopyInto(out *ObservabilityC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2123,7 +2146,8 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2342,7 +2366,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2357,7 +2382,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2444,7 +2470,8 @@ func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2794,7 +2821,8 @@ func (in *VPCConnectorInitParameters) DeepCopyInto(out *VPCConnectorInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2898,7 +2926,8 @@ func (in *VPCConnectorObservation) DeepCopyInto(out *VPCConnectorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2913,7 +2942,8 @@ func (in *VPCConnectorObservation) DeepCopyInto(out *VPCConnectorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3004,7 +3034,8 @@ func (in *VPCConnectorParameters) DeepCopyInto(out *VPCConnectorParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/apprunner/v1beta1/zz_generated.managed.go b/apis/apprunner/v1beta1/zz_generated.managed.go index 26e1ca3052..193e713cdb 100644 --- a/apis/apprunner/v1beta1/zz_generated.managed.go +++ b/apis/apprunner/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AutoScalingConfigurationVersion) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AutoScalingConfigurationVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AutoScalingConfigurationVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AutoScalingConfigurationVersion. func (mg *AutoScalingConfigurationVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AutoScalingConfigurationVersion) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AutoScalingConfigurationVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AutoScalingConfigurationVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AutoScalingConfigurationVersion. func (mg *AutoScalingConfigurationVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ObservabilityConfiguration) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ObservabilityConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ObservabilityConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ObservabilityConfiguration. func (mg *ObservabilityConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ObservabilityConfiguration) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ObservabilityConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ObservabilityConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ObservabilityConfiguration. func (mg *ObservabilityConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Service) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Service. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Service) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Service. func (mg *Service) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Service. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Service) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Service. func (mg *Service) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *VPCConnector) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCConnector. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCConnector) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCConnector. func (mg *VPCConnector) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *VPCConnector) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCConnector. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCConnector) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCConnector. func (mg *VPCConnector) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/apprunner/v1beta1/zz_observabilityconfiguration_types.go b/apis/apprunner/v1beta1/zz_observabilityconfiguration_types.go index 9c68977934..f559b78b56 100755 --- a/apis/apprunner/v1beta1/zz_observabilityconfiguration_types.go +++ b/apis/apprunner/v1beta1/zz_observabilityconfiguration_types.go @@ -129,7 +129,7 @@ type ObservabilityConfigurationStatus struct { type ObservabilityConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.observabilityConfigurationName) || has(self.initProvider.observabilityConfigurationName)",message="observabilityConfigurationName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.observabilityConfigurationName) || (has(self.initProvider) && has(self.initProvider.observabilityConfigurationName))",message="spec.forProvider.observabilityConfigurationName is a required parameter" Spec ObservabilityConfigurationSpec `json:"spec"` Status ObservabilityConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_service_types.go b/apis/apprunner/v1beta1/zz_service_types.go index 2a75678e0e..455528b7ad 100755 --- a/apis/apprunner/v1beta1/zz_service_types.go +++ b/apis/apprunner/v1beta1/zz_service_types.go @@ -759,8 +759,8 @@ type ServiceStatus struct { type Service struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || has(self.initProvider.serviceName)",message="serviceName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceConfiguration) || has(self.initProvider.sourceConfiguration)",message="sourceConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceConfiguration) || (has(self.initProvider) && has(self.initProvider.sourceConfiguration))",message="spec.forProvider.sourceConfiguration is a required parameter" Spec ServiceSpec `json:"spec"` Status ServiceStatus `json:"status,omitempty"` } diff --git a/apis/apprunner/v1beta1/zz_vpcconnector_types.go b/apis/apprunner/v1beta1/zz_vpcconnector_types.go index 6268dc35eb..f8f37b2b29 100755 --- a/apis/apprunner/v1beta1/zz_vpcconnector_types.go +++ b/apis/apprunner/v1beta1/zz_vpcconnector_types.go @@ -133,7 +133,7 @@ type VPCConnectorStatus struct { type VPCConnector struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcConnectorName) || has(self.initProvider.vpcConnectorName)",message="vpcConnectorName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcConnectorName) || (has(self.initProvider) && has(self.initProvider.vpcConnectorName))",message="spec.forProvider.vpcConnectorName is a required parameter" Spec VPCConnectorSpec `json:"spec"` Status VPCConnectorStatus `json:"status,omitempty"` } diff --git a/apis/appstream/v1beta1/zz_directoryconfig_types.go b/apis/appstream/v1beta1/zz_directoryconfig_types.go index 3fd1013da4..a0a9cdc016 100755 --- a/apis/appstream/v1beta1/zz_directoryconfig_types.go +++ b/apis/appstream/v1beta1/zz_directoryconfig_types.go @@ -122,9 +122,9 @@ type DirectoryConfigStatus struct { type DirectoryConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.directoryName) || has(self.initProvider.directoryName)",message="directoryName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.organizationalUnitDistinguishedNames) || has(self.initProvider.organizationalUnitDistinguishedNames)",message="organizationalUnitDistinguishedNames is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceAccountCredentials) || has(self.initProvider.serviceAccountCredentials)",message="serviceAccountCredentials is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.directoryName) || (has(self.initProvider) && has(self.initProvider.directoryName))",message="spec.forProvider.directoryName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.organizationalUnitDistinguishedNames) || (has(self.initProvider) && has(self.initProvider.organizationalUnitDistinguishedNames))",message="spec.forProvider.organizationalUnitDistinguishedNames is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceAccountCredentials) || (has(self.initProvider) && has(self.initProvider.serviceAccountCredentials))",message="spec.forProvider.serviceAccountCredentials is a required parameter" Spec DirectoryConfigSpec `json:"spec"` Status DirectoryConfigStatus `json:"status,omitempty"` } diff --git a/apis/appstream/v1beta1/zz_fleet_types.go b/apis/appstream/v1beta1/zz_fleet_types.go index 8befcc449e..cda2d28620 100755 --- a/apis/appstream/v1beta1/zz_fleet_types.go +++ b/apis/appstream/v1beta1/zz_fleet_types.go @@ -348,9 +348,9 @@ type FleetStatus struct { type Fleet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.computeCapacity) || has(self.initProvider.computeCapacity)",message="computeCapacity is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.computeCapacity) || (has(self.initProvider) && has(self.initProvider.computeCapacity))",message="spec.forProvider.computeCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FleetSpec `json:"spec"` Status FleetStatus `json:"status,omitempty"` } diff --git a/apis/appstream/v1beta1/zz_generated.deepcopy.go b/apis/appstream/v1beta1/zz_generated.deepcopy.go index 60575107bf..a271288064 100644 --- a/apis/appstream/v1beta1/zz_generated.deepcopy.go +++ b/apis/appstream/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -724,7 +723,8 @@ func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -892,7 +892,8 @@ func (in *FleetObservation) DeepCopyInto(out *FleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -907,7 +908,8 @@ func (in *FleetObservation) DeepCopyInto(out *FleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1038,7 +1040,8 @@ func (in *FleetParameters) DeepCopyInto(out *FleetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1445,7 +1448,8 @@ func (in *ImageBuilderInitParameters) DeepCopyInto(out *ImageBuilderInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1588,7 +1592,8 @@ func (in *ImageBuilderObservation) DeepCopyInto(out *ImageBuilderObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1603,7 +1608,8 @@ func (in *ImageBuilderObservation) DeepCopyInto(out *ImageBuilderObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1704,7 +1710,8 @@ func (in *ImageBuilderParameters) DeepCopyInto(out *ImageBuilderParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2040,7 +2047,8 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2188,7 +2196,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2203,7 +2212,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2309,7 +2319,8 @@ func (in *StackParameters) DeepCopyInto(out *StackParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appstream/v1beta1/zz_generated.managed.go b/apis/appstream/v1beta1/zz_generated.managed.go index 050828ab0c..8b357e87b6 100644 --- a/apis/appstream/v1beta1/zz_generated.managed.go +++ b/apis/appstream/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DirectoryConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DirectoryConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DirectoryConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DirectoryConfig. func (mg *DirectoryConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DirectoryConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DirectoryConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DirectoryConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DirectoryConfig. func (mg *DirectoryConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Fleet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Fleet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Fleet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Fleet. func (mg *Fleet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Fleet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Fleet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Fleet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Fleet. func (mg *Fleet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *FleetStackAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FleetStackAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FleetStackAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FleetStackAssociation. func (mg *FleetStackAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *FleetStackAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FleetStackAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FleetStackAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FleetStackAssociation. func (mg *FleetStackAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ImageBuilder) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ImageBuilder. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ImageBuilder) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ImageBuilder. func (mg *ImageBuilder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ImageBuilder) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ImageBuilder. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ImageBuilder) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ImageBuilder. func (mg *ImageBuilder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Stack) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stack. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stack) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stack. func (mg *Stack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Stack) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stack. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stack) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stack. func (mg *Stack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *UserStackAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserStackAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserStackAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserStackAssociation. func (mg *UserStackAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *UserStackAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserStackAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserStackAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserStackAssociation. func (mg *UserStackAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appstream/v1beta1/zz_imagebuilder_types.go b/apis/appstream/v1beta1/zz_imagebuilder_types.go index f49a41cbf2..1a84f200a6 100755 --- a/apis/appstream/v1beta1/zz_imagebuilder_types.go +++ b/apis/appstream/v1beta1/zz_imagebuilder_types.go @@ -293,7 +293,7 @@ type ImageBuilderStatus struct { type ImageBuilder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" Spec ImageBuilderSpec `json:"spec"` Status ImageBuilderStatus `json:"status,omitempty"` } diff --git a/apis/appstream/v1beta1/zz_stack_types.go b/apis/appstream/v1beta1/zz_stack_types.go index 1cb82f9b23..2c1abb7e16 100755 --- a/apis/appstream/v1beta1/zz_stack_types.go +++ b/apis/appstream/v1beta1/zz_stack_types.go @@ -375,7 +375,7 @@ type StackStatus struct { type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StackSpec `json:"spec"` Status StackStatus `json:"status,omitempty"` } diff --git a/apis/appsync/v1beta1/zz_apicache_types.go b/apis/appsync/v1beta1/zz_apicache_types.go index 800a2f24ae..6e770fef9d 100755 --- a/apis/appsync/v1beta1/zz_apicache_types.go +++ b/apis/appsync/v1beta1/zz_apicache_types.go @@ -133,9 +133,9 @@ type APICacheStatus struct { type APICache struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.apiCachingBehavior) || has(self.initProvider.apiCachingBehavior)",message="apiCachingBehavior is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ttl) || has(self.initProvider.ttl)",message="ttl is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.apiCachingBehavior) || (has(self.initProvider) && has(self.initProvider.apiCachingBehavior))",message="spec.forProvider.apiCachingBehavior is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ttl) || (has(self.initProvider) && has(self.initProvider.ttl))",message="spec.forProvider.ttl is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec APICacheSpec `json:"spec"` Status APICacheStatus `json:"status,omitempty"` } diff --git a/apis/appsync/v1beta1/zz_datasource_types.go b/apis/appsync/v1beta1/zz_datasource_types.go index 77fc659bd8..33f65d32c1 100755 --- a/apis/appsync/v1beta1/zz_datasource_types.go +++ b/apis/appsync/v1beta1/zz_datasource_types.go @@ -540,7 +540,7 @@ type DatasourceStatus struct { type Datasource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DatasourceSpec `json:"spec"` Status DatasourceStatus `json:"status,omitempty"` } diff --git a/apis/appsync/v1beta1/zz_function_types.go b/apis/appsync/v1beta1/zz_function_types.go index 76eaff9f21..c3d7a7bf68 100755 --- a/apis/appsync/v1beta1/zz_function_types.go +++ b/apis/appsync/v1beta1/zz_function_types.go @@ -282,7 +282,7 @@ type FunctionStatus struct { type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FunctionSpec `json:"spec"` Status FunctionStatus `json:"status,omitempty"` } diff --git a/apis/appsync/v1beta1/zz_generated.deepcopy.go b/apis/appsync/v1beta1/zz_generated.deepcopy.go index edf075aea7..c5c0eac002 100644 --- a/apis/appsync/v1beta1/zz_generated.deepcopy.go +++ b/apis/appsync/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1973,7 +1972,8 @@ func (in *GraphQLAPIInitParameters) DeepCopyInto(out *GraphQLAPIInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2190,7 +2190,8 @@ func (in *GraphQLAPIObservation) DeepCopyInto(out *GraphQLAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2205,7 +2206,8 @@ func (in *GraphQLAPIObservation) DeepCopyInto(out *GraphQLAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2220,7 +2222,8 @@ func (in *GraphQLAPIObservation) DeepCopyInto(out *GraphQLAPIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2415,7 +2418,8 @@ func (in *GraphQLAPIParameters) DeepCopyInto(out *GraphQLAPIParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/appsync/v1beta1/zz_generated.managed.go b/apis/appsync/v1beta1/zz_generated.managed.go index b22e47b7ca..31ecf69cb5 100644 --- a/apis/appsync/v1beta1/zz_generated.managed.go +++ b/apis/appsync/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *APICache) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this APICache. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *APICache) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this APICache. func (mg *APICache) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *APICache) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this APICache. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *APICache) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this APICache. func (mg *APICache) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *APIKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this APIKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *APIKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this APIKey. func (mg *APIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *APIKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this APIKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *APIKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this APIKey. func (mg *APIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Datasource) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Datasource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Datasource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Datasource. func (mg *Datasource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Datasource) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Datasource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Datasource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Datasource. func (mg *Datasource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Function) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Function. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Function) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Function. func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Function) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Function. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Function) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Function. func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *GraphQLAPI) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GraphQLAPI. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GraphQLAPI) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GraphQLAPI. func (mg *GraphQLAPI) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *GraphQLAPI) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GraphQLAPI. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GraphQLAPI) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GraphQLAPI. func (mg *GraphQLAPI) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Resolver) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Resolver. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Resolver) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Resolver. func (mg *Resolver) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Resolver) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Resolver. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Resolver) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Resolver. func (mg *Resolver) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/appsync/v1beta1/zz_graphqlapi_types.go b/apis/appsync/v1beta1/zz_graphqlapi_types.go index 30267c92b4..1f3506f79b 100755 --- a/apis/appsync/v1beta1/zz_graphqlapi_types.go +++ b/apis/appsync/v1beta1/zz_graphqlapi_types.go @@ -541,8 +541,8 @@ type GraphQLAPIStatus struct { type GraphQLAPI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationType) || has(self.initProvider.authenticationType)",message="authenticationType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationType) || (has(self.initProvider) && has(self.initProvider.authenticationType))",message="spec.forProvider.authenticationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec GraphQLAPISpec `json:"spec"` Status GraphQLAPIStatus `json:"status,omitempty"` } diff --git a/apis/athena/v1beta1/zz_datacatalog_types.go b/apis/athena/v1beta1/zz_datacatalog_types.go index 562aaad14d..b45de79941 100755 --- a/apis/athena/v1beta1/zz_datacatalog_types.go +++ b/apis/athena/v1beta1/zz_datacatalog_types.go @@ -112,9 +112,9 @@ type DataCatalogStatus struct { type DataCatalog struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || has(self.initProvider.parameters)",message="parameters is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || (has(self.initProvider) && has(self.initProvider.parameters))",message="spec.forProvider.parameters is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DataCatalogSpec `json:"spec"` Status DataCatalogStatus `json:"status,omitempty"` } diff --git a/apis/athena/v1beta1/zz_generated.deepcopy.go b/apis/athena/v1beta1/zz_generated.deepcopy.go index 3bed361e9c..42db43da44 100644 --- a/apis/athena/v1beta1/zz_generated.deepcopy.go +++ b/apis/athena/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -279,7 +278,8 @@ func (in *DataCatalogInitParameters) DeepCopyInto(out *DataCatalogInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -294,7 +294,8 @@ func (in *DataCatalogInitParameters) DeepCopyInto(out *DataCatalogInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -376,7 +377,8 @@ func (in *DataCatalogObservation) DeepCopyInto(out *DataCatalogObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -391,7 +393,8 @@ func (in *DataCatalogObservation) DeepCopyInto(out *DataCatalogObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -406,7 +409,8 @@ func (in *DataCatalogObservation) DeepCopyInto(out *DataCatalogObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -446,7 +450,8 @@ func (in *DataCatalogParameters) DeepCopyInto(out *DataCatalogParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -466,7 +471,8 @@ func (in *DataCatalogParameters) DeepCopyInto(out *DataCatalogParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -592,7 +598,8 @@ func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -693,7 +700,8 @@ func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -767,7 +775,8 @@ func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1517,7 +1526,8 @@ func (in *WorkgroupInitParameters) DeepCopyInto(out *WorkgroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1611,7 +1621,8 @@ func (in *WorkgroupObservation) DeepCopyInto(out *WorkgroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1626,7 +1637,8 @@ func (in *WorkgroupObservation) DeepCopyInto(out *WorkgroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1683,7 +1695,8 @@ func (in *WorkgroupParameters) DeepCopyInto(out *WorkgroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/athena/v1beta1/zz_generated.managed.go b/apis/athena/v1beta1/zz_generated.managed.go index ba6b8fedcf..e3b5513646 100644 --- a/apis/athena/v1beta1/zz_generated.managed.go +++ b/apis/athena/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DataCatalog) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataCatalog. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataCatalog) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataCatalog. func (mg *DataCatalog) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DataCatalog) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataCatalog. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataCatalog) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataCatalog. func (mg *DataCatalog) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Database) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Database. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Database) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Database. func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Database. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Database) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Database. func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *NamedQuery) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NamedQuery. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NamedQuery) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NamedQuery. func (mg *NamedQuery) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *NamedQuery) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NamedQuery. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NamedQuery) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NamedQuery. func (mg *NamedQuery) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Workgroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workgroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workgroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workgroup. func (mg *Workgroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Workgroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workgroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workgroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workgroup. func (mg *Workgroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/athena/v1beta1/zz_namedquery_types.go b/apis/athena/v1beta1/zz_namedquery_types.go index 202ec89ed1..5ab85dc09f 100755 --- a/apis/athena/v1beta1/zz_namedquery_types.go +++ b/apis/athena/v1beta1/zz_namedquery_types.go @@ -129,8 +129,8 @@ type NamedQueryStatus struct { type NamedQuery struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.query) || has(self.initProvider.query)",message="query is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.query) || (has(self.initProvider) && has(self.initProvider.query))",message="spec.forProvider.query is a required parameter" Spec NamedQuerySpec `json:"spec"` Status NamedQueryStatus `json:"status,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go b/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go index 13eb5b1149..b660027f67 100755 --- a/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go +++ b/apis/autoscaling/v1beta1/zz_autoscalinggroup_types.go @@ -1604,8 +1604,8 @@ type AutoscalingGroupStatus struct { type AutoscalingGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxSize) || has(self.initProvider.maxSize)",message="maxSize is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minSize) || has(self.initProvider.minSize)",message="minSize is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxSize) || (has(self.initProvider) && has(self.initProvider.maxSize))",message="spec.forProvider.maxSize is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.minSize) || (has(self.initProvider) && has(self.initProvider.minSize))",message="spec.forProvider.minSize is a required parameter" Spec AutoscalingGroupSpec `json:"spec"` Status AutoscalingGroupStatus `json:"status,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go index 1408eb5c70..f7d1be5e22 100644 --- a/apis/autoscaling/v1beta1/zz_generated.deepcopy.go +++ b/apis/autoscaling/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -583,7 +582,8 @@ func (in *AutoscalingGroupInitParameters) DeepCopyInto(out *AutoscalingGroupInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -868,7 +868,8 @@ func (in *AutoscalingGroupObservation) DeepCopyInto(out *AutoscalingGroupObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1157,7 +1158,8 @@ func (in *AutoscalingGroupParameters) DeepCopyInto(out *AutoscalingGroupParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/autoscaling/v1beta1/zz_generated.managed.go b/apis/autoscaling/v1beta1/zz_generated.managed.go index 9d28143325..9c591d3a40 100644 --- a/apis/autoscaling/v1beta1/zz_generated.managed.go +++ b/apis/autoscaling/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Attachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Attachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Attachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Attachment. func (mg *Attachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Attachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Attachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Attachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Attachment. func (mg *Attachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AutoscalingGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AutoscalingGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AutoscalingGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AutoscalingGroup. func (mg *AutoscalingGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AutoscalingGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AutoscalingGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AutoscalingGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AutoscalingGroup. func (mg *AutoscalingGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *GroupTag) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GroupTag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GroupTag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GroupTag. func (mg *GroupTag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *GroupTag) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GroupTag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GroupTag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GroupTag. func (mg *GroupTag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *LaunchConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LaunchConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LaunchConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LaunchConfiguration. func (mg *LaunchConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *LaunchConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LaunchConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LaunchConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LaunchConfiguration. func (mg *LaunchConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *LifecycleHook) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LifecycleHook. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LifecycleHook) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LifecycleHook. func (mg *LifecycleHook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *LifecycleHook) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LifecycleHook. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LifecycleHook) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LifecycleHook. func (mg *LifecycleHook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Notification) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Notification. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Notification) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Notification. func (mg *Notification) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Notification) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Notification. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Notification) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Notification. func (mg *Notification) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Schedule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Schedule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Schedule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Schedule. func (mg *Schedule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Schedule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Schedule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Schedule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Schedule. func (mg *Schedule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/autoscaling/v1beta1/zz_grouptag_types.go b/apis/autoscaling/v1beta1/zz_grouptag_types.go index 8510b02a73..5b8d1b3f69 100755 --- a/apis/autoscaling/v1beta1/zz_grouptag_types.go +++ b/apis/autoscaling/v1beta1/zz_grouptag_types.go @@ -131,7 +131,7 @@ type GroupTagStatus struct { type GroupTag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tag) || has(self.initProvider.tag)",message="tag is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tag) || (has(self.initProvider) && has(self.initProvider.tag))",message="spec.forProvider.tag is a required parameter" Spec GroupTagSpec `json:"spec"` Status GroupTagStatus `json:"status,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_launchconfiguration_types.go b/apis/autoscaling/v1beta1/zz_launchconfiguration_types.go index 1c7610ddca..1f041407d2 100755 --- a/apis/autoscaling/v1beta1/zz_launchconfiguration_types.go +++ b/apis/autoscaling/v1beta1/zz_launchconfiguration_types.go @@ -504,8 +504,8 @@ type LaunchConfigurationStatus struct { type LaunchConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.imageId) || has(self.initProvider.imageId)",message="imageId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.imageId) || (has(self.initProvider) && has(self.initProvider.imageId))",message="spec.forProvider.imageId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" Spec LaunchConfigurationSpec `json:"spec"` Status LaunchConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go b/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go index ca329456d9..0ab775bedd 100755 --- a/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go +++ b/apis/autoscaling/v1beta1/zz_lifecyclehook_types.go @@ -148,7 +148,7 @@ type LifecycleHookStatus struct { type LifecycleHook struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lifecycleTransition) || has(self.initProvider.lifecycleTransition)",message="lifecycleTransition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lifecycleTransition) || (has(self.initProvider) && has(self.initProvider.lifecycleTransition))",message="spec.forProvider.lifecycleTransition is a required parameter" Spec LifecycleHookSpec `json:"spec"` Status LifecycleHookStatus `json:"status,omitempty"` } diff --git a/apis/autoscaling/v1beta1/zz_notification_types.go b/apis/autoscaling/v1beta1/zz_notification_types.go index 13eae0cee3..c7f8452be4 100755 --- a/apis/autoscaling/v1beta1/zz_notification_types.go +++ b/apis/autoscaling/v1beta1/zz_notification_types.go @@ -105,8 +105,8 @@ type NotificationStatus struct { type Notification struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupNames) || has(self.initProvider.groupNames)",message="groupNames is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notifications) || has(self.initProvider.notifications)",message="notifications is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupNames) || (has(self.initProvider) && has(self.initProvider.groupNames))",message="spec.forProvider.groupNames is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notifications) || (has(self.initProvider) && has(self.initProvider.notifications))",message="spec.forProvider.notifications is a required parameter" Spec NotificationSpec `json:"spec"` Status NotificationStatus `json:"status,omitempty"` } diff --git a/apis/autoscalingplans/v1beta1/zz_generated.deepcopy.go b/apis/autoscalingplans/v1beta1/zz_generated.deepcopy.go index efbd6f20c8..cee109eea2 100644 --- a/apis/autoscalingplans/v1beta1/zz_generated.deepcopy.go +++ b/apis/autoscalingplans/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -105,7 +104,8 @@ func (in *CustomizedLoadMetricSpecificationInitParameters) DeepCopyInto(out *Cus if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -155,7 +155,8 @@ func (in *CustomizedLoadMetricSpecificationObservation) DeepCopyInto(out *Custom if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -205,7 +206,8 @@ func (in *CustomizedLoadMetricSpecificationParameters) DeepCopyInto(out *Customi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -255,7 +257,8 @@ func (in *CustomizedScalingMetricSpecificationInitParameters) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -305,7 +308,8 @@ func (in *CustomizedScalingMetricSpecificationObservation) DeepCopyInto(out *Cus if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -355,7 +359,8 @@ func (in *CustomizedScalingMetricSpecificationParameters) DeepCopyInto(out *Cust if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/autoscalingplans/v1beta1/zz_generated.managed.go b/apis/autoscalingplans/v1beta1/zz_generated.managed.go index cfe768663e..e7778cc117 100644 --- a/apis/autoscalingplans/v1beta1/zz_generated.managed.go +++ b/apis/autoscalingplans/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ScalingPlan) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ScalingPlan. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ScalingPlan) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ScalingPlan. func (mg *ScalingPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ScalingPlan) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ScalingPlan. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ScalingPlan) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ScalingPlan. func (mg *ScalingPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/autoscalingplans/v1beta1/zz_scalingplan_types.go b/apis/autoscalingplans/v1beta1/zz_scalingplan_types.go index 26aa446f84..11a7a0fd73 100755 --- a/apis/autoscalingplans/v1beta1/zz_scalingplan_types.go +++ b/apis/autoscalingplans/v1beta1/zz_scalingplan_types.go @@ -588,9 +588,9 @@ type ScalingPlanStatus struct { type ScalingPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.applicationSource) || has(self.initProvider.applicationSource)",message="applicationSource is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalingInstruction) || has(self.initProvider.scalingInstruction)",message="scalingInstruction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.applicationSource) || (has(self.initProvider) && has(self.initProvider.applicationSource))",message="spec.forProvider.applicationSource is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalingInstruction) || (has(self.initProvider) && has(self.initProvider.scalingInstruction))",message="spec.forProvider.scalingInstruction is a required parameter" Spec ScalingPlanSpec `json:"spec"` Status ScalingPlanStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_framework_types.go b/apis/backup/v1beta1/zz_framework_types.go index dab0892cba..6e51106184 100755 --- a/apis/backup/v1beta1/zz_framework_types.go +++ b/apis/backup/v1beta1/zz_framework_types.go @@ -228,8 +228,8 @@ type FrameworkStatus struct { type Framework struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.control) || has(self.initProvider.control)",message="control is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.control) || (has(self.initProvider) && has(self.initProvider.control))",message="spec.forProvider.control is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FrameworkSpec `json:"spec"` Status FrameworkStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_generated.deepcopy.go b/apis/backup/v1beta1/zz_generated.deepcopy.go index cb476c2313..5380211e4e 100644 --- a/apis/backup/v1beta1/zz_generated.deepcopy.go +++ b/apis/backup/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -25,7 +24,8 @@ func (in *AdvancedBackupSettingInitParameters) DeepCopyInto(out *AdvancedBackupS if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -60,7 +60,8 @@ func (in *AdvancedBackupSettingObservation) DeepCopyInto(out *AdvancedBackupSett if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -95,7 +96,8 @@ func (in *AdvancedBackupSettingParameters) DeepCopyInto(out *AdvancedBackupSetti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -486,7 +488,8 @@ func (in *FrameworkInitParameters) DeepCopyInto(out *FrameworkInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -590,7 +593,8 @@ func (in *FrameworkObservation) DeepCopyInto(out *FrameworkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -605,7 +609,8 @@ func (in *FrameworkObservation) DeepCopyInto(out *FrameworkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -657,7 +662,8 @@ func (in *FrameworkParameters) DeepCopyInto(out *FrameworkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -749,7 +755,8 @@ func (in *GlobalSettingsInitParameters) DeepCopyInto(out *GlobalSettingsInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -811,7 +818,8 @@ func (in *GlobalSettingsObservation) DeepCopyInto(out *GlobalSettingsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -846,7 +854,8 @@ func (in *GlobalSettingsParameters) DeepCopyInto(out *GlobalSettingsParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1112,7 +1121,8 @@ func (in *PlanInitParameters) DeepCopyInto(out *PlanInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1203,7 +1213,8 @@ func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1218,7 +1229,8 @@ func (in *PlanObservation) DeepCopyInto(out *PlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1277,7 +1289,8 @@ func (in *PlanParameters) DeepCopyInto(out *PlanParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1369,7 +1382,8 @@ func (in *RegionSettingsInitParameters) DeepCopyInto(out *RegionSettingsInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1384,7 +1398,8 @@ func (in *RegionSettingsInitParameters) DeepCopyInto(out *RegionSettingsInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1451,7 +1466,8 @@ func (in *RegionSettingsObservation) DeepCopyInto(out *RegionSettingsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1466,7 +1482,8 @@ func (in *RegionSettingsObservation) DeepCopyInto(out *RegionSettingsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1501,7 +1518,8 @@ func (in *RegionSettingsParameters) DeepCopyInto(out *RegionSettingsParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1516,7 +1534,8 @@ func (in *RegionSettingsParameters) DeepCopyInto(out *RegionSettingsParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(bool) **out = **in } @@ -1740,7 +1759,8 @@ func (in *ReportPlanInitParameters) DeepCopyInto(out *ReportPlanInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1846,7 +1866,8 @@ func (in *ReportPlanObservation) DeepCopyInto(out *ReportPlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1861,7 +1882,8 @@ func (in *ReportPlanObservation) DeepCopyInto(out *ReportPlanObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1920,7 +1942,8 @@ func (in *ReportPlanParameters) DeepCopyInto(out *ReportPlanParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2216,7 +2239,8 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2360,7 +2384,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2434,7 +2459,8 @@ func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2516,7 +2542,8 @@ func (in *ScopeInitParameters) DeepCopyInto(out *ScopeInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2568,7 +2595,8 @@ func (in *ScopeObservation) DeepCopyInto(out *ScopeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2620,7 +2648,8 @@ func (in *ScopeParameters) DeepCopyInto(out *ScopeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3384,7 +3413,8 @@ func (in *VaultInitParameters) DeepCopyInto(out *VaultInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3917,7 +3947,8 @@ func (in *VaultObservation) DeepCopyInto(out *VaultObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3932,7 +3963,8 @@ func (in *VaultObservation) DeepCopyInto(out *VaultObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3987,7 +4019,8 @@ func (in *VaultParameters) DeepCopyInto(out *VaultParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/backup/v1beta1/zz_generated.managed.go b/apis/backup/v1beta1/zz_generated.managed.go index 938f5e4ed9..b34aedfd46 100644 --- a/apis/backup/v1beta1/zz_generated.managed.go +++ b/apis/backup/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Framework) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Framework. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Framework) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Framework. func (mg *Framework) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Framework) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Framework. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Framework) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Framework. func (mg *Framework) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *GlobalSettings) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalSettings. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalSettings) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalSettings. func (mg *GlobalSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *GlobalSettings) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalSettings. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalSettings) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalSettings. func (mg *GlobalSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Plan) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Plan. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Plan) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Plan. func (mg *Plan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Plan) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Plan. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Plan) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Plan. func (mg *Plan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *RegionSettings) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegionSettings. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegionSettings) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegionSettings. func (mg *RegionSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *RegionSettings) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegionSettings. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegionSettings) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegionSettings. func (mg *RegionSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ReportPlan) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReportPlan. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReportPlan) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReportPlan. func (mg *ReportPlan) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ReportPlan) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReportPlan. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReportPlan) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReportPlan. func (mg *ReportPlan) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Selection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Selection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Selection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Selection. func (mg *Selection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Selection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Selection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Selection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Selection. func (mg *Selection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Vault) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Vault. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Vault) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Vault. func (mg *Vault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Vault) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Vault. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Vault) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Vault. func (mg *Vault) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *VaultLockConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VaultLockConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VaultLockConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VaultLockConfiguration. func (mg *VaultLockConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *VaultLockConfiguration) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VaultLockConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VaultLockConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VaultLockConfiguration. func (mg *VaultLockConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *VaultNotifications) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VaultNotifications. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VaultNotifications) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VaultNotifications. func (mg *VaultNotifications) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *VaultNotifications) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VaultNotifications. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VaultNotifications) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VaultNotifications. func (mg *VaultNotifications) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *VaultPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VaultPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VaultPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VaultPolicy. func (mg *VaultPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *VaultPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VaultPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VaultPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VaultPolicy. func (mg *VaultPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/backup/v1beta1/zz_globalsettings_types.go b/apis/backup/v1beta1/zz_globalsettings_types.go index 6d3f94936b..9e71d07a41 100755 --- a/apis/backup/v1beta1/zz_globalsettings_types.go +++ b/apis/backup/v1beta1/zz_globalsettings_types.go @@ -76,7 +76,7 @@ type GlobalSettingsStatus struct { type GlobalSettings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.globalSettings) || has(self.initProvider.globalSettings)",message="globalSettings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.globalSettings) || (has(self.initProvider) && has(self.initProvider.globalSettings))",message="spec.forProvider.globalSettings is a required parameter" Spec GlobalSettingsSpec `json:"spec"` Status GlobalSettingsStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_plan_types.go b/apis/backup/v1beta1/zz_plan_types.go index e477def354..c4685774f9 100755 --- a/apis/backup/v1beta1/zz_plan_types.go +++ b/apis/backup/v1beta1/zz_plan_types.go @@ -336,8 +336,8 @@ type PlanStatus struct { type Plan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec PlanSpec `json:"spec"` Status PlanStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_regionsettings_types.go b/apis/backup/v1beta1/zz_regionsettings_types.go index 26f0b86448..02fa142d5b 100755 --- a/apis/backup/v1beta1/zz_regionsettings_types.go +++ b/apis/backup/v1beta1/zz_regionsettings_types.go @@ -98,7 +98,7 @@ type RegionSettingsStatus struct { type RegionSettings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceTypeOptInPreference) || has(self.initProvider.resourceTypeOptInPreference)",message="resourceTypeOptInPreference is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceTypeOptInPreference) || (has(self.initProvider) && has(self.initProvider.resourceTypeOptInPreference))",message="spec.forProvider.resourceTypeOptInPreference is a required parameter" Spec RegionSettingsSpec `json:"spec"` Status RegionSettingsStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_reportplan_types.go b/apis/backup/v1beta1/zz_reportplan_types.go index 605e722fc6..0c41daeab5 100755 --- a/apis/backup/v1beta1/zz_reportplan_types.go +++ b/apis/backup/v1beta1/zz_reportplan_types.go @@ -236,9 +236,9 @@ type ReportPlanStatus struct { type ReportPlan struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reportDeliveryChannel) || has(self.initProvider.reportDeliveryChannel)",message="reportDeliveryChannel is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reportSetting) || has(self.initProvider.reportSetting)",message="reportSetting is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reportDeliveryChannel) || (has(self.initProvider) && has(self.initProvider.reportDeliveryChannel))",message="spec.forProvider.reportDeliveryChannel is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reportSetting) || (has(self.initProvider) && has(self.initProvider.reportSetting))",message="spec.forProvider.reportSetting is a required parameter" Spec ReportPlanSpec `json:"spec"` Status ReportPlanStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_selection_types.go b/apis/backup/v1beta1/zz_selection_types.go index c0b2121897..1c776dfcf3 100755 --- a/apis/backup/v1beta1/zz_selection_types.go +++ b/apis/backup/v1beta1/zz_selection_types.go @@ -339,7 +339,7 @@ type SelectionStatus struct { type Selection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SelectionSpec `json:"spec"` Status SelectionStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_vaultnotifications_types.go b/apis/backup/v1beta1/zz_vaultnotifications_types.go index 131b06fb9f..ced3eb14fc 100755 --- a/apis/backup/v1beta1/zz_vaultnotifications_types.go +++ b/apis/backup/v1beta1/zz_vaultnotifications_types.go @@ -112,7 +112,7 @@ type VaultNotificationsStatus struct { type VaultNotifications struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.backupVaultEvents) || has(self.initProvider.backupVaultEvents)",message="backupVaultEvents is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.backupVaultEvents) || (has(self.initProvider) && has(self.initProvider.backupVaultEvents))",message="spec.forProvider.backupVaultEvents is a required parameter" Spec VaultNotificationsSpec `json:"spec"` Status VaultNotificationsStatus `json:"status,omitempty"` } diff --git a/apis/backup/v1beta1/zz_vaultpolicy_types.go b/apis/backup/v1beta1/zz_vaultpolicy_types.go index 2247c79554..1f7595f5bb 100755 --- a/apis/backup/v1beta1/zz_vaultpolicy_types.go +++ b/apis/backup/v1beta1/zz_vaultpolicy_types.go @@ -95,7 +95,7 @@ type VaultPolicyStatus struct { type VaultPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec VaultPolicySpec `json:"spec"` Status VaultPolicyStatus `json:"status,omitempty"` } diff --git a/apis/batch/v1beta1/zz_generated.deepcopy.go b/apis/batch/v1beta1/zz_generated.deepcopy.go index 6dd968bd93..0133caa784 100644 --- a/apis/batch/v1beta1/zz_generated.deepcopy.go +++ b/apis/batch/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -154,7 +153,8 @@ func (in *SchedulingPolicyInitParameters) DeepCopyInto(out *SchedulingPolicyInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -233,7 +233,8 @@ func (in *SchedulingPolicyObservation) DeepCopyInto(out *SchedulingPolicyObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -248,7 +249,8 @@ func (in *SchedulingPolicyObservation) DeepCopyInto(out *SchedulingPolicyObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -290,7 +292,8 @@ func (in *SchedulingPolicyParameters) DeepCopyInto(out *SchedulingPolicyParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/batch/v1beta1/zz_generated.managed.go b/apis/batch/v1beta1/zz_generated.managed.go index 6fad1b23fe..ab8be3da76 100644 --- a/apis/batch/v1beta1/zz_generated.managed.go +++ b/apis/batch/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *SchedulingPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SchedulingPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SchedulingPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SchedulingPolicy. func (mg *SchedulingPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *SchedulingPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SchedulingPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SchedulingPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SchedulingPolicy. func (mg *SchedulingPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/budgets/v1beta1/zz_budget_types.go b/apis/budgets/v1beta1/zz_budget_types.go index 320253e8b2..2a8c4412a1 100755 --- a/apis/budgets/v1beta1/zz_budget_types.go +++ b/apis/budgets/v1beta1/zz_budget_types.go @@ -491,8 +491,8 @@ type BudgetStatus struct { type Budget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.budgetType) || has(self.initProvider.budgetType)",message="budgetType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeUnit) || has(self.initProvider.timeUnit)",message="timeUnit is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.budgetType) || (has(self.initProvider) && has(self.initProvider.budgetType))",message="spec.forProvider.budgetType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeUnit) || (has(self.initProvider) && has(self.initProvider.timeUnit))",message="spec.forProvider.timeUnit is a required parameter" Spec BudgetSpec `json:"spec"` Status BudgetStatus `json:"status,omitempty"` } diff --git a/apis/budgets/v1beta1/zz_budgetaction_types.go b/apis/budgets/v1beta1/zz_budgetaction_types.go index 3881fc8d1c..515c68696a 100755 --- a/apis/budgets/v1beta1/zz_budgetaction_types.go +++ b/apis/budgets/v1beta1/zz_budgetaction_types.go @@ -397,12 +397,12 @@ type BudgetActionStatus struct { type BudgetAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionThreshold) || has(self.initProvider.actionThreshold)",message="actionThreshold is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionType) || has(self.initProvider.actionType)",message="actionType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.approvalModel) || has(self.initProvider.approvalModel)",message="approvalModel is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || has(self.initProvider.definition)",message="definition is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notificationType) || has(self.initProvider.notificationType)",message="notificationType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriber) || has(self.initProvider.subscriber)",message="subscriber is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionThreshold) || (has(self.initProvider) && has(self.initProvider.actionThreshold))",message="spec.forProvider.actionThreshold is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actionType) || (has(self.initProvider) && has(self.initProvider.actionType))",message="spec.forProvider.actionType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.approvalModel) || (has(self.initProvider) && has(self.initProvider.approvalModel))",message="spec.forProvider.approvalModel is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notificationType) || (has(self.initProvider) && has(self.initProvider.notificationType))",message="spec.forProvider.notificationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subscriber) || (has(self.initProvider) && has(self.initProvider.subscriber))",message="spec.forProvider.subscriber is a required parameter" Spec BudgetActionSpec `json:"spec"` Status BudgetActionStatus `json:"status,omitempty"` } diff --git a/apis/budgets/v1beta1/zz_generated.deepcopy.go b/apis/budgets/v1beta1/zz_generated.deepcopy.go index 0b7d7ce964..e916042153 100644 --- a/apis/budgets/v1beta1/zz_generated.deepcopy.go +++ b/apis/budgets/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -564,7 +563,8 @@ func (in *BudgetInitParameters) DeepCopyInto(out *BudgetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -701,7 +701,8 @@ func (in *BudgetObservation) DeepCopyInto(out *BudgetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -806,7 +807,8 @@ func (in *BudgetParameters) DeepCopyInto(out *BudgetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/budgets/v1beta1/zz_generated.managed.go b/apis/budgets/v1beta1/zz_generated.managed.go index f373ddb8c3..67a5412ad0 100644 --- a/apis/budgets/v1beta1/zz_generated.managed.go +++ b/apis/budgets/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Budget) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Budget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Budget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Budget. func (mg *Budget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Budget) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Budget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Budget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Budget. func (mg *Budget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *BudgetAction) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BudgetAction. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BudgetAction) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BudgetAction. func (mg *BudgetAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *BudgetAction) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BudgetAction. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BudgetAction) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BudgetAction. func (mg *BudgetAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ce/v1beta1/zz_anomalymonitor_types.go b/apis/ce/v1beta1/zz_anomalymonitor_types.go index 8f9d9f213d..3650ee9a7a 100755 --- a/apis/ce/v1beta1/zz_anomalymonitor_types.go +++ b/apis/ce/v1beta1/zz_anomalymonitor_types.go @@ -122,8 +122,8 @@ type AnomalyMonitorStatus struct { type AnomalyMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.monitorType) || has(self.initProvider.monitorType)",message="monitorType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.monitorType) || (has(self.initProvider) && has(self.initProvider.monitorType))",message="spec.forProvider.monitorType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AnomalyMonitorSpec `json:"spec"` Status AnomalyMonitorStatus `json:"status,omitempty"` } diff --git a/apis/ce/v1beta1/zz_generated.deepcopy.go b/apis/ce/v1beta1/zz_generated.deepcopy.go index fc9f637a40..c9583dac0f 100644 --- a/apis/ce/v1beta1/zz_generated.deepcopy.go +++ b/apis/ce/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -71,7 +70,8 @@ func (in *AnomalyMonitorInitParameters) DeepCopyInto(out *AnomalyMonitorInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -163,7 +163,8 @@ func (in *AnomalyMonitorObservation) DeepCopyInto(out *AnomalyMonitorObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -178,7 +179,8 @@ func (in *AnomalyMonitorObservation) DeepCopyInto(out *AnomalyMonitorObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -233,7 +235,8 @@ func (in *AnomalyMonitorParameters) DeepCopyInto(out *AnomalyMonitorParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ce/v1beta1/zz_generated.managed.go b/apis/ce/v1beta1/zz_generated.managed.go index c7ff353b10..3aacd41ff5 100644 --- a/apis/ce/v1beta1/zz_generated.managed.go +++ b/apis/ce/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AnomalyMonitor) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AnomalyMonitor. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AnomalyMonitor) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AnomalyMonitor. func (mg *AnomalyMonitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AnomalyMonitor) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AnomalyMonitor. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AnomalyMonitor) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AnomalyMonitor. func (mg *AnomalyMonitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/chime/v1beta1/zz_generated.deepcopy.go b/apis/chime/v1beta1/zz_generated.deepcopy.go index 270fadb29f..c3c7a6755f 100644 --- a/apis/chime/v1beta1/zz_generated.deepcopy.go +++ b/apis/chime/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/chime/v1beta1/zz_generated.managed.go b/apis/chime/v1beta1/zz_generated.managed.go index 6a2bfc842c..1920dbc571 100644 --- a/apis/chime/v1beta1/zz_generated.managed.go +++ b/apis/chime/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *VoiceConnector) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnector. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnector) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnector. func (mg *VoiceConnector) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *VoiceConnector) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnector. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnector) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnector. func (mg *VoiceConnector) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *VoiceConnectorGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorGroup. func (mg *VoiceConnectorGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *VoiceConnectorGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorGroup. func (mg *VoiceConnectorGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *VoiceConnectorLogging) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorLogging. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorLogging) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorLogging. func (mg *VoiceConnectorLogging) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *VoiceConnectorLogging) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorLogging. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorLogging) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorLogging. func (mg *VoiceConnectorLogging) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *VoiceConnectorOrigination) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorOrigination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorOrigination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorOrigination. func (mg *VoiceConnectorOrigination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *VoiceConnectorOrigination) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorOrigination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorOrigination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorOrigination. func (mg *VoiceConnectorOrigination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *VoiceConnectorStreaming) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorStreaming. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorStreaming) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorStreaming. func (mg *VoiceConnectorStreaming) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *VoiceConnectorStreaming) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorStreaming. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorStreaming) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorStreaming. func (mg *VoiceConnectorStreaming) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *VoiceConnectorTermination) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorTermination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorTermination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorTermination. func (mg *VoiceConnectorTermination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *VoiceConnectorTermination) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorTermination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorTermination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorTermination. func (mg *VoiceConnectorTermination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *VoiceConnectorTerminationCredentials) GetProviderConfigReference() *xp return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VoiceConnectorTerminationCredentials. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VoiceConnectorTerminationCredentials) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VoiceConnectorTerminationCredentials. func (mg *VoiceConnectorTerminationCredentials) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *VoiceConnectorTerminationCredentials) SetProviderConfigReference(r *xp mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VoiceConnectorTerminationCredentials. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VoiceConnectorTerminationCredentials) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VoiceConnectorTerminationCredentials. func (mg *VoiceConnectorTerminationCredentials) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/chime/v1beta1/zz_voiceconnector_types.go b/apis/chime/v1beta1/zz_voiceconnector_types.go index d7e75c4fa7..1430212248 100755 --- a/apis/chime/v1beta1/zz_voiceconnector_types.go +++ b/apis/chime/v1beta1/zz_voiceconnector_types.go @@ -88,7 +88,7 @@ type VoiceConnectorStatus struct { type VoiceConnector struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.requireEncryption) || has(self.initProvider.requireEncryption)",message="requireEncryption is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.requireEncryption) || (has(self.initProvider) && has(self.initProvider.requireEncryption))",message="spec.forProvider.requireEncryption is a required parameter" Spec VoiceConnectorSpec `json:"spec"` Status VoiceConnectorStatus `json:"status,omitempty"` } diff --git a/apis/chime/v1beta1/zz_voiceconnectororigination_types.go b/apis/chime/v1beta1/zz_voiceconnectororigination_types.go index 75a76c1fc6..770e664fb6 100755 --- a/apis/chime/v1beta1/zz_voiceconnectororigination_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectororigination_types.go @@ -162,7 +162,7 @@ type VoiceConnectorOriginationStatus struct { type VoiceConnectorOrigination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.route) || has(self.initProvider.route)",message="route is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.route) || (has(self.initProvider) && has(self.initProvider.route))",message="spec.forProvider.route is a required parameter" Spec VoiceConnectorOriginationSpec `json:"spec"` Status VoiceConnectorOriginationStatus `json:"status,omitempty"` } diff --git a/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go b/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go index 7408b528b0..b7b67021c8 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorstreaming_types.go @@ -152,7 +152,7 @@ type VoiceConnectorStreamingStatus struct { type VoiceConnectorStreaming struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataRetention) || has(self.initProvider.dataRetention)",message="dataRetention is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataRetention) || (has(self.initProvider) && has(self.initProvider.dataRetention))",message="spec.forProvider.dataRetention is a required parameter" Spec VoiceConnectorStreamingSpec `json:"spec"` Status VoiceConnectorStreamingStatus `json:"status,omitempty"` } diff --git a/apis/chime/v1beta1/zz_voiceconnectortermination_types.go b/apis/chime/v1beta1/zz_voiceconnectortermination_types.go index 799a450c3f..30f8197845 100755 --- a/apis/chime/v1beta1/zz_voiceconnectortermination_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectortermination_types.go @@ -133,8 +133,8 @@ type VoiceConnectorTerminationStatus struct { type VoiceConnectorTermination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.callingRegions) || has(self.initProvider.callingRegions)",message="callingRegions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidrAllowList) || has(self.initProvider.cidrAllowList)",message="cidrAllowList is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.callingRegions) || (has(self.initProvider) && has(self.initProvider.callingRegions))",message="spec.forProvider.callingRegions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidrAllowList) || (has(self.initProvider) && has(self.initProvider.cidrAllowList))",message="spec.forProvider.cidrAllowList is a required parameter" Spec VoiceConnectorTerminationSpec `json:"spec"` Status VoiceConnectorTerminationStatus `json:"status,omitempty"` } diff --git a/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go b/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go index 162977b365..7087c6857c 100755 --- a/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go +++ b/apis/chime/v1beta1/zz_voiceconnectorterminationcredentials_types.go @@ -116,7 +116,7 @@ type VoiceConnectorTerminationCredentialsStatus struct { type VoiceConnectorTerminationCredentials struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.credentials) || has(self.initProvider.credentials)",message="credentials is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.credentials) || (has(self.initProvider) && has(self.initProvider.credentials))",message="spec.forProvider.credentials is a required parameter" Spec VoiceConnectorTerminationCredentialsSpec `json:"spec"` Status VoiceConnectorTerminationCredentialsStatus `json:"status,omitempty"` } diff --git a/apis/cloud9/v1beta1/zz_environmentec2_types.go b/apis/cloud9/v1beta1/zz_environmentec2_types.go index 6eecd6c8b7..60a2f4af7e 100755 --- a/apis/cloud9/v1beta1/zz_environmentec2_types.go +++ b/apis/cloud9/v1beta1/zz_environmentec2_types.go @@ -171,8 +171,8 @@ type EnvironmentEC2Status struct { type EnvironmentEC2 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec EnvironmentEC2Spec `json:"spec"` Status EnvironmentEC2Status `json:"status,omitempty"` } diff --git a/apis/cloud9/v1beta1/zz_environmentmembership_types.go b/apis/cloud9/v1beta1/zz_environmentmembership_types.go index afcd802566..e0fed8bc9c 100755 --- a/apis/cloud9/v1beta1/zz_environmentmembership_types.go +++ b/apis/cloud9/v1beta1/zz_environmentmembership_types.go @@ -113,7 +113,7 @@ type EnvironmentMembershipStatus struct { type EnvironmentMembership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissions) || has(self.initProvider.permissions)",message="permissions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissions) || (has(self.initProvider) && has(self.initProvider.permissions))",message="spec.forProvider.permissions is a required parameter" Spec EnvironmentMembershipSpec `json:"spec"` Status EnvironmentMembershipStatus `json:"status,omitempty"` } diff --git a/apis/cloud9/v1beta1/zz_generated.deepcopy.go b/apis/cloud9/v1beta1/zz_generated.deepcopy.go index 68cb76bb53..79216487fd 100644 --- a/apis/cloud9/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloud9/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -87,7 +86,8 @@ func (in *EnvironmentEC2InitParameters) DeepCopyInto(out *EnvironmentEC2InitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -199,7 +199,8 @@ func (in *EnvironmentEC2Observation) DeepCopyInto(out *EnvironmentEC2Observation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -214,7 +215,8 @@ func (in *EnvironmentEC2Observation) DeepCopyInto(out *EnvironmentEC2Observation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -304,7 +306,8 @@ func (in *EnvironmentEC2Parameters) DeepCopyInto(out *EnvironmentEC2Parameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloud9/v1beta1/zz_generated.managed.go b/apis/cloud9/v1beta1/zz_generated.managed.go index 561615b0a8..597f49d188 100644 --- a/apis/cloud9/v1beta1/zz_generated.managed.go +++ b/apis/cloud9/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *EnvironmentEC2) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EnvironmentEC2. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EnvironmentEC2) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EnvironmentEC2. func (mg *EnvironmentEC2) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *EnvironmentEC2) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EnvironmentEC2. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EnvironmentEC2) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EnvironmentEC2. func (mg *EnvironmentEC2) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *EnvironmentMembership) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EnvironmentMembership. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EnvironmentMembership) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EnvironmentMembership. func (mg *EnvironmentMembership) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *EnvironmentMembership) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EnvironmentMembership. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EnvironmentMembership) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EnvironmentMembership. func (mg *EnvironmentMembership) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go b/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go index 0a914a3d39..edee706205 100644 --- a/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudcontrol/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/cloudcontrol/v1beta1/zz_generated.managed.go b/apis/cloudcontrol/v1beta1/zz_generated.managed.go index 40d2e99c6d..7697fef192 100644 --- a/apis/cloudcontrol/v1beta1/zz_generated.managed.go +++ b/apis/cloudcontrol/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Resource) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Resource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Resource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Resource. func (mg *Resource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Resource) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Resource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Resource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Resource. func (mg *Resource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudcontrol/v1beta1/zz_resource_types.go b/apis/cloudcontrol/v1beta1/zz_resource_types.go index c82216c45c..bf3daff724 100755 --- a/apis/cloudcontrol/v1beta1/zz_resource_types.go +++ b/apis/cloudcontrol/v1beta1/zz_resource_types.go @@ -119,8 +119,8 @@ type ResourceStatus struct { type Resource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.desiredState) || has(self.initProvider.desiredState)",message="desiredState is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.typeName) || has(self.initProvider.typeName)",message="typeName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.desiredState) || (has(self.initProvider) && has(self.initProvider.desiredState))",message="spec.forProvider.desiredState is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.typeName) || (has(self.initProvider) && has(self.initProvider.typeName))",message="spec.forProvider.typeName is a required parameter" Spec ResourceSpec `json:"spec"` Status ResourceStatus `json:"status,omitempty"` } diff --git a/apis/cloudformation/v1beta1/zz_generated.deepcopy.go b/apis/cloudformation/v1beta1/zz_generated.deepcopy.go index f1d5a79696..70ff5153b9 100644 --- a/apis/cloudformation/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudformation/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -312,7 +311,8 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -337,7 +337,8 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -461,7 +462,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -476,7 +478,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -501,7 +504,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -516,7 +520,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -613,7 +618,8 @@ func (in *StackParameters) DeepCopyInto(out *StackParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -643,7 +649,8 @@ func (in *StackParameters) DeepCopyInto(out *StackParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -755,7 +762,8 @@ func (in *StackSetInitParameters) DeepCopyInto(out *StackSetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -775,7 +783,8 @@ func (in *StackSetInitParameters) DeepCopyInto(out *StackSetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -902,7 +911,8 @@ func (in *StackSetObservation) DeepCopyInto(out *StackSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -927,7 +937,8 @@ func (in *StackSetObservation) DeepCopyInto(out *StackSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -942,7 +953,8 @@ func (in *StackSetObservation) DeepCopyInto(out *StackSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1037,7 +1049,8 @@ func (in *StackSetParameters) DeepCopyInto(out *StackSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1062,7 +1075,8 @@ func (in *StackSetParameters) DeepCopyInto(out *StackSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudformation/v1beta1/zz_generated.managed.go b/apis/cloudformation/v1beta1/zz_generated.managed.go index 41825d1a4f..3e6c6b206f 100644 --- a/apis/cloudformation/v1beta1/zz_generated.managed.go +++ b/apis/cloudformation/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Stack) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stack. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stack) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stack. func (mg *Stack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Stack) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stack. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stack) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stack. func (mg *Stack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *StackSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StackSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StackSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StackSet. func (mg *StackSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *StackSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StackSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StackSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StackSet. func (mg *StackSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudfront/v1beta1/zz_cachepolicy_types.go b/apis/cloudfront/v1beta1/zz_cachepolicy_types.go index 72096fe1f0..639a213858 100755 --- a/apis/cloudfront/v1beta1/zz_cachepolicy_types.go +++ b/apis/cloudfront/v1beta1/zz_cachepolicy_types.go @@ -332,8 +332,8 @@ type CachePolicyStatus struct { type CachePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parametersInCacheKeyAndForwardedToOrigin) || has(self.initProvider.parametersInCacheKeyAndForwardedToOrigin)",message="parametersInCacheKeyAndForwardedToOrigin is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parametersInCacheKeyAndForwardedToOrigin) || (has(self.initProvider) && has(self.initProvider.parametersInCacheKeyAndForwardedToOrigin))",message="spec.forProvider.parametersInCacheKeyAndForwardedToOrigin is a required parameter" Spec CachePolicySpec `json:"spec"` Status CachePolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_distribution_types.go b/apis/cloudfront/v1beta1/zz_distribution_types.go index 44a180ab47..7cf439ac22 100755 --- a/apis/cloudfront/v1beta1/zz_distribution_types.go +++ b/apis/cloudfront/v1beta1/zz_distribution_types.go @@ -1591,11 +1591,11 @@ type DistributionStatus struct { type Distribution struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultCacheBehavior) || has(self.initProvider.defaultCacheBehavior)",message="defaultCacheBehavior is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || has(self.initProvider.enabled)",message="enabled is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.origin) || has(self.initProvider.origin)",message="origin is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.restrictions) || has(self.initProvider.restrictions)",message="restrictions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.viewerCertificate) || has(self.initProvider.viewerCertificate)",message="viewerCertificate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultCacheBehavior) || (has(self.initProvider) && has(self.initProvider.defaultCacheBehavior))",message="spec.forProvider.defaultCacheBehavior is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || (has(self.initProvider) && has(self.initProvider.enabled))",message="spec.forProvider.enabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.origin) || (has(self.initProvider) && has(self.initProvider.origin))",message="spec.forProvider.origin is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.restrictions) || (has(self.initProvider) && has(self.initProvider.restrictions))",message="spec.forProvider.restrictions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.viewerCertificate) || (has(self.initProvider) && has(self.initProvider.viewerCertificate))",message="spec.forProvider.viewerCertificate is a required parameter" Spec DistributionSpec `json:"spec"` Status DistributionStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go index 203ed4c9a4..b9f6bd259c 100755 --- a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go +++ b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionconfig_types.go @@ -263,8 +263,8 @@ type FieldLevelEncryptionConfigStatus struct { type FieldLevelEncryptionConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentTypeProfileConfig) || has(self.initProvider.contentTypeProfileConfig)",message="contentTypeProfileConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryArgProfileConfig) || has(self.initProvider.queryArgProfileConfig)",message="queryArgProfileConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.contentTypeProfileConfig) || (has(self.initProvider) && has(self.initProvider.contentTypeProfileConfig))",message="spec.forProvider.contentTypeProfileConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryArgProfileConfig) || (has(self.initProvider) && has(self.initProvider.queryArgProfileConfig))",message="spec.forProvider.queryArgProfileConfig is a required parameter" Spec FieldLevelEncryptionConfigSpec `json:"spec"` Status FieldLevelEncryptionConfigStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go index 0189e119b6..2f9cccc74a 100755 --- a/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go +++ b/apis/cloudfront/v1beta1/zz_fieldlevelencryptionprofile_types.go @@ -176,8 +176,8 @@ type FieldLevelEncryptionProfileStatus struct { type FieldLevelEncryptionProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encryptionEntities) || has(self.initProvider.encryptionEntities)",message="encryptionEntities is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encryptionEntities) || (has(self.initProvider) && has(self.initProvider.encryptionEntities))",message="spec.forProvider.encryptionEntities is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FieldLevelEncryptionProfileSpec `json:"spec"` Status FieldLevelEncryptionProfileStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_function_types.go b/apis/cloudfront/v1beta1/zz_function_types.go index 2d29193091..382861b0d0 100755 --- a/apis/cloudfront/v1beta1/zz_function_types.go +++ b/apis/cloudfront/v1beta1/zz_function_types.go @@ -111,8 +111,8 @@ type FunctionStatus struct { type Function struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.codeSecretRef)",message="codeSecretRef is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.runtime) || has(self.initProvider.runtime)",message="runtime is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.codeSecretRef)",message="spec.forProvider.codeSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.runtime) || (has(self.initProvider) && has(self.initProvider.runtime))",message="spec.forProvider.runtime is a required parameter" Spec FunctionSpec `json:"spec"` Status FunctionStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_generated.deepcopy.go b/apis/cloudfront/v1beta1/zz_generated.deepcopy.go index 1ffd5c8361..7573d75d16 100644 --- a/apis/cloudfront/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudfront/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -2401,7 +2400,8 @@ func (in *DistributionInitParameters) DeepCopyInto(out *DistributionInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2620,7 +2620,8 @@ func (in *DistributionObservation) DeepCopyInto(out *DistributionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2635,7 +2636,8 @@ func (in *DistributionObservation) DeepCopyInto(out *DistributionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2796,7 +2798,8 @@ func (in *DistributionParameters) DeepCopyInto(out *DistributionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudfront/v1beta1/zz_generated.managed.go b/apis/cloudfront/v1beta1/zz_generated.managed.go index c8128864d4..bbffdfff1c 100644 --- a/apis/cloudfront/v1beta1/zz_generated.managed.go +++ b/apis/cloudfront/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *CachePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CachePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CachePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CachePolicy. func (mg *CachePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *CachePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CachePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CachePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CachePolicy. func (mg *CachePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Distribution) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Distribution. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Distribution) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Distribution. func (mg *Distribution) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Distribution) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Distribution. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Distribution) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Distribution. func (mg *Distribution) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *FieldLevelEncryptionConfig) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FieldLevelEncryptionConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FieldLevelEncryptionConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FieldLevelEncryptionConfig. func (mg *FieldLevelEncryptionConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *FieldLevelEncryptionConfig) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FieldLevelEncryptionConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FieldLevelEncryptionConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FieldLevelEncryptionConfig. func (mg *FieldLevelEncryptionConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *FieldLevelEncryptionProfile) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FieldLevelEncryptionProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FieldLevelEncryptionProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FieldLevelEncryptionProfile. func (mg *FieldLevelEncryptionProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *FieldLevelEncryptionProfile) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FieldLevelEncryptionProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FieldLevelEncryptionProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FieldLevelEncryptionProfile. func (mg *FieldLevelEncryptionProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Function) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Function. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Function) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Function. func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Function) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Function. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Function) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Function. func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *KeyGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this KeyGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *KeyGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this KeyGroup. func (mg *KeyGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *KeyGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this KeyGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *KeyGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this KeyGroup. func (mg *KeyGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *MonitoringSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MonitoringSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MonitoringSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MonitoringSubscription. func (mg *MonitoringSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *MonitoringSubscription) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MonitoringSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MonitoringSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MonitoringSubscription. func (mg *MonitoringSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *OriginAccessControl) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OriginAccessControl. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OriginAccessControl) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OriginAccessControl. func (mg *OriginAccessControl) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *OriginAccessControl) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OriginAccessControl. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OriginAccessControl) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OriginAccessControl. func (mg *OriginAccessControl) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *OriginAccessIdentity) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OriginAccessIdentity. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OriginAccessIdentity) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OriginAccessIdentity. func (mg *OriginAccessIdentity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *OriginAccessIdentity) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OriginAccessIdentity. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OriginAccessIdentity) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OriginAccessIdentity. func (mg *OriginAccessIdentity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *OriginRequestPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OriginRequestPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OriginRequestPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OriginRequestPolicy. func (mg *OriginRequestPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *OriginRequestPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OriginRequestPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OriginRequestPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OriginRequestPolicy. func (mg *OriginRequestPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *PublicKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PublicKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PublicKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PublicKey. func (mg *PublicKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *PublicKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PublicKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PublicKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PublicKey. func (mg *PublicKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *RealtimeLogConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RealtimeLogConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RealtimeLogConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RealtimeLogConfig. func (mg *RealtimeLogConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *RealtimeLogConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RealtimeLogConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RealtimeLogConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RealtimeLogConfig. func (mg *RealtimeLogConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *ResponseHeadersPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResponseHeadersPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResponseHeadersPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResponseHeadersPolicy. func (mg *ResponseHeadersPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *ResponseHeadersPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResponseHeadersPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResponseHeadersPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResponseHeadersPolicy. func (mg *ResponseHeadersPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudfront/v1beta1/zz_keygroup_types.go b/apis/cloudfront/v1beta1/zz_keygroup_types.go index 9b72f26c2c..ff4849e33f 100755 --- a/apis/cloudfront/v1beta1/zz_keygroup_types.go +++ b/apis/cloudfront/v1beta1/zz_keygroup_types.go @@ -107,7 +107,7 @@ type KeyGroupStatus struct { type KeyGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec KeyGroupSpec `json:"spec"` Status KeyGroupStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go b/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go index 027df65420..b67f49f361 100755 --- a/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go +++ b/apis/cloudfront/v1beta1/zz_monitoringsubscription_types.go @@ -131,7 +131,7 @@ type MonitoringSubscriptionStatus struct { type MonitoringSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.monitoringSubscription) || has(self.initProvider.monitoringSubscription)",message="monitoringSubscription is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.monitoringSubscription) || (has(self.initProvider) && has(self.initProvider.monitoringSubscription))",message="spec.forProvider.monitoringSubscription is a required parameter" Spec MonitoringSubscriptionSpec `json:"spec"` Status MonitoringSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_originaccesscontrol_types.go b/apis/cloudfront/v1beta1/zz_originaccesscontrol_types.go index 9d4439bc7f..90f4b52008 100755 --- a/apis/cloudfront/v1beta1/zz_originaccesscontrol_types.go +++ b/apis/cloudfront/v1beta1/zz_originaccesscontrol_types.go @@ -119,10 +119,10 @@ type OriginAccessControlStatus struct { type OriginAccessControl struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.originAccessControlOriginType) || has(self.initProvider.originAccessControlOriginType)",message="originAccessControlOriginType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingBehavior) || has(self.initProvider.signingBehavior)",message="signingBehavior is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingProtocol) || has(self.initProvider.signingProtocol)",message="signingProtocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.originAccessControlOriginType) || (has(self.initProvider) && has(self.initProvider.originAccessControlOriginType))",message="spec.forProvider.originAccessControlOriginType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingBehavior) || (has(self.initProvider) && has(self.initProvider.signingBehavior))",message="spec.forProvider.signingBehavior is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.signingProtocol) || (has(self.initProvider) && has(self.initProvider.signingProtocol))",message="spec.forProvider.signingProtocol is a required parameter" Spec OriginAccessControlSpec `json:"spec"` Status OriginAccessControlStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_originrequestpolicy_types.go b/apis/cloudfront/v1beta1/zz_originrequestpolicy_types.go index 84df9ee34c..7c2bd917aa 100755 --- a/apis/cloudfront/v1beta1/zz_originrequestpolicy_types.go +++ b/apis/cloudfront/v1beta1/zz_originrequestpolicy_types.go @@ -214,9 +214,9 @@ type OriginRequestPolicyStatus struct { type OriginRequestPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookiesConfig) || has(self.initProvider.cookiesConfig)",message="cookiesConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.headersConfig) || has(self.initProvider.headersConfig)",message="headersConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryStringsConfig) || has(self.initProvider.queryStringsConfig)",message="queryStringsConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookiesConfig) || (has(self.initProvider) && has(self.initProvider.cookiesConfig))",message="spec.forProvider.cookiesConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.headersConfig) || (has(self.initProvider) && has(self.initProvider.headersConfig))",message="spec.forProvider.headersConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryStringsConfig) || (has(self.initProvider) && has(self.initProvider.queryStringsConfig))",message="spec.forProvider.queryStringsConfig is a required parameter" Spec OriginRequestPolicySpec `json:"spec"` Status OriginRequestPolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_publickey_types.go b/apis/cloudfront/v1beta1/zz_publickey_types.go index 53fed6d693..191f25b7c4 100755 --- a/apis/cloudfront/v1beta1/zz_publickey_types.go +++ b/apis/cloudfront/v1beta1/zz_publickey_types.go @@ -96,7 +96,7 @@ type PublicKeyStatus struct { type PublicKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encodedKeySecretRef)",message="encodedKeySecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encodedKeySecretRef)",message="spec.forProvider.encodedKeySecretRef is a required parameter" Spec PublicKeySpec `json:"spec"` Status PublicKeyStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go b/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go index b3e656049f..dbe6595112 100755 --- a/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go +++ b/apis/cloudfront/v1beta1/zz_realtimelogconfig_types.go @@ -183,10 +183,10 @@ type RealtimeLogConfigStatus struct { type RealtimeLogConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpoint) || has(self.initProvider.endpoint)",message="endpoint is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fields) || has(self.initProvider.fields)",message="fields is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.samplingRate) || has(self.initProvider.samplingRate)",message="samplingRate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpoint) || (has(self.initProvider) && has(self.initProvider.endpoint))",message="spec.forProvider.endpoint is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fields) || (has(self.initProvider) && has(self.initProvider.fields))",message="spec.forProvider.fields is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.samplingRate) || (has(self.initProvider) && has(self.initProvider.samplingRate))",message="spec.forProvider.samplingRate is a required parameter" Spec RealtimeLogConfigSpec `json:"spec"` Status RealtimeLogConfigStatus `json:"status,omitempty"` } diff --git a/apis/cloudfront/v1beta1/zz_responseheaderspolicy_types.go b/apis/cloudfront/v1beta1/zz_responseheaderspolicy_types.go index d5e4a9051a..c38ec67b31 100755 --- a/apis/cloudfront/v1beta1/zz_responseheaderspolicy_types.go +++ b/apis/cloudfront/v1beta1/zz_responseheaderspolicy_types.go @@ -669,7 +669,7 @@ type ResponseHeadersPolicyStatus struct { type ResponseHeadersPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ResponseHeadersPolicySpec `json:"spec"` Status ResponseHeadersPolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go b/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go index aa6ce844ce..0b4a8b8f78 100755 --- a/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go +++ b/apis/cloudsearch/v1beta1/zz_domainserviceaccesspolicy_types.go @@ -92,7 +92,7 @@ type DomainServiceAccessPolicyStatus struct { type DomainServiceAccessPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicy) || has(self.initProvider.accessPolicy)",message="accessPolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicy) || (has(self.initProvider) && has(self.initProvider.accessPolicy))",message="spec.forProvider.accessPolicy is a required parameter" Spec DomainServiceAccessPolicySpec `json:"spec"` Status DomainServiceAccessPolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go b/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go index 391386f4ac..37cd322204 100644 --- a/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudsearch/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/cloudsearch/v1beta1/zz_generated.managed.go b/apis/cloudsearch/v1beta1/zz_generated.managed.go index 2320ac1f09..a58bf78f42 100644 --- a/apis/cloudsearch/v1beta1/zz_generated.managed.go +++ b/apis/cloudsearch/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DomainServiceAccessPolicy) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainServiceAccessPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainServiceAccessPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainServiceAccessPolicy. func (mg *DomainServiceAccessPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DomainServiceAccessPolicy) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainServiceAccessPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainServiceAccessPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainServiceAccessPolicy. func (mg *DomainServiceAccessPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go b/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go index 316160ff77..fe816c7043 100755 --- a/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go +++ b/apis/cloudtrail/v1beta1/zz_eventdatastore_types.go @@ -266,7 +266,7 @@ type EventDataStoreStatus struct { type EventDataStore struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec EventDataStoreSpec `json:"spec"` Status EventDataStoreStatus `json:"status,omitempty"` } diff --git a/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go b/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go index 9fda49cbb7..e4a0e99eca 100644 --- a/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudtrail/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -592,7 +591,8 @@ func (in *EventDataStoreInitParameters) DeepCopyInto(out *EventDataStoreInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -701,7 +701,8 @@ func (in *EventDataStoreObservation) DeepCopyInto(out *EventDataStoreObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -716,7 +717,8 @@ func (in *EventDataStoreObservation) DeepCopyInto(out *EventDataStoreObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -798,7 +800,8 @@ func (in *EventDataStoreParameters) DeepCopyInto(out *EventDataStoreParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1403,7 +1406,8 @@ func (in *TrailInitParameters) DeepCopyInto(out *TrailInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1556,7 +1560,8 @@ func (in *TrailObservation) DeepCopyInto(out *TrailObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1571,7 +1576,8 @@ func (in *TrailObservation) DeepCopyInto(out *TrailObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1712,7 +1718,8 @@ func (in *TrailParameters) DeepCopyInto(out *TrailParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudtrail/v1beta1/zz_generated.managed.go b/apis/cloudtrail/v1beta1/zz_generated.managed.go index 6bf9031552..1fb9a34e72 100644 --- a/apis/cloudtrail/v1beta1/zz_generated.managed.go +++ b/apis/cloudtrail/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *EventDataStore) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventDataStore. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventDataStore) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventDataStore. func (mg *EventDataStore) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *EventDataStore) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventDataStore. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventDataStore) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventDataStore. func (mg *EventDataStore) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Trail) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Trail. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Trail) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Trail. func (mg *Trail) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Trail) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Trail. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Trail) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Trail. func (mg *Trail) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudwatch/v1beta1/zz_compositealarm_types.go b/apis/cloudwatch/v1beta1/zz_compositealarm_types.go index 28d3d85fdc..be6a86c409 100755 --- a/apis/cloudwatch/v1beta1/zz_compositealarm_types.go +++ b/apis/cloudwatch/v1beta1/zz_compositealarm_types.go @@ -156,7 +156,7 @@ type CompositeAlarmStatus struct { type CompositeAlarm struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.alarmRule) || has(self.initProvider.alarmRule)",message="alarmRule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.alarmRule) || (has(self.initProvider) && has(self.initProvider.alarmRule))",message="spec.forProvider.alarmRule is a required parameter" Spec CompositeAlarmSpec `json:"spec"` Status CompositeAlarmStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatch/v1beta1/zz_dashboard_types.go b/apis/cloudwatch/v1beta1/zz_dashboard_types.go index 3d3eee2123..5062502f68 100755 --- a/apis/cloudwatch/v1beta1/zz_dashboard_types.go +++ b/apis/cloudwatch/v1beta1/zz_dashboard_types.go @@ -78,7 +78,7 @@ type DashboardStatus struct { type Dashboard struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dashboardBody) || has(self.initProvider.dashboardBody)",message="dashboardBody is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dashboardBody) || (has(self.initProvider) && has(self.initProvider.dashboardBody))",message="spec.forProvider.dashboardBody is a required parameter" Spec DashboardSpec `json:"spec"` Status DashboardStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go index fd2b37f26b..d74a20ade6 100644 --- a/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatch/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -78,7 +77,8 @@ func (in *CompositeAlarmInitParameters) DeepCopyInto(out *CompositeAlarmInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -198,7 +198,8 @@ func (in *CompositeAlarmObservation) DeepCopyInto(out *CompositeAlarmObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -213,7 +214,8 @@ func (in *CompositeAlarmObservation) DeepCopyInto(out *CompositeAlarmObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -320,7 +322,8 @@ func (in *CompositeAlarmParameters) DeepCopyInto(out *CompositeAlarmParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -873,7 +876,8 @@ func (in *MetricAlarmInitParameters) DeepCopyInto(out *MetricAlarmInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -952,7 +956,8 @@ func (in *MetricAlarmInitParameters) DeepCopyInto(out *MetricAlarmInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1070,7 +1075,8 @@ func (in *MetricAlarmObservation) DeepCopyInto(out *MetricAlarmObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1154,7 +1160,8 @@ func (in *MetricAlarmObservation) DeepCopyInto(out *MetricAlarmObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1169,7 +1176,8 @@ func (in *MetricAlarmObservation) DeepCopyInto(out *MetricAlarmObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1250,7 +1258,8 @@ func (in *MetricAlarmParameters) DeepCopyInto(out *MetricAlarmParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1334,7 +1343,8 @@ func (in *MetricAlarmParameters) DeepCopyInto(out *MetricAlarmParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1419,7 +1429,8 @@ func (in *MetricInitParameters) DeepCopyInto(out *MetricInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1474,7 +1485,8 @@ func (in *MetricObservation) DeepCopyInto(out *MetricObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1529,7 +1541,8 @@ func (in *MetricParameters) DeepCopyInto(out *MetricParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1803,7 +1816,8 @@ func (in *MetricStreamInitParameters) DeepCopyInto(out *MetricStreamInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1936,7 +1950,8 @@ func (in *MetricStreamObservation) DeepCopyInto(out *MetricStreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1951,7 +1966,8 @@ func (in *MetricStreamObservation) DeepCopyInto(out *MetricStreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2052,7 +2068,8 @@ func (in *MetricStreamParameters) DeepCopyInto(out *MetricStreamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudwatch/v1beta1/zz_generated.managed.go b/apis/cloudwatch/v1beta1/zz_generated.managed.go index f1d93178dd..626e93266e 100644 --- a/apis/cloudwatch/v1beta1/zz_generated.managed.go +++ b/apis/cloudwatch/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *CompositeAlarm) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CompositeAlarm. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CompositeAlarm) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CompositeAlarm. func (mg *CompositeAlarm) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *CompositeAlarm) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CompositeAlarm. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CompositeAlarm) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CompositeAlarm. func (mg *CompositeAlarm) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Dashboard) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Dashboard. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Dashboard) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Dashboard. func (mg *Dashboard) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Dashboard) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Dashboard. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Dashboard) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Dashboard. func (mg *Dashboard) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *MetricAlarm) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MetricAlarm. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MetricAlarm) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MetricAlarm. func (mg *MetricAlarm) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *MetricAlarm) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MetricAlarm. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MetricAlarm) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MetricAlarm. func (mg *MetricAlarm) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *MetricStream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MetricStream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MetricStream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MetricStream. func (mg *MetricStream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *MetricStream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MetricStream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MetricStream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MetricStream. func (mg *MetricStream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudwatch/v1beta1/zz_metricalarm_types.go b/apis/cloudwatch/v1beta1/zz_metricalarm_types.go index 9827c85f6c..5c5a7505e0 100755 --- a/apis/cloudwatch/v1beta1/zz_metricalarm_types.go +++ b/apis/cloudwatch/v1beta1/zz_metricalarm_types.go @@ -472,8 +472,8 @@ type MetricAlarmStatus struct { type MetricAlarm struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.comparisonOperator) || has(self.initProvider.comparisonOperator)",message="comparisonOperator is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.evaluationPeriods) || has(self.initProvider.evaluationPeriods)",message="evaluationPeriods is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.comparisonOperator) || (has(self.initProvider) && has(self.initProvider.comparisonOperator))",message="spec.forProvider.comparisonOperator is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.evaluationPeriods) || (has(self.initProvider) && has(self.initProvider.evaluationPeriods))",message="spec.forProvider.evaluationPeriods is a required parameter" Spec MetricAlarmSpec `json:"spec"` Status MetricAlarmStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatch/v1beta1/zz_metricstream_types.go b/apis/cloudwatch/v1beta1/zz_metricstream_types.go index 367fdac8e1..824b27e5f7 100755 --- a/apis/cloudwatch/v1beta1/zz_metricstream_types.go +++ b/apis/cloudwatch/v1beta1/zz_metricstream_types.go @@ -300,8 +300,8 @@ type MetricStreamStatus struct { type MetricStream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputFormat) || has(self.initProvider.outputFormat)",message="outputFormat is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputFormat) || (has(self.initProvider) && has(self.initProvider.outputFormat))",message="spec.forProvider.outputFormat is a required parameter" Spec MetricStreamSpec `json:"spec"` Status MetricStreamStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go b/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go index d2edb1d91e..3f359e2ed2 100755 --- a/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_apidestination_types.go @@ -125,8 +125,8 @@ type APIDestinationStatus struct { type APIDestination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || has(self.initProvider.httpMethod)",message="httpMethod is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.invocationEndpoint) || has(self.initProvider.invocationEndpoint)",message="invocationEndpoint is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || (has(self.initProvider) && has(self.initProvider.httpMethod))",message="spec.forProvider.httpMethod is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.invocationEndpoint) || (has(self.initProvider) && has(self.initProvider.invocationEndpoint))",message="spec.forProvider.invocationEndpoint is a required parameter" Spec APIDestinationSpec `json:"spec"` Status APIDestinationStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go b/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go index 8716db1650..b9a1782493 100755 --- a/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_buspolicy_types.go @@ -94,7 +94,7 @@ type BusPolicyStatus struct { type BusPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec BusPolicySpec `json:"spec"` Status BusPolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_connection_types.go b/apis/cloudwatchevents/v1beta1/zz_connection_types.go index b5c95f1675..0d4eaa7a0e 100755 --- a/apis/cloudwatchevents/v1beta1/zz_connection_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_connection_types.go @@ -544,8 +544,8 @@ type ConnectionStatus struct { type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authParameters) || has(self.initProvider.authParameters)",message="authParameters is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizationType) || has(self.initProvider.authorizationType)",message="authorizationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authParameters) || (has(self.initProvider) && has(self.initProvider.authParameters))",message="spec.forProvider.authParameters is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizationType) || (has(self.initProvider) && has(self.initProvider.authorizationType))",message="spec.forProvider.authorizationType is a required parameter" Spec ConnectionSpec `json:"spec"` Status ConnectionStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go index 532f9ca3e3..ca036698c3 100644 --- a/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatchevents/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -946,7 +945,8 @@ func (in *BusInitParameters) DeepCopyInto(out *BusInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1023,7 +1023,8 @@ func (in *BusObservation) DeepCopyInto(out *BusObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1038,7 +1039,8 @@ func (in *BusObservation) DeepCopyInto(out *BusObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1078,7 +1080,8 @@ func (in *BusParameters) DeepCopyInto(out *BusParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1901,7 +1904,8 @@ func (in *EcsTargetInitParameters) DeepCopyInto(out *EcsTargetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1994,7 +1998,8 @@ func (in *EcsTargetObservation) DeepCopyInto(out *EcsTargetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2092,7 +2097,8 @@ func (in *EcsTargetParameters) DeepCopyInto(out *EcsTargetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2142,7 +2148,8 @@ func (in *HTTPTargetInitParameters) DeepCopyInto(out *HTTPTargetInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2168,7 +2175,8 @@ func (in *HTTPTargetInitParameters) DeepCopyInto(out *HTTPTargetInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2198,7 +2206,8 @@ func (in *HTTPTargetObservation) DeepCopyInto(out *HTTPTargetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2224,7 +2233,8 @@ func (in *HTTPTargetObservation) DeepCopyInto(out *HTTPTargetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2254,7 +2264,8 @@ func (in *HTTPTargetParameters) DeepCopyInto(out *HTTPTargetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2280,7 +2291,8 @@ func (in *HTTPTargetParameters) DeepCopyInto(out *HTTPTargetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2390,7 +2402,8 @@ func (in *InputTransformerInitParameters) DeepCopyInto(out *InputTransformerInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2425,7 +2438,8 @@ func (in *InputTransformerObservation) DeepCopyInto(out *InputTransformerObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2460,7 +2474,8 @@ func (in *InputTransformerParameters) DeepCopyInto(out *InputTransformerParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3976,7 +3991,8 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4078,7 +4094,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4093,7 +4110,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4178,7 +4196,8 @@ func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudwatchevents/v1beta1/zz_generated.managed.go b/apis/cloudwatchevents/v1beta1/zz_generated.managed.go index 641a860c63..3228c15191 100644 --- a/apis/cloudwatchevents/v1beta1/zz_generated.managed.go +++ b/apis/cloudwatchevents/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *APIDestination) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this APIDestination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *APIDestination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this APIDestination. func (mg *APIDestination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *APIDestination) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this APIDestination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *APIDestination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this APIDestination. func (mg *APIDestination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Archive) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Archive. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Archive) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Archive. func (mg *Archive) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Archive) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Archive. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Archive) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Archive. func (mg *Archive) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Bus) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Bus. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Bus) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Bus. func (mg *Bus) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Bus) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Bus. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Bus) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Bus. func (mg *Bus) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *BusPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BusPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BusPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BusPolicy. func (mg *BusPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *BusPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BusPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BusPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BusPolicy. func (mg *BusPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Permission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Permission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Permission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Permission. func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Permission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Permission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Permission. func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Rule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Rule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Rule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Rule. func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Rule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Rule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Rule. func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Target) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Target. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Target) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Target. func (mg *Target) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Target) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Target. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Target) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Target. func (mg *Target) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudwatchevents/v1beta1/zz_permission_types.go b/apis/cloudwatchevents/v1beta1/zz_permission_types.go index 7f65702a40..e673d48888 100755 --- a/apis/cloudwatchevents/v1beta1/zz_permission_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_permission_types.go @@ -170,8 +170,8 @@ type PermissionStatus struct { type Permission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statementId) || has(self.initProvider.statementId)",message="statementId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statementId) || (has(self.initProvider) && has(self.initProvider.statementId))",message="spec.forProvider.statementId is a required parameter" Spec PermissionSpec `json:"spec"` Status PermissionStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchevents/v1beta1/zz_target_types.go b/apis/cloudwatchevents/v1beta1/zz_target_types.go index 12a22cd588..2dbcb6ac1d 100755 --- a/apis/cloudwatchevents/v1beta1/zz_target_types.go +++ b/apis/cloudwatchevents/v1beta1/zz_target_types.go @@ -839,7 +839,7 @@ type TargetStatus struct { type Target struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.arn) || has(self.initProvider.arn)",message="arn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.arn) || (has(self.initProvider) && has(self.initProvider.arn))",message="spec.forProvider.arn is a required parameter" Spec TargetSpec `json:"spec"` Status TargetStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_definition_types.go b/apis/cloudwatchlogs/v1beta1/zz_definition_types.go index 1659bfb593..b306c47ce2 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_definition_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_definition_types.go @@ -97,8 +97,8 @@ type DefinitionStatus struct { type Definition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryString) || has(self.initProvider.queryString)",message="queryString is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.queryString) || (has(self.initProvider) && has(self.initProvider.queryString))",message="spec.forProvider.queryString is a required parameter" Spec DefinitionSpec `json:"spec"` Status DefinitionStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_destinationpolicy_types.go b/apis/cloudwatchlogs/v1beta1/zz_destinationpolicy_types.go index 4110f3d6bb..0dd6cd446a 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_destinationpolicy_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_destinationpolicy_types.go @@ -85,7 +85,7 @@ type DestinationPolicyStatus struct { type DestinationPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicy) || has(self.initProvider.accessPolicy)",message="accessPolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicy) || (has(self.initProvider) && has(self.initProvider.accessPolicy))",message="spec.forProvider.accessPolicy is a required parameter" Spec DestinationPolicySpec `json:"spec"` Status DestinationPolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go b/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go index 51d3a4461c..249b2c6f8a 100644 --- a/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go +++ b/apis/cloudwatchlogs/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -269,7 +268,8 @@ func (in *DestinationInitParameters) DeepCopyInto(out *DestinationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -346,7 +346,8 @@ func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -361,7 +362,8 @@ func (in *DestinationObservation) DeepCopyInto(out *DestinationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -416,7 +418,8 @@ func (in *DestinationParameters) DeepCopyInto(out *DestinationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -712,7 +715,8 @@ func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -799,7 +803,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -814,7 +819,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -874,7 +880,8 @@ func (in *GroupParameters) DeepCopyInto(out *GroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1149,7 +1156,8 @@ func (in *MetricTransformationInitParameters) DeepCopyInto(out *MetricTransforma if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1204,7 +1212,8 @@ func (in *MetricTransformationObservation) DeepCopyInto(out *MetricTransformatio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1259,7 +1268,8 @@ func (in *MetricTransformationParameters) DeepCopyInto(out *MetricTransformation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cloudwatchlogs/v1beta1/zz_generated.managed.go b/apis/cloudwatchlogs/v1beta1/zz_generated.managed.go index 87af32b06e..7d5e35267c 100644 --- a/apis/cloudwatchlogs/v1beta1/zz_generated.managed.go +++ b/apis/cloudwatchlogs/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Definition) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Definition. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Definition) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Definition. func (mg *Definition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Definition) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Definition. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Definition) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Definition. func (mg *Definition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Destination) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Destination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Destination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Destination. func (mg *Destination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Destination) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Destination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Destination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Destination. func (mg *Destination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DestinationPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DestinationPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DestinationPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DestinationPolicy. func (mg *DestinationPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DestinationPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DestinationPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DestinationPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DestinationPolicy. func (mg *DestinationPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Group) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Group. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Group) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Group. func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Group) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Group. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Group) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Group. func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *MetricFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MetricFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MetricFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MetricFilter. func (mg *MetricFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *MetricFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MetricFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MetricFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MetricFilter. func (mg *MetricFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourcePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourcePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourcePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourcePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Stream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stream. func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Stream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stream. func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *SubscriptionFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubscriptionFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubscriptionFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubscriptionFilter. func (mg *SubscriptionFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *SubscriptionFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubscriptionFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubscriptionFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubscriptionFilter. func (mg *SubscriptionFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go b/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go index 78bea92d0c..180f61ba51 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_metricfilter_types.go @@ -174,8 +174,8 @@ type MetricFilterStatus struct { type MetricFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricTransformation) || has(self.initProvider.metricTransformation)",message="metricTransformation is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || has(self.initProvider.pattern)",message="pattern is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricTransformation) || (has(self.initProvider) && has(self.initProvider.metricTransformation))",message="spec.forProvider.metricTransformation is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern is a required parameter" Spec MetricFilterSpec `json:"spec"` Status MetricFilterStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_resourcepolicy_types.go b/apis/cloudwatchlogs/v1beta1/zz_resourcepolicy_types.go index ee11df5727..2f320590f0 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_resourcepolicy_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_resourcepolicy_types.go @@ -76,7 +76,7 @@ type ResourcePolicyStatus struct { type ResourcePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDocument) || has(self.initProvider.policyDocument)",message="policyDocument is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDocument) || (has(self.initProvider) && has(self.initProvider.policyDocument))",message="spec.forProvider.policyDocument is a required parameter" Spec ResourcePolicySpec `json:"spec"` Status ResourcePolicyStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_stream_types.go b/apis/cloudwatchlogs/v1beta1/zz_stream_types.go index 550d77eacb..628945b0c9 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_stream_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_stream_types.go @@ -94,7 +94,7 @@ type StreamStatus struct { type Stream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StreamSpec `json:"spec"` Status StreamStatus `json:"status,omitempty"` } diff --git a/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go b/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go index c195f49e35..cf4fefe46c 100755 --- a/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go +++ b/apis/cloudwatchlogs/v1beta1/zz_subscriptionfilter_types.go @@ -139,9 +139,9 @@ type SubscriptionFilterStatus struct { type SubscriptionFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterPattern) || has(self.initProvider.filterPattern)",message="filterPattern is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logGroupName) || has(self.initProvider.logGroupName)",message="logGroupName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterPattern) || (has(self.initProvider) && has(self.initProvider.filterPattern))",message="spec.forProvider.filterPattern is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.logGroupName) || (has(self.initProvider) && has(self.initProvider.logGroupName))",message="spec.forProvider.logGroupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SubscriptionFilterSpec `json:"spec"` Status SubscriptionFilterStatus `json:"status,omitempty"` } diff --git a/apis/codecommit/v1beta1/zz_approvalruletemplate_types.go b/apis/codecommit/v1beta1/zz_approvalruletemplate_types.go index 69247a2413..5865afd7c8 100755 --- a/apis/codecommit/v1beta1/zz_approvalruletemplate_types.go +++ b/apis/codecommit/v1beta1/zz_approvalruletemplate_types.go @@ -100,7 +100,7 @@ type ApprovalRuleTemplateStatus struct { type ApprovalRuleTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || has(self.initProvider.content)",message="content is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" Spec ApprovalRuleTemplateSpec `json:"spec"` Status ApprovalRuleTemplateStatus `json:"status,omitempty"` } diff --git a/apis/codecommit/v1beta1/zz_generated.deepcopy.go b/apis/codecommit/v1beta1/zz_generated.deepcopy.go index c8ee14a411..85cae82d66 100644 --- a/apis/codecommit/v1beta1/zz_generated.deepcopy.go +++ b/apis/codecommit/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -455,7 +454,8 @@ func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -552,7 +552,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -567,7 +568,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -612,7 +614,8 @@ func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/codecommit/v1beta1/zz_generated.managed.go b/apis/codecommit/v1beta1/zz_generated.managed.go index fe4e3d7443..1274060ec2 100644 --- a/apis/codecommit/v1beta1/zz_generated.managed.go +++ b/apis/codecommit/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ApprovalRuleTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ApprovalRuleTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ApprovalRuleTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ApprovalRuleTemplate. func (mg *ApprovalRuleTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ApprovalRuleTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ApprovalRuleTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ApprovalRuleTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ApprovalRuleTemplate. func (mg *ApprovalRuleTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ApprovalRuleTemplateAssociation) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ApprovalRuleTemplateAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ApprovalRuleTemplateAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ApprovalRuleTemplateAssociation. func (mg *ApprovalRuleTemplateAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ApprovalRuleTemplateAssociation) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ApprovalRuleTemplateAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ApprovalRuleTemplateAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ApprovalRuleTemplateAssociation. func (mg *ApprovalRuleTemplateAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Repository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Repository. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Repository) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Repository. func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Repository. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Repository) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Repository. func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Trigger. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Trigger) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Trigger. func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Trigger. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Trigger) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Trigger. func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/codecommit/v1beta1/zz_trigger_types.go b/apis/codecommit/v1beta1/zz_trigger_types.go index 12b9c5c82d..100e7d134d 100755 --- a/apis/codecommit/v1beta1/zz_trigger_types.go +++ b/apis/codecommit/v1beta1/zz_trigger_types.go @@ -156,7 +156,7 @@ type TriggerStatus struct { type Trigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trigger) || has(self.initProvider.trigger)",message="trigger is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trigger) || (has(self.initProvider) && has(self.initProvider.trigger))",message="spec.forProvider.trigger is a required parameter" Spec TriggerSpec `json:"spec"` Status TriggerStatus `json:"status,omitempty"` } diff --git a/apis/codepipeline/v1beta1/zz_codepipeline_types.go b/apis/codepipeline/v1beta1/zz_codepipeline_types.go index ebf425a815..ef7c79b485 100755 --- a/apis/codepipeline/v1beta1/zz_codepipeline_types.go +++ b/apis/codepipeline/v1beta1/zz_codepipeline_types.go @@ -356,8 +356,8 @@ type CodepipelineStatus struct { type Codepipeline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.artifactStore) || has(self.initProvider.artifactStore)",message="artifactStore is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stage) || has(self.initProvider.stage)",message="stage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.artifactStore) || (has(self.initProvider) && has(self.initProvider.artifactStore))",message="spec.forProvider.artifactStore is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stage) || (has(self.initProvider) && has(self.initProvider.stage))",message="spec.forProvider.stage is a required parameter" Spec CodepipelineSpec `json:"spec"` Status CodepipelineStatus `json:"status,omitempty"` } diff --git a/apis/codepipeline/v1beta1/zz_customactiontype_types.go b/apis/codepipeline/v1beta1/zz_customactiontype_types.go index 6bba17f0e7..d972c32553 100755 --- a/apis/codepipeline/v1beta1/zz_customactiontype_types.go +++ b/apis/codepipeline/v1beta1/zz_customactiontype_types.go @@ -341,11 +341,11 @@ type CustomActionTypeStatus struct { type CustomActionType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.category) || has(self.initProvider.category)",message="category is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputArtifactDetails) || has(self.initProvider.inputArtifactDetails)",message="inputArtifactDetails is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputArtifactDetails) || has(self.initProvider.outputArtifactDetails)",message="outputArtifactDetails is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || has(self.initProvider.providerName)",message="providerName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.category) || (has(self.initProvider) && has(self.initProvider.category))",message="spec.forProvider.category is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputArtifactDetails) || (has(self.initProvider) && has(self.initProvider.inputArtifactDetails))",message="spec.forProvider.inputArtifactDetails is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputArtifactDetails) || (has(self.initProvider) && has(self.initProvider.outputArtifactDetails))",message="spec.forProvider.outputArtifactDetails is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || (has(self.initProvider) && has(self.initProvider.providerName))",message="spec.forProvider.providerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec CustomActionTypeSpec `json:"spec"` Status CustomActionTypeStatus `json:"status,omitempty"` } diff --git a/apis/codepipeline/v1beta1/zz_generated.deepcopy.go b/apis/codepipeline/v1beta1/zz_generated.deepcopy.go index 336aaed6eb..c059b62d57 100644 --- a/apis/codepipeline/v1beta1/zz_generated.deepcopy.go +++ b/apis/codepipeline/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -30,7 +29,8 @@ func (in *ActionInitParameters) DeepCopyInto(out *ActionInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -122,7 +122,8 @@ func (in *ActionObservation) DeepCopyInto(out *ActionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -219,7 +220,8 @@ func (in *ActionParameters) DeepCopyInto(out *ActionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -528,7 +530,8 @@ func (in *CodepipelineInitParameters) DeepCopyInto(out *CodepipelineInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -619,7 +622,8 @@ func (in *CodepipelineObservation) DeepCopyInto(out *CodepipelineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -634,7 +638,8 @@ func (in *CodepipelineObservation) DeepCopyInto(out *CodepipelineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -698,7 +703,8 @@ func (in *CodepipelineParameters) DeepCopyInto(out *CodepipelineParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -978,7 +984,8 @@ func (in *CustomActionTypeInitParameters) DeepCopyInto(out *CustomActionTypeInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1098,7 +1105,8 @@ func (in *CustomActionTypeObservation) DeepCopyInto(out *CustomActionTypeObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1113,7 +1121,8 @@ func (in *CustomActionTypeObservation) DeepCopyInto(out *CustomActionTypeObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1191,7 +1200,8 @@ func (in *CustomActionTypeParameters) DeepCopyInto(out *CustomActionTypeParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1793,7 +1803,8 @@ func (in *WebhookInitParameters) DeepCopyInto(out *WebhookInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1889,7 +1900,8 @@ func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1904,7 +1916,8 @@ func (in *WebhookObservation) DeepCopyInto(out *WebhookObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1973,7 +1986,8 @@ func (in *WebhookParameters) DeepCopyInto(out *WebhookParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/codepipeline/v1beta1/zz_generated.managed.go b/apis/codepipeline/v1beta1/zz_generated.managed.go index 23980605dd..bfaef7c6ef 100644 --- a/apis/codepipeline/v1beta1/zz_generated.managed.go +++ b/apis/codepipeline/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Codepipeline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Codepipeline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Codepipeline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Codepipeline. func (mg *Codepipeline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Codepipeline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Codepipeline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Codepipeline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Codepipeline. func (mg *Codepipeline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CustomActionType) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CustomActionType. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CustomActionType) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CustomActionType. func (mg *CustomActionType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CustomActionType) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CustomActionType. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CustomActionType) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CustomActionType. func (mg *CustomActionType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Webhook) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Webhook. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Webhook) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Webhook. func (mg *Webhook) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Webhook) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Webhook. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Webhook) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Webhook. func (mg *Webhook) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/codepipeline/v1beta1/zz_webhook_types.go b/apis/codepipeline/v1beta1/zz_webhook_types.go index 6e42257801..638ffa110d 100755 --- a/apis/codepipeline/v1beta1/zz_webhook_types.go +++ b/apis/codepipeline/v1beta1/zz_webhook_types.go @@ -193,9 +193,9 @@ type WebhookStatus struct { type Webhook struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authentication) || has(self.initProvider.authentication)",message="authentication is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filter) || has(self.initProvider.filter)",message="filter is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetAction) || has(self.initProvider.targetAction)",message="targetAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authentication) || (has(self.initProvider) && has(self.initProvider.authentication))",message="spec.forProvider.authentication is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filter) || (has(self.initProvider) && has(self.initProvider.filter))",message="spec.forProvider.filter is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetAction) || (has(self.initProvider) && has(self.initProvider.targetAction))",message="spec.forProvider.targetAction is a required parameter" Spec WebhookSpec `json:"spec"` Status WebhookStatus `json:"status,omitempty"` } diff --git a/apis/codestarconnections/v1beta1/zz_connection_types.go b/apis/codestarconnections/v1beta1/zz_connection_types.go index 7779b28e0d..7003f57401 100755 --- a/apis/codestarconnections/v1beta1/zz_connection_types.go +++ b/apis/codestarconnections/v1beta1/zz_connection_types.go @@ -115,7 +115,7 @@ type ConnectionStatus struct { type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ConnectionSpec `json:"spec"` Status ConnectionStatus `json:"status,omitempty"` } diff --git a/apis/codestarconnections/v1beta1/zz_generated.deepcopy.go b/apis/codestarconnections/v1beta1/zz_generated.deepcopy.go index b8dcfec474..6c186dfca3 100644 --- a/apis/codestarconnections/v1beta1/zz_generated.deepcopy.go +++ b/apis/codestarconnections/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -66,7 +65,8 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -158,7 +158,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -173,7 +174,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -223,7 +225,8 @@ func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/codestarconnections/v1beta1/zz_generated.managed.go b/apis/codestarconnections/v1beta1/zz_generated.managed.go index e39fe618aa..2448d9cbe9 100644 --- a/apis/codestarconnections/v1beta1/zz_generated.managed.go +++ b/apis/codestarconnections/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Host) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Host. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Host) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Host. func (mg *Host) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Host) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Host. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Host) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Host. func (mg *Host) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/codestarconnections/v1beta1/zz_host_types.go b/apis/codestarconnections/v1beta1/zz_host_types.go index fb4d82e933..91aea4f729 100755 --- a/apis/codestarconnections/v1beta1/zz_host_types.go +++ b/apis/codestarconnections/v1beta1/zz_host_types.go @@ -161,9 +161,9 @@ type HostStatus struct { type Host struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerEndpoint) || has(self.initProvider.providerEndpoint)",message="providerEndpoint is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || has(self.initProvider.providerType)",message="providerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerEndpoint) || (has(self.initProvider) && has(self.initProvider.providerEndpoint))",message="spec.forProvider.providerEndpoint is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || (has(self.initProvider) && has(self.initProvider.providerType))",message="spec.forProvider.providerType is a required parameter" Spec HostSpec `json:"spec"` Status HostStatus `json:"status,omitempty"` } diff --git a/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go b/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go index 20e20e5fe9..8efcb4faee 100644 --- a/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go +++ b/apis/codestarnotifications/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -78,7 +77,8 @@ func (in *NotificationRuleInitParameters) DeepCopyInto(out *NotificationRuleInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -188,7 +188,8 @@ func (in *NotificationRuleObservation) DeepCopyInto(out *NotificationRuleObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -203,7 +204,8 @@ func (in *NotificationRuleObservation) DeepCopyInto(out *NotificationRuleObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -286,7 +288,8 @@ func (in *NotificationRuleParameters) DeepCopyInto(out *NotificationRuleParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/codestarnotifications/v1beta1/zz_generated.managed.go b/apis/codestarnotifications/v1beta1/zz_generated.managed.go index 3998a738be..27f55258e9 100644 --- a/apis/codestarnotifications/v1beta1/zz_generated.managed.go +++ b/apis/codestarnotifications/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *NotificationRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NotificationRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NotificationRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NotificationRule. func (mg *NotificationRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *NotificationRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NotificationRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NotificationRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NotificationRule. func (mg *NotificationRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go b/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go index 746eab3f52..cd9be97297 100755 --- a/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go +++ b/apis/codestarnotifications/v1beta1/zz_notificationrule_types.go @@ -191,9 +191,9 @@ type NotificationRuleStatus struct { type NotificationRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.detailType) || has(self.initProvider.detailType)",message="detailType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventTypeIds) || has(self.initProvider.eventTypeIds)",message="eventTypeIds is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.detailType) || (has(self.initProvider) && has(self.initProvider.detailType))",message="spec.forProvider.detailType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventTypeIds) || (has(self.initProvider) && has(self.initProvider.eventTypeIds))",message="spec.forProvider.eventTypeIds is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec NotificationRuleSpec `json:"spec"` Status NotificationRuleStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go b/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go index d263ea5ea8..42055d4a0f 100644 --- a/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go +++ b/apis/cognitoidentity/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *CognitoIdentityPoolProviderPrincipalTagInitParameters) DeepCopyInto(ou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -134,7 +134,8 @@ func (in *CognitoIdentityPoolProviderPrincipalTagObservation) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -199,7 +200,8 @@ func (in *CognitoIdentityPoolProviderPrincipalTagParameters) DeepCopyInto(out *C if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -544,7 +546,8 @@ func (in *PoolInitParameters) DeepCopyInto(out *PoolInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -559,7 +562,8 @@ func (in *PoolInitParameters) DeepCopyInto(out *PoolInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -680,7 +684,8 @@ func (in *PoolObservation) DeepCopyInto(out *PoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -695,7 +700,8 @@ func (in *PoolObservation) DeepCopyInto(out *PoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -710,7 +716,8 @@ func (in *PoolObservation) DeepCopyInto(out *PoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -806,7 +813,8 @@ func (in *PoolParameters) DeepCopyInto(out *PoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -821,7 +829,8 @@ func (in *PoolParameters) DeepCopyInto(out *PoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -885,7 +894,8 @@ func (in *PoolRolesAttachmentInitParameters) DeepCopyInto(out *PoolRolesAttachme if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -964,7 +974,8 @@ func (in *PoolRolesAttachmentObservation) DeepCopyInto(out *PoolRolesAttachmentO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1021,7 +1032,8 @@ func (in *PoolRolesAttachmentParameters) DeepCopyInto(out *PoolRolesAttachmentPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cognitoidentity/v1beta1/zz_generated.managed.go b/apis/cognitoidentity/v1beta1/zz_generated.managed.go index a82acde4c7..4407d513e9 100644 --- a/apis/cognitoidentity/v1beta1/zz_generated.managed.go +++ b/apis/cognitoidentity/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *CognitoIdentityPoolProviderPrincipalTag) GetProviderConfigReference() return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CognitoIdentityPoolProviderPrincipalTag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CognitoIdentityPoolProviderPrincipalTag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CognitoIdentityPoolProviderPrincipalTag. func (mg *CognitoIdentityPoolProviderPrincipalTag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *CognitoIdentityPoolProviderPrincipalTag) SetProviderConfigReference(r mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CognitoIdentityPoolProviderPrincipalTag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CognitoIdentityPoolProviderPrincipalTag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CognitoIdentityPoolProviderPrincipalTag. func (mg *CognitoIdentityPoolProviderPrincipalTag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Pool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Pool. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Pool) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Pool. func (mg *Pool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Pool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Pool. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Pool) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Pool. func (mg *Pool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *PoolRolesAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PoolRolesAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PoolRolesAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PoolRolesAttachment. func (mg *PoolRolesAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *PoolRolesAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PoolRolesAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PoolRolesAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PoolRolesAttachment. func (mg *PoolRolesAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cognitoidentity/v1beta1/zz_pool_types.go b/apis/cognitoidentity/v1beta1/zz_pool_types.go index 23aadbcfb8..baa03b2bec 100755 --- a/apis/cognitoidentity/v1beta1/zz_pool_types.go +++ b/apis/cognitoidentity/v1beta1/zz_pool_types.go @@ -217,7 +217,7 @@ type PoolStatus struct { type Pool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityPoolName) || has(self.initProvider.identityPoolName)",message="identityPoolName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityPoolName) || (has(self.initProvider) && has(self.initProvider.identityPoolName))",message="spec.forProvider.identityPoolName is a required parameter" Spec PoolSpec `json:"spec"` Status PoolStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go b/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go index ffc4caf023..9c671d60dd 100755 --- a/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go +++ b/apis/cognitoidentity/v1beta1/zz_poolrolesattachment_types.go @@ -208,7 +208,7 @@ type PoolRolesAttachmentStatus struct { type PoolRolesAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.roles) || has(self.initProvider.roles)",message="roles is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.roles) || (has(self.initProvider) && has(self.initProvider.roles))",message="spec.forProvider.roles is a required parameter" Spec PoolRolesAttachmentSpec `json:"spec"` Status PoolRolesAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go b/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go index 36f58e7483..1e15677803 100644 --- a/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go +++ b/apis/cognitoidp/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1193,7 +1192,8 @@ func (in *IdentityProviderInitParameters) DeepCopyInto(out *IdentityProviderInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1219,7 +1219,8 @@ func (in *IdentityProviderInitParameters) DeepCopyInto(out *IdentityProviderInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1291,7 +1292,8 @@ func (in *IdentityProviderObservation) DeepCopyInto(out *IdentityProviderObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1322,7 +1324,8 @@ func (in *IdentityProviderObservation) DeepCopyInto(out *IdentityProviderObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1367,7 +1370,8 @@ func (in *IdentityProviderParameters) DeepCopyInto(out *IdentityProviderParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1393,7 +1397,8 @@ func (in *IdentityProviderParameters) DeepCopyInto(out *IdentityProviderParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4292,7 +4297,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4307,7 +4313,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4348,7 +4355,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4410,7 +4418,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4425,7 +4434,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4512,7 +4522,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4542,7 +4553,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4557,7 +4569,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4628,7 +4641,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5739,7 +5753,8 @@ func (in *UserPoolInitParameters) DeepCopyInto(out *UserPoolInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6000,7 +6015,8 @@ func (in *UserPoolObservation) DeepCopyInto(out *UserPoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6015,7 +6031,8 @@ func (in *UserPoolObservation) DeepCopyInto(out *UserPoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6209,7 +6226,8 @@ func (in *UserPoolParameters) DeepCopyInto(out *UserPoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/cognitoidp/v1beta1/zz_generated.managed.go b/apis/cognitoidp/v1beta1/zz_generated.managed.go index b10c85c623..d213ede7b2 100644 --- a/apis/cognitoidp/v1beta1/zz_generated.managed.go +++ b/apis/cognitoidp/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *IdentityProvider) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IdentityProvider. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IdentityProvider) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IdentityProvider. func (mg *IdentityProvider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *IdentityProvider) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IdentityProvider. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IdentityProvider) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IdentityProvider. func (mg *IdentityProvider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ResourceServer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceServer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceServer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceServer. func (mg *ResourceServer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ResourceServer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceServer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceServer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceServer. func (mg *ResourceServer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RiskConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RiskConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RiskConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RiskConfiguration. func (mg *RiskConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RiskConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RiskConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RiskConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RiskConfiguration. func (mg *RiskConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *UserGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserGroup. func (mg *UserGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *UserGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserGroup. func (mg *UserGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *UserInGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserInGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserInGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserInGroup. func (mg *UserInGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *UserInGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserInGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserInGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserInGroup. func (mg *UserInGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *UserPool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserPool. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserPool) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserPool. func (mg *UserPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *UserPool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserPool. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserPool) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserPool. func (mg *UserPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *UserPoolClient) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserPoolClient. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserPoolClient) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserPoolClient. func (mg *UserPoolClient) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *UserPoolClient) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserPoolClient. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserPoolClient) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserPoolClient. func (mg *UserPoolClient) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *UserPoolDomain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserPoolDomain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserPoolDomain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserPoolDomain. func (mg *UserPoolDomain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *UserPoolDomain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserPoolDomain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserPoolDomain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserPoolDomain. func (mg *UserPoolDomain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *UserPoolUICustomization) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserPoolUICustomization. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserPoolUICustomization) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserPoolUICustomization. func (mg *UserPoolUICustomization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *UserPoolUICustomization) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserPoolUICustomization. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserPoolUICustomization) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserPoolUICustomization. func (mg *UserPoolUICustomization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cognitoidp/v1beta1/zz_identityprovider_types.go b/apis/cognitoidp/v1beta1/zz_identityprovider_types.go index 48ca11bb99..fd272a95d9 100755 --- a/apis/cognitoidp/v1beta1/zz_identityprovider_types.go +++ b/apis/cognitoidp/v1beta1/zz_identityprovider_types.go @@ -131,9 +131,9 @@ type IdentityProviderStatus struct { type IdentityProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerDetails) || has(self.initProvider.providerDetails)",message="providerDetails is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || has(self.initProvider.providerName)",message="providerName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || has(self.initProvider.providerType)",message="providerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerDetails) || (has(self.initProvider) && has(self.initProvider.providerDetails))",message="spec.forProvider.providerDetails is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || (has(self.initProvider) && has(self.initProvider.providerName))",message="spec.forProvider.providerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerType) || (has(self.initProvider) && has(self.initProvider.providerType))",message="spec.forProvider.providerType is a required parameter" Spec IdentityProviderSpec `json:"spec"` Status IdentityProviderStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_resourceserver_types.go b/apis/cognitoidp/v1beta1/zz_resourceserver_types.go index 590d3dc04f..68dbf8ebb0 100755 --- a/apis/cognitoidp/v1beta1/zz_resourceserver_types.go +++ b/apis/cognitoidp/v1beta1/zz_resourceserver_types.go @@ -140,8 +140,8 @@ type ResourceServerStatus struct { type ResourceServer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identifier) || has(self.initProvider.identifier)",message="identifier is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identifier) || (has(self.initProvider) && has(self.initProvider.identifier))",message="spec.forProvider.identifier is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ResourceServerSpec `json:"spec"` Status ResourceServerStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_usergroup_types.go b/apis/cognitoidp/v1beta1/zz_usergroup_types.go index f816513d76..f3e128d6e0 100755 --- a/apis/cognitoidp/v1beta1/zz_usergroup_types.go +++ b/apis/cognitoidp/v1beta1/zz_usergroup_types.go @@ -128,7 +128,7 @@ type UserGroupStatus struct { type UserGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec UserGroupSpec `json:"spec"` Status UserGroupStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_userpool_types.go b/apis/cognitoidp/v1beta1/zz_userpool_types.go index 3dd72de978..fd70673172 100755 --- a/apis/cognitoidp/v1beta1/zz_userpool_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpool_types.go @@ -1128,7 +1128,7 @@ type UserPoolStatus struct { type UserPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec UserPoolSpec `json:"spec"` Status UserPoolStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go b/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go index ca4344301d..48f38834ce 100755 --- a/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpoolclient_types.go @@ -422,7 +422,7 @@ type UserPoolClientStatus struct { type UserPoolClient struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec UserPoolClientSpec `json:"spec"` Status UserPoolClientStatus `json:"status,omitempty"` } diff --git a/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go b/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go index 0b4cd8e398..50be665dc5 100755 --- a/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go +++ b/apis/cognitoidp/v1beta1/zz_userpooldomain_types.go @@ -126,7 +126,7 @@ type UserPoolDomainStatus struct { type UserPoolDomain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || has(self.initProvider.domain)",message="domain is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter" Spec UserPoolDomainSpec `json:"spec"` Status UserPoolDomainStatus `json:"status,omitempty"` } diff --git a/apis/configservice/v1beta1/zz_awsconfigurationrecorderstatus_types.go b/apis/configservice/v1beta1/zz_awsconfigurationrecorderstatus_types.go index 878e50103a..7f11a74616 100755 --- a/apis/configservice/v1beta1/zz_awsconfigurationrecorderstatus_types.go +++ b/apis/configservice/v1beta1/zz_awsconfigurationrecorderstatus_types.go @@ -74,7 +74,7 @@ type AWSConfigurationRecorderStatusStatus struct { type AWSConfigurationRecorderStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.isEnabled) || has(self.initProvider.isEnabled)",message="isEnabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.isEnabled) || (has(self.initProvider) && has(self.initProvider.isEnabled))",message="spec.forProvider.isEnabled is a required parameter" Spec AWSConfigurationRecorderStatusSpec `json:"spec"` Status AWSConfigurationRecorderStatusStatus `json:"status,omitempty"` } diff --git a/apis/configservice/v1beta1/zz_configrule_types.go b/apis/configservice/v1beta1/zz_configrule_types.go index 24a04c8fce..c9e147b47a 100755 --- a/apis/configservice/v1beta1/zz_configrule_types.go +++ b/apis/configservice/v1beta1/zz_configrule_types.go @@ -317,7 +317,7 @@ type ConfigRuleStatus struct { type ConfigRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || has(self.initProvider.source)",message="source is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter" Spec ConfigRuleSpec `json:"spec"` Status ConfigRuleStatus `json:"status,omitempty"` } diff --git a/apis/configservice/v1beta1/zz_generated.deepcopy.go b/apis/configservice/v1beta1/zz_generated.deepcopy.go index aff2a80361..e8070dc3ef 100644 --- a/apis/configservice/v1beta1/zz_generated.deepcopy.go +++ b/apis/configservice/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -371,7 +370,8 @@ func (in *ConfigRuleInitParameters) DeepCopyInto(out *ConfigRuleInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -477,7 +477,8 @@ func (in *ConfigRuleObservation) DeepCopyInto(out *ConfigRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -492,7 +493,8 @@ func (in *ConfigRuleObservation) DeepCopyInto(out *ConfigRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -556,7 +558,8 @@ func (in *ConfigRuleParameters) DeepCopyInto(out *ConfigRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -662,7 +665,8 @@ func (in *ConfigurationAggregatorInitParameters) DeepCopyInto(out *Configuration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -748,7 +752,8 @@ func (in *ConfigurationAggregatorObservation) DeepCopyInto(out *ConfigurationAgg if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -763,7 +768,8 @@ func (in *ConfigurationAggregatorObservation) DeepCopyInto(out *ConfigurationAgg if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -812,7 +818,8 @@ func (in *ConfigurationAggregatorParameters) DeepCopyInto(out *ConfigurationAggr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/configservice/v1beta1/zz_generated.managed.go b/apis/configservice/v1beta1/zz_generated.managed.go index 8e4c5d4a76..24ae24ce3b 100644 --- a/apis/configservice/v1beta1/zz_generated.managed.go +++ b/apis/configservice/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AWSConfigurationRecorderStatus) GetProviderConfigReference() *xpv1.Ref return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AWSConfigurationRecorderStatus. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AWSConfigurationRecorderStatus) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AWSConfigurationRecorderStatus. func (mg *AWSConfigurationRecorderStatus) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AWSConfigurationRecorderStatus) SetProviderConfigReference(r *xpv1.Ref mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AWSConfigurationRecorderStatus. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AWSConfigurationRecorderStatus) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AWSConfigurationRecorderStatus. func (mg *AWSConfigurationRecorderStatus) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ConfigRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigRule. func (mg *ConfigRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ConfigRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigRule. func (mg *ConfigRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ConfigurationAggregator) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationAggregator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationAggregator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationAggregator. func (mg *ConfigurationAggregator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ConfigurationAggregator) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationAggregator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationAggregator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationAggregator. func (mg *ConfigurationAggregator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ConfigurationRecorder) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationRecorder. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationRecorder) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationRecorder. func (mg *ConfigurationRecorder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ConfigurationRecorder) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationRecorder. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationRecorder) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationRecorder. func (mg *ConfigurationRecorder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ConformancePack) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConformancePack. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConformancePack) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConformancePack. func (mg *ConformancePack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ConformancePack) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConformancePack. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConformancePack) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConformancePack. func (mg *ConformancePack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *DeliveryChannel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeliveryChannel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeliveryChannel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeliveryChannel. func (mg *DeliveryChannel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *DeliveryChannel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeliveryChannel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeliveryChannel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeliveryChannel. func (mg *DeliveryChannel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *RemediationConfiguration) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RemediationConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RemediationConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RemediationConfiguration. func (mg *RemediationConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *RemediationConfiguration) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RemediationConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RemediationConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RemediationConfiguration. func (mg *RemediationConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/configservice/v1beta1/zz_remediationconfiguration_types.go b/apis/configservice/v1beta1/zz_remediationconfiguration_types.go index dbdf838a3d..8e257c596a 100755 --- a/apis/configservice/v1beta1/zz_remediationconfiguration_types.go +++ b/apis/configservice/v1beta1/zz_remediationconfiguration_types.go @@ -255,8 +255,8 @@ type RemediationConfigurationStatus struct { type RemediationConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || has(self.initProvider.targetId)",message="targetId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetType) || has(self.initProvider.targetType)",message="targetType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || (has(self.initProvider) && has(self.initProvider.targetId))",message="spec.forProvider.targetId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetType) || (has(self.initProvider) && has(self.initProvider.targetType))",message="spec.forProvider.targetType is a required parameter" Spec RemediationConfigurationSpec `json:"spec"` Status RemediationConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_botassociation_types.go b/apis/connect/v1beta1/zz_botassociation_types.go index 863a9f084b..eca87a045f 100755 --- a/apis/connect/v1beta1/zz_botassociation_types.go +++ b/apis/connect/v1beta1/zz_botassociation_types.go @@ -128,7 +128,7 @@ type BotAssociationStatus struct { type BotAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lexBot) || has(self.initProvider.lexBot)",message="lexBot is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lexBot) || (has(self.initProvider) && has(self.initProvider.lexBot))",message="spec.forProvider.lexBot is a required parameter" Spec BotAssociationSpec `json:"spec"` Status BotAssociationStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_contactflow_types.go b/apis/connect/v1beta1/zz_contactflow_types.go index 87164534d6..07f90a24e5 100755 --- a/apis/connect/v1beta1/zz_contactflow_types.go +++ b/apis/connect/v1beta1/zz_contactflow_types.go @@ -162,7 +162,7 @@ type ContactFlowStatus struct { type ContactFlow struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ContactFlowSpec `json:"spec"` Status ContactFlowStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_contactflowmodule_types.go b/apis/connect/v1beta1/zz_contactflowmodule_types.go index 6f69fdfd3a..58ab8f94cf 100755 --- a/apis/connect/v1beta1/zz_contactflowmodule_types.go +++ b/apis/connect/v1beta1/zz_contactflowmodule_types.go @@ -152,7 +152,7 @@ type ContactFlowModuleStatus struct { type ContactFlowModule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ContactFlowModuleSpec `json:"spec"` Status ContactFlowModuleStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_generated.deepcopy.go b/apis/connect/v1beta1/zz_generated.deepcopy.go index 697743656e..b5ba653468 100644 --- a/apis/connect/v1beta1/zz_generated.deepcopy.go +++ b/apis/connect/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -369,7 +368,8 @@ func (in *ContactFlowInitParameters) DeepCopyInto(out *ContactFlowInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -488,7 +488,8 @@ func (in *ContactFlowModuleInitParameters) DeepCopyInto(out *ContactFlowModuleIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -595,7 +596,8 @@ func (in *ContactFlowModuleObservation) DeepCopyInto(out *ContactFlowModuleObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -610,7 +612,8 @@ func (in *ContactFlowModuleObservation) DeepCopyInto(out *ContactFlowModuleObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -685,7 +688,8 @@ func (in *ContactFlowModuleParameters) DeepCopyInto(out *ContactFlowModuleParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -795,7 +799,8 @@ func (in *ContactFlowObservation) DeepCopyInto(out *ContactFlowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -810,7 +815,8 @@ func (in *ContactFlowObservation) DeepCopyInto(out *ContactFlowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -890,7 +896,8 @@ func (in *ContactFlowParameters) DeepCopyInto(out *ContactFlowParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1309,7 +1316,8 @@ func (in *HoursOfOperationInitParameters) DeepCopyInto(out *HoursOfOperationInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1418,7 +1426,8 @@ func (in *HoursOfOperationObservation) DeepCopyInto(out *HoursOfOperationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1433,7 +1442,8 @@ func (in *HoursOfOperationObservation) DeepCopyInto(out *HoursOfOperationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1505,7 +1515,8 @@ func (in *HoursOfOperationParameters) DeepCopyInto(out *HoursOfOperationParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3311,7 +3322,8 @@ func (in *PhoneNumberInitParameters) DeepCopyInto(out *PhoneNumberInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3415,7 +3427,8 @@ func (in *PhoneNumberObservation) DeepCopyInto(out *PhoneNumberObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3430,7 +3443,8 @@ func (in *PhoneNumberObservation) DeepCopyInto(out *PhoneNumberObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3490,7 +3504,8 @@ func (in *PhoneNumberParameters) DeepCopyInto(out *PhoneNumberParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3905,7 +3920,8 @@ func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4041,7 +4057,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4056,7 +4073,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4159,7 +4177,8 @@ func (in *QueueParameters) DeepCopyInto(out *QueueParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4391,7 +4410,8 @@ func (in *QuickConnectInitParameters) DeepCopyInto(out *QuickConnectInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4490,7 +4510,8 @@ func (in *QuickConnectObservation) DeepCopyInto(out *QuickConnectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4505,7 +4526,8 @@ func (in *QuickConnectObservation) DeepCopyInto(out *QuickConnectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4572,7 +4594,8 @@ func (in *QuickConnectParameters) DeepCopyInto(out *QuickConnectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4688,7 +4711,8 @@ func (in *RoutingProfileInitParameters) DeepCopyInto(out *RoutingProfileInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4806,7 +4830,8 @@ func (in *RoutingProfileObservation) DeepCopyInto(out *RoutingProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4821,7 +4846,8 @@ func (in *RoutingProfileObservation) DeepCopyInto(out *RoutingProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4910,7 +4936,8 @@ func (in *RoutingProfileParameters) DeepCopyInto(out *RoutingProfileParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5204,7 +5231,8 @@ func (in *SecurityProfileInitParameters) DeepCopyInto(out *SecurityProfileInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5312,7 +5340,8 @@ func (in *SecurityProfileObservation) DeepCopyInto(out *SecurityProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5327,7 +5356,8 @@ func (in *SecurityProfileObservation) DeepCopyInto(out *SecurityProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5398,7 +5428,8 @@ func (in *SecurityProfileParameters) DeepCopyInto(out *SecurityProfileParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6065,7 +6096,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6187,7 +6219,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6202,7 +6235,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6317,7 +6351,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6529,7 +6564,8 @@ func (in *VocabularyInitParameters) DeepCopyInto(out *VocabularyInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6636,7 +6672,8 @@ func (in *VocabularyObservation) DeepCopyInto(out *VocabularyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6651,7 +6688,8 @@ func (in *VocabularyObservation) DeepCopyInto(out *VocabularyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6721,7 +6759,8 @@ func (in *VocabularyParameters) DeepCopyInto(out *VocabularyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/connect/v1beta1/zz_generated.managed.go b/apis/connect/v1beta1/zz_generated.managed.go index 3e87381b83..f330997345 100644 --- a/apis/connect/v1beta1/zz_generated.managed.go +++ b/apis/connect/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *BotAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BotAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BotAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BotAssociation. func (mg *BotAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *BotAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BotAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BotAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BotAssociation. func (mg *BotAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ContactFlow) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContactFlow. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContactFlow) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContactFlow. func (mg *ContactFlow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ContactFlow) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContactFlow. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContactFlow) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContactFlow. func (mg *ContactFlow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ContactFlowModule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContactFlowModule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContactFlowModule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContactFlowModule. func (mg *ContactFlowModule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ContactFlowModule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContactFlowModule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContactFlowModule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContactFlowModule. func (mg *ContactFlowModule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *HoursOfOperation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HoursOfOperation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HoursOfOperation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HoursOfOperation. func (mg *HoursOfOperation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *HoursOfOperation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HoursOfOperation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HoursOfOperation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HoursOfOperation. func (mg *HoursOfOperation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Instance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Instance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Instance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Instance. func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Instance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Instance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Instance. func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *InstanceStorageConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstanceStorageConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstanceStorageConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstanceStorageConfig. func (mg *InstanceStorageConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *InstanceStorageConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstanceStorageConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstanceStorageConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstanceStorageConfig. func (mg *InstanceStorageConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *LambdaFunctionAssociation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LambdaFunctionAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LambdaFunctionAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LambdaFunctionAssociation. func (mg *LambdaFunctionAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *LambdaFunctionAssociation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LambdaFunctionAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LambdaFunctionAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LambdaFunctionAssociation. func (mg *LambdaFunctionAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *PhoneNumber) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PhoneNumber. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PhoneNumber) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PhoneNumber. func (mg *PhoneNumber) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *PhoneNumber) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PhoneNumber. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PhoneNumber) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PhoneNumber. func (mg *PhoneNumber) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *Queue) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Queue. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Queue) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Queue. func (mg *Queue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Queue. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Queue) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Queue. func (mg *Queue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *QuickConnect) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this QuickConnect. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *QuickConnect) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this QuickConnect. func (mg *QuickConnect) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *QuickConnect) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this QuickConnect. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *QuickConnect) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this QuickConnect. func (mg *QuickConnect) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *RoutingProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RoutingProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RoutingProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RoutingProfile. func (mg *RoutingProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *RoutingProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RoutingProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RoutingProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RoutingProfile. func (mg *RoutingProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *SecurityProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecurityProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecurityProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecurityProfile. func (mg *SecurityProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *SecurityProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecurityProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecurityProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecurityProfile. func (mg *SecurityProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *UserHierarchyStructure) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserHierarchyStructure. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserHierarchyStructure) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserHierarchyStructure. func (mg *UserHierarchyStructure) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *UserHierarchyStructure) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserHierarchyStructure. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserHierarchyStructure) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserHierarchyStructure. func (mg *UserHierarchyStructure) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *Vocabulary) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Vocabulary. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Vocabulary) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Vocabulary. func (mg *Vocabulary) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *Vocabulary) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Vocabulary. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Vocabulary) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Vocabulary. func (mg *Vocabulary) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/connect/v1beta1/zz_hoursofoperation_types.go b/apis/connect/v1beta1/zz_hoursofoperation_types.go index 511298c27a..2799f7752a 100755 --- a/apis/connect/v1beta1/zz_hoursofoperation_types.go +++ b/apis/connect/v1beta1/zz_hoursofoperation_types.go @@ -242,9 +242,9 @@ type HoursOfOperationStatus struct { type HoursOfOperation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.config) || has(self.initProvider.config)",message="config is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeZone) || has(self.initProvider.timeZone)",message="timeZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.config) || (has(self.initProvider) && has(self.initProvider.config))",message="spec.forProvider.config is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeZone) || (has(self.initProvider) && has(self.initProvider.timeZone))",message="spec.forProvider.timeZone is a required parameter" Spec HoursOfOperationSpec `json:"spec"` Status HoursOfOperationStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_instance_types.go b/apis/connect/v1beta1/zz_instance_types.go index 7042dff865..6d738f1687 100755 --- a/apis/connect/v1beta1/zz_instance_types.go +++ b/apis/connect/v1beta1/zz_instance_types.go @@ -185,9 +185,9 @@ type InstanceStatus struct { type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityManagementType) || has(self.initProvider.identityManagementType)",message="identityManagementType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inboundCallsEnabled) || has(self.initProvider.inboundCallsEnabled)",message="inboundCallsEnabled is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outboundCallsEnabled) || has(self.initProvider.outboundCallsEnabled)",message="outboundCallsEnabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityManagementType) || (has(self.initProvider) && has(self.initProvider.identityManagementType))",message="spec.forProvider.identityManagementType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inboundCallsEnabled) || (has(self.initProvider) && has(self.initProvider.inboundCallsEnabled))",message="spec.forProvider.inboundCallsEnabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outboundCallsEnabled) || (has(self.initProvider) && has(self.initProvider.outboundCallsEnabled))",message="spec.forProvider.outboundCallsEnabled is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_instancestorageconfig_types.go b/apis/connect/v1beta1/zz_instancestorageconfig_types.go index 6cff5b50f0..70c622d73e 100755 --- a/apis/connect/v1beta1/zz_instancestorageconfig_types.go +++ b/apis/connect/v1beta1/zz_instancestorageconfig_types.go @@ -374,8 +374,8 @@ type InstanceStorageConfigStatus struct { type InstanceStorageConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || has(self.initProvider.resourceType)",message="resourceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageConfig) || has(self.initProvider.storageConfig)",message="storageConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageConfig) || (has(self.initProvider) && has(self.initProvider.storageConfig))",message="spec.forProvider.storageConfig is a required parameter" Spec InstanceStorageConfigSpec `json:"spec"` Status InstanceStorageConfigStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_phonenumber_types.go b/apis/connect/v1beta1/zz_phonenumber_types.go index a34181cd53..3b333ec550 100755 --- a/apis/connect/v1beta1/zz_phonenumber_types.go +++ b/apis/connect/v1beta1/zz_phonenumber_types.go @@ -160,8 +160,8 @@ type PhoneNumberStatus struct { type PhoneNumber struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.countryCode) || has(self.initProvider.countryCode)",message="countryCode is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.countryCode) || (has(self.initProvider) && has(self.initProvider.countryCode))",message="spec.forProvider.countryCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec PhoneNumberSpec `json:"spec"` Status PhoneNumberStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_queue_types.go b/apis/connect/v1beta1/zz_queue_types.go index 54f43dd1fe..f5f6034b8a 100755 --- a/apis/connect/v1beta1/zz_queue_types.go +++ b/apis/connect/v1beta1/zz_queue_types.go @@ -220,7 +220,7 @@ type QueueStatus struct { type Queue struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec QueueSpec `json:"spec"` Status QueueStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_quickconnect_types.go b/apis/connect/v1beta1/zz_quickconnect_types.go index 32c0ee61db..0ae4a399ab 100755 --- a/apis/connect/v1beta1/zz_quickconnect_types.go +++ b/apis/connect/v1beta1/zz_quickconnect_types.go @@ -258,8 +258,8 @@ type QuickConnectStatus struct { type QuickConnect struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.quickConnectConfig) || has(self.initProvider.quickConnectConfig)",message="quickConnectConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.quickConnectConfig) || (has(self.initProvider) && has(self.initProvider.quickConnectConfig))",message="spec.forProvider.quickConnectConfig is a required parameter" Spec QuickConnectSpec `json:"spec"` Status QuickConnectStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_routingprofile_types.go b/apis/connect/v1beta1/zz_routingprofile_types.go index be0c0e2f67..a8cd7c612c 100755 --- a/apis/connect/v1beta1/zz_routingprofile_types.go +++ b/apis/connect/v1beta1/zz_routingprofile_types.go @@ -272,9 +272,9 @@ type RoutingProfileStatus struct { type RoutingProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mediaConcurrencies) || has(self.initProvider.mediaConcurrencies)",message="mediaConcurrencies is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mediaConcurrencies) || (has(self.initProvider) && has(self.initProvider.mediaConcurrencies))",message="spec.forProvider.mediaConcurrencies is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RoutingProfileSpec `json:"spec"` Status RoutingProfileStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_securityprofile_types.go b/apis/connect/v1beta1/zz_securityprofile_types.go index 31115c5269..509297b210 100755 --- a/apis/connect/v1beta1/zz_securityprofile_types.go +++ b/apis/connect/v1beta1/zz_securityprofile_types.go @@ -135,7 +135,7 @@ type SecurityProfileStatus struct { type SecurityProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SecurityProfileSpec `json:"spec"` Status SecurityProfileStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_user_types.go b/apis/connect/v1beta1/zz_user_types.go index 494e6dd7df..3606048593 100755 --- a/apis/connect/v1beta1/zz_user_types.go +++ b/apis/connect/v1beta1/zz_user_types.go @@ -272,9 +272,9 @@ type UserStatus struct { type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.phoneConfig) || has(self.initProvider.phoneConfig)",message="phoneConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.securityProfileIds) || has(self.initProvider.securityProfileIds)",message="securityProfileIds is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.phoneConfig) || (has(self.initProvider) && has(self.initProvider.phoneConfig))",message="spec.forProvider.phoneConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.securityProfileIds) || (has(self.initProvider) && has(self.initProvider.securityProfileIds))",message="spec.forProvider.securityProfileIds is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_userhierarchystructure_types.go b/apis/connect/v1beta1/zz_userhierarchystructure_types.go index 51dc26abe5..eb355cc15e 100755 --- a/apis/connect/v1beta1/zz_userhierarchystructure_types.go +++ b/apis/connect/v1beta1/zz_userhierarchystructure_types.go @@ -277,7 +277,7 @@ type UserHierarchyStructureStatus struct { type UserHierarchyStructure struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hierarchyStructure) || has(self.initProvider.hierarchyStructure)",message="hierarchyStructure is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hierarchyStructure) || (has(self.initProvider) && has(self.initProvider.hierarchyStructure))",message="spec.forProvider.hierarchyStructure is a required parameter" Spec UserHierarchyStructureSpec `json:"spec"` Status UserHierarchyStructureStatus `json:"status,omitempty"` } diff --git a/apis/connect/v1beta1/zz_vocabulary_types.go b/apis/connect/v1beta1/zz_vocabulary_types.go index cfa8ce89a2..2b686d58e8 100755 --- a/apis/connect/v1beta1/zz_vocabulary_types.go +++ b/apis/connect/v1beta1/zz_vocabulary_types.go @@ -142,9 +142,9 @@ type VocabularyStatus struct { type Vocabulary struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || has(self.initProvider.content)",message="content is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || has(self.initProvider.languageCode)",message="languageCode is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec VocabularySpec `json:"spec"` Status VocabularyStatus `json:"status,omitempty"` } diff --git a/apis/cur/v1beta1/zz_generated.deepcopy.go b/apis/cur/v1beta1/zz_generated.deepcopy.go index 2c19fa3246..b50acfbba0 100644 --- a/apis/cur/v1beta1/zz_generated.deepcopy.go +++ b/apis/cur/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/cur/v1beta1/zz_generated.managed.go b/apis/cur/v1beta1/zz_generated.managed.go index f22c2c229a..6fa267813e 100644 --- a/apis/cur/v1beta1/zz_generated.managed.go +++ b/apis/cur/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ReportDefinition) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReportDefinition. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReportDefinition) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReportDefinition. func (mg *ReportDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ReportDefinition) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReportDefinition. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReportDefinition) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReportDefinition. func (mg *ReportDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/cur/v1beta1/zz_reportdefinition_types.go b/apis/cur/v1beta1/zz_reportdefinition_types.go index c909da3d30..5ba08b1669 100755 --- a/apis/cur/v1beta1/zz_reportdefinition_types.go +++ b/apis/cur/v1beta1/zz_reportdefinition_types.go @@ -174,11 +174,11 @@ type ReportDefinitionStatus struct { type ReportDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.additionalSchemaElements) || has(self.initProvider.additionalSchemaElements)",message="additionalSchemaElements is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compression) || has(self.initProvider.compression)",message="compression is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.format) || has(self.initProvider.format)",message="format is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Region) || has(self.initProvider.s3Region)",message="s3Region is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeUnit) || has(self.initProvider.timeUnit)",message="timeUnit is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.additionalSchemaElements) || (has(self.initProvider) && has(self.initProvider.additionalSchemaElements))",message="spec.forProvider.additionalSchemaElements is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compression) || (has(self.initProvider) && has(self.initProvider.compression))",message="spec.forProvider.compression is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.format) || (has(self.initProvider) && has(self.initProvider.format))",message="spec.forProvider.format is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Region) || (has(self.initProvider) && has(self.initProvider.s3Region))",message="spec.forProvider.s3Region is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.timeUnit) || (has(self.initProvider) && has(self.initProvider.timeUnit))",message="spec.forProvider.timeUnit is a required parameter" Spec ReportDefinitionSpec `json:"spec"` Status ReportDefinitionStatus `json:"status,omitempty"` } diff --git a/apis/dataexchange/v1beta1/zz_dataset_types.go b/apis/dataexchange/v1beta1/zz_dataset_types.go index 1ef44b9e37..b4c430aa14 100755 --- a/apis/dataexchange/v1beta1/zz_dataset_types.go +++ b/apis/dataexchange/v1beta1/zz_dataset_types.go @@ -112,9 +112,9 @@ type DataSetStatus struct { type DataSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.assetType) || has(self.initProvider.assetType)",message="assetType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.assetType) || (has(self.initProvider) && has(self.initProvider.assetType))",message="spec.forProvider.assetType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec DataSetSpec `json:"spec"` Status DataSetStatus `json:"status,omitempty"` } diff --git a/apis/dataexchange/v1beta1/zz_generated.deepcopy.go b/apis/dataexchange/v1beta1/zz_generated.deepcopy.go index adc56d44b7..df8e6d894a 100644 --- a/apis/dataexchange/v1beta1/zz_generated.deepcopy.go +++ b/apis/dataexchange/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -67,7 +66,8 @@ func (in *DataSetInitParameters) DeepCopyInto(out *DataSetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -154,7 +154,8 @@ func (in *DataSetObservation) DeepCopyInto(out *DataSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -169,7 +170,8 @@ func (in *DataSetObservation) DeepCopyInto(out *DataSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -219,7 +221,8 @@ func (in *DataSetParameters) DeepCopyInto(out *DataSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -316,7 +319,8 @@ func (in *RevisionInitParameters) DeepCopyInto(out *RevisionInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -403,7 +407,8 @@ func (in *RevisionObservation) DeepCopyInto(out *RevisionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -418,7 +423,8 @@ func (in *RevisionObservation) DeepCopyInto(out *RevisionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -473,7 +479,8 @@ func (in *RevisionParameters) DeepCopyInto(out *RevisionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/dataexchange/v1beta1/zz_generated.managed.go b/apis/dataexchange/v1beta1/zz_generated.managed.go index 5f4cbfef4f..dcde8bbc06 100644 --- a/apis/dataexchange/v1beta1/zz_generated.managed.go +++ b/apis/dataexchange/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DataSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataSet. func (mg *DataSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DataSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataSet. func (mg *DataSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Revision) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Revision. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Revision) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Revision. func (mg *Revision) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Revision) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Revision. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Revision) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Revision. func (mg *Revision) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/datapipeline/v1beta1/zz_generated.deepcopy.go b/apis/datapipeline/v1beta1/zz_generated.deepcopy.go index 74ffac956f..4ac49705a0 100644 --- a/apis/datapipeline/v1beta1/zz_generated.deepcopy.go +++ b/apis/datapipeline/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -61,7 +60,8 @@ func (in *PipelineInitParameters) DeepCopyInto(out *PipelineInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -138,7 +138,8 @@ func (in *PipelineObservation) DeepCopyInto(out *PipelineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -153,7 +154,8 @@ func (in *PipelineObservation) DeepCopyInto(out *PipelineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -198,7 +200,8 @@ func (in *PipelineParameters) DeepCopyInto(out *PipelineParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/datapipeline/v1beta1/zz_generated.managed.go b/apis/datapipeline/v1beta1/zz_generated.managed.go index 7acb31550f..1d1c3ebde4 100644 --- a/apis/datapipeline/v1beta1/zz_generated.managed.go +++ b/apis/datapipeline/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Pipeline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Pipeline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Pipeline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Pipeline. func (mg *Pipeline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Pipeline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Pipeline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Pipeline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Pipeline. func (mg *Pipeline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/datapipeline/v1beta1/zz_pipeline_types.go b/apis/datapipeline/v1beta1/zz_pipeline_types.go index 40726bf514..2ff826f3ad 100755 --- a/apis/datapipeline/v1beta1/zz_pipeline_types.go +++ b/apis/datapipeline/v1beta1/zz_pipeline_types.go @@ -99,7 +99,7 @@ type PipelineStatus struct { type Pipeline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PipelineSpec `json:"spec"` Status PipelineStatus `json:"status,omitempty"` } diff --git a/apis/datasync/v1beta1/zz_generated.deepcopy.go b/apis/datasync/v1beta1/zz_generated.deepcopy.go index 91a7333b6c..bd9183229b 100644 --- a/apis/datasync/v1beta1/zz_generated.deepcopy.go +++ b/apis/datasync/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -228,7 +227,8 @@ func (in *LocationS3InitParameters) DeepCopyInto(out *LocationS3InitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -333,7 +333,8 @@ func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -348,7 +349,8 @@ func (in *LocationS3Observation) DeepCopyInto(out *LocationS3Observation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -431,7 +433,8 @@ func (in *LocationS3Parameters) DeepCopyInto(out *LocationS3Parameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -936,7 +939,8 @@ func (in *TaskInitParameters) DeepCopyInto(out *TaskInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1056,7 +1060,8 @@ func (in *TaskObservation) DeepCopyInto(out *TaskObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1071,7 +1076,8 @@ func (in *TaskObservation) DeepCopyInto(out *TaskObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1184,7 +1190,8 @@ func (in *TaskParameters) DeepCopyInto(out *TaskParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/datasync/v1beta1/zz_generated.managed.go b/apis/datasync/v1beta1/zz_generated.managed.go index 0a2376d0cf..d692a7445b 100644 --- a/apis/datasync/v1beta1/zz_generated.managed.go +++ b/apis/datasync/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LocationS3) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LocationS3. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LocationS3) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LocationS3. func (mg *LocationS3) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LocationS3) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LocationS3. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LocationS3) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LocationS3. func (mg *LocationS3) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Task) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Task. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Task) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Task. func (mg *Task) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Task) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Task. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Task) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Task. func (mg *Task) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/datasync/v1beta1/zz_locations3_types.go b/apis/datasync/v1beta1/zz_locations3_types.go index 3479f835ed..7e822cc977 100755 --- a/apis/datasync/v1beta1/zz_locations3_types.go +++ b/apis/datasync/v1beta1/zz_locations3_types.go @@ -167,8 +167,8 @@ type LocationS3Status struct { type LocationS3 struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Config) || has(self.initProvider.s3Config)",message="s3Config is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subdirectory) || has(self.initProvider.subdirectory)",message="subdirectory is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Config) || (has(self.initProvider) && has(self.initProvider.s3Config))",message="spec.forProvider.s3Config is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subdirectory) || (has(self.initProvider) && has(self.initProvider.subdirectory))",message="spec.forProvider.subdirectory is a required parameter" Spec LocationS3Spec `json:"spec"` Status LocationS3Status `json:"status,omitempty"` } diff --git a/apis/dax/v1beta1/zz_cluster_types.go b/apis/dax/v1beta1/zz_cluster_types.go index 4127bf01ee..bdc1562b94 100755 --- a/apis/dax/v1beta1/zz_cluster_types.go +++ b/apis/dax/v1beta1/zz_cluster_types.go @@ -300,8 +300,8 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || has(self.initProvider.nodeType)",message="nodeType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationFactor) || has(self.initProvider.replicationFactor)",message="replicationFactor is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || (has(self.initProvider) && has(self.initProvider.nodeType))",message="spec.forProvider.nodeType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationFactor) || (has(self.initProvider) && has(self.initProvider.replicationFactor))",message="spec.forProvider.replicationFactor is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/dax/v1beta1/zz_generated.deepcopy.go b/apis/dax/v1beta1/zz_generated.deepcopy.go index 7dd8783598..19940ffaef 100644 --- a/apis/dax/v1beta1/zz_generated.deepcopy.go +++ b/apis/dax/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -110,7 +109,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -278,7 +278,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -293,7 +294,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -424,7 +426,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/dax/v1beta1/zz_generated.managed.go b/apis/dax/v1beta1/zz_generated.managed.go index 620d3ca6ca..51d832d9bc 100644 --- a/apis/dax/v1beta1/zz_generated.managed.go +++ b/apis/dax/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/deploy/v1beta1/zz_generated.deepcopy.go b/apis/deploy/v1beta1/zz_generated.deepcopy.go index a2683ec0a7..6ebcf54faf 100644 --- a/apis/deploy/v1beta1/zz_generated.deepcopy.go +++ b/apis/deploy/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -165,7 +164,8 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -257,7 +257,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -272,7 +273,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -312,7 +314,8 @@ func (in *AppParameters) DeepCopyInto(out *AppParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -893,7 +896,8 @@ func (in *DeploymentGroupInitParameters) DeepCopyInto(out *DeploymentGroupInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1071,7 +1075,8 @@ func (in *DeploymentGroupObservation) DeepCopyInto(out *DeploymentGroupObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1086,7 +1091,8 @@ func (in *DeploymentGroupObservation) DeepCopyInto(out *DeploymentGroupObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1237,7 +1243,8 @@ func (in *DeploymentGroupParameters) DeepCopyInto(out *DeploymentGroupParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/deploy/v1beta1/zz_generated.managed.go b/apis/deploy/v1beta1/zz_generated.managed.go index c1328d9a8e..707c4b9177 100644 --- a/apis/deploy/v1beta1/zz_generated.managed.go +++ b/apis/deploy/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *App) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this App. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *App) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this App. func (mg *App) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *App) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this App. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *App) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this App. func (mg *App) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DeploymentConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeploymentConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeploymentConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeploymentConfig. func (mg *DeploymentConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DeploymentConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeploymentConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeploymentConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeploymentConfig. func (mg *DeploymentConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DeploymentGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeploymentGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeploymentGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeploymentGroup. func (mg *DeploymentGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DeploymentGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeploymentGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeploymentGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeploymentGroup. func (mg *DeploymentGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/detective/v1beta1/zz_generated.deepcopy.go b/apis/detective/v1beta1/zz_generated.deepcopy.go index 96f1937027..3ae95c838b 100644 --- a/apis/detective/v1beta1/zz_generated.deepcopy.go +++ b/apis/detective/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *GraphInitParameters) DeepCopyInto(out *GraphInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -129,7 +129,8 @@ func (in *GraphObservation) DeepCopyInto(out *GraphObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -144,7 +145,8 @@ func (in *GraphObservation) DeepCopyInto(out *GraphObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -179,7 +181,8 @@ func (in *GraphParameters) DeepCopyInto(out *GraphParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/detective/v1beta1/zz_generated.managed.go b/apis/detective/v1beta1/zz_generated.managed.go index 027002913e..7701c3bfc3 100644 --- a/apis/detective/v1beta1/zz_generated.managed.go +++ b/apis/detective/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Graph) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Graph. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Graph) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Graph. func (mg *Graph) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Graph) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Graph. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Graph) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Graph. func (mg *Graph) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *InvitationAccepter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InvitationAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InvitationAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InvitationAccepter. func (mg *InvitationAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *InvitationAccepter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InvitationAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InvitationAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InvitationAccepter. func (mg *InvitationAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Member) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Member. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Member) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Member. func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Member) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Member. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Member) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Member. func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/detective/v1beta1/zz_member_types.go b/apis/detective/v1beta1/zz_member_types.go index 7746e2fd86..7285541dd8 100755 --- a/apis/detective/v1beta1/zz_member_types.go +++ b/apis/detective/v1beta1/zz_member_types.go @@ -140,8 +140,8 @@ type MemberStatus struct { type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || has(self.initProvider.accountId)",message="accountId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailAddress) || has(self.initProvider.emailAddress)",message="emailAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || (has(self.initProvider) && has(self.initProvider.accountId))",message="spec.forProvider.accountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.emailAddress) || (has(self.initProvider) && has(self.initProvider.emailAddress))",message="spec.forProvider.emailAddress is a required parameter" Spec MemberSpec `json:"spec"` Status MemberStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_devicepool_types.go b/apis/devicefarm/v1beta1/zz_devicepool_types.go index 6f5aa2d9eb..ce01dd9fa7 100755 --- a/apis/devicefarm/v1beta1/zz_devicepool_types.go +++ b/apis/devicefarm/v1beta1/zz_devicepool_types.go @@ -179,8 +179,8 @@ type DevicePoolStatus struct { type DevicePool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec DevicePoolSpec `json:"spec"` Status DevicePoolStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_generated.deepcopy.go b/apis/devicefarm/v1beta1/zz_generated.deepcopy.go index 984c60f166..e269912397 100644 --- a/apis/devicefarm/v1beta1/zz_generated.deepcopy.go +++ b/apis/devicefarm/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -74,7 +73,8 @@ func (in *DevicePoolInitParameters) DeepCopyInto(out *DevicePoolInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -173,7 +173,8 @@ func (in *DevicePoolObservation) DeepCopyInto(out *DevicePoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -188,7 +189,8 @@ func (in *DevicePoolObservation) DeepCopyInto(out *DevicePoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -265,7 +267,8 @@ func (in *DevicePoolParameters) DeepCopyInto(out *DevicePoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -388,7 +391,8 @@ func (in *InstanceProfileInitParameters) DeepCopyInto(out *InstanceProfileInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -491,7 +495,8 @@ func (in *InstanceProfileObservation) DeepCopyInto(out *InstanceProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -506,7 +511,8 @@ func (in *InstanceProfileObservation) DeepCopyInto(out *InstanceProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -572,7 +578,8 @@ func (in *InstanceProfileParameters) DeepCopyInto(out *InstanceProfileParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -694,7 +701,8 @@ func (in *NetworkProfileInitParameters) DeepCopyInto(out *NetworkProfileInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -826,7 +834,8 @@ func (in *NetworkProfileObservation) DeepCopyInto(out *NetworkProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -841,7 +850,8 @@ func (in *NetworkProfileObservation) DeepCopyInto(out *NetworkProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -946,7 +956,8 @@ func (in *NetworkProfileParameters) DeepCopyInto(out *NetworkProfileParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1073,7 +1084,8 @@ func (in *ProjectInitParameters) DeepCopyInto(out *ProjectInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1155,7 +1167,8 @@ func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1170,7 +1183,8 @@ func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1215,7 +1229,8 @@ func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1407,7 +1422,8 @@ func (in *TestGridProjectInitParameters) DeepCopyInto(out *TestGridProjectInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1494,7 +1510,8 @@ func (in *TestGridProjectObservation) DeepCopyInto(out *TestGridProjectObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1509,7 +1526,8 @@ func (in *TestGridProjectObservation) DeepCopyInto(out *TestGridProjectObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1561,7 +1579,8 @@ func (in *TestGridProjectParameters) DeepCopyInto(out *TestGridProjectParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/devicefarm/v1beta1/zz_generated.managed.go b/apis/devicefarm/v1beta1/zz_generated.managed.go index 69cad692fe..4d14534cbc 100644 --- a/apis/devicefarm/v1beta1/zz_generated.managed.go +++ b/apis/devicefarm/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DevicePool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DevicePool. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DevicePool) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DevicePool. func (mg *DevicePool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DevicePool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DevicePool. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DevicePool) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DevicePool. func (mg *DevicePool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *InstanceProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstanceProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstanceProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstanceProfile. func (mg *InstanceProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *InstanceProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstanceProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstanceProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstanceProfile. func (mg *InstanceProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *NetworkProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkProfile. func (mg *NetworkProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *NetworkProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkProfile. func (mg *NetworkProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Project) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Project. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Project) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Project. func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Project) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Project. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Project) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Project. func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *TestGridProject) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TestGridProject. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TestGridProject) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TestGridProject. func (mg *TestGridProject) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *TestGridProject) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TestGridProject. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TestGridProject) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TestGridProject. func (mg *TestGridProject) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Upload) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Upload. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Upload) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Upload. func (mg *Upload) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Upload) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Upload. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Upload) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Upload. func (mg *Upload) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/devicefarm/v1beta1/zz_instanceprofile_types.go b/apis/devicefarm/v1beta1/zz_instanceprofile_types.go index fe641c61f5..ce53d84c44 100755 --- a/apis/devicefarm/v1beta1/zz_instanceprofile_types.go +++ b/apis/devicefarm/v1beta1/zz_instanceprofile_types.go @@ -131,7 +131,7 @@ type InstanceProfileStatus struct { type InstanceProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec InstanceProfileSpec `json:"spec"` Status InstanceProfileStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_networkprofile_types.go b/apis/devicefarm/v1beta1/zz_networkprofile_types.go index 71cd8af5d0..d1459f8ce4 100755 --- a/apis/devicefarm/v1beta1/zz_networkprofile_types.go +++ b/apis/devicefarm/v1beta1/zz_networkprofile_types.go @@ -208,7 +208,7 @@ type NetworkProfileStatus struct { type NetworkProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec NetworkProfileSpec `json:"spec"` Status NetworkProfileStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_project_types.go b/apis/devicefarm/v1beta1/zz_project_types.go index 47a7f5ff89..618a7d4ef1 100755 --- a/apis/devicefarm/v1beta1/zz_project_types.go +++ b/apis/devicefarm/v1beta1/zz_project_types.go @@ -101,7 +101,7 @@ type ProjectStatus struct { type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ProjectSpec `json:"spec"` Status ProjectStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_testgridproject_types.go b/apis/devicefarm/v1beta1/zz_testgridproject_types.go index c781154a8e..a43b2980c1 100755 --- a/apis/devicefarm/v1beta1/zz_testgridproject_types.go +++ b/apis/devicefarm/v1beta1/zz_testgridproject_types.go @@ -173,7 +173,7 @@ type TestGridProjectStatus struct { type TestGridProject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec TestGridProjectSpec `json:"spec"` Status TestGridProjectStatus `json:"status,omitempty"` } diff --git a/apis/devicefarm/v1beta1/zz_upload_types.go b/apis/devicefarm/v1beta1/zz_upload_types.go index 2e3ce660fa..c3df5b2d7b 100755 --- a/apis/devicefarm/v1beta1/zz_upload_types.go +++ b/apis/devicefarm/v1beta1/zz_upload_types.go @@ -124,8 +124,8 @@ type UploadStatus struct { type Upload struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec UploadSpec `json:"spec"` Status UploadStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_bgppeer_types.go b/apis/directconnect/v1beta1/zz_bgppeer_types.go index 8897e5a369..9eface3dea 100755 --- a/apis/directconnect/v1beta1/zz_bgppeer_types.go +++ b/apis/directconnect/v1beta1/zz_bgppeer_types.go @@ -148,8 +148,8 @@ type BGPPeerStatus struct { type BGPPeer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" Spec BGPPeerSpec `json:"spec"` Status BGPPeerStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_connection_types.go b/apis/directconnect/v1beta1/zz_connection_types.go index 827e277275..e7e99fbc32 100755 --- a/apis/directconnect/v1beta1/zz_connection_types.go +++ b/apis/directconnect/v1beta1/zz_connection_types.go @@ -173,9 +173,9 @@ type ConnectionStatus struct { type Connection struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bandwidth) || has(self.initProvider.bandwidth)",message="bandwidth is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || has(self.initProvider.location)",message="location is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bandwidth) || (has(self.initProvider) && has(self.initProvider.bandwidth))",message="spec.forProvider.bandwidth is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ConnectionSpec `json:"spec"` Status ConnectionStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_gateway_types.go b/apis/directconnect/v1beta1/zz_gateway_types.go index c30cb5fca4..7d019ac04c 100755 --- a/apis/directconnect/v1beta1/zz_gateway_types.go +++ b/apis/directconnect/v1beta1/zz_gateway_types.go @@ -89,8 +89,8 @@ type GatewayStatus struct { type Gateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amazonSideAsn) || has(self.initProvider.amazonSideAsn)",message="amazonSideAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amazonSideAsn) || (has(self.initProvider) && has(self.initProvider.amazonSideAsn))",message="spec.forProvider.amazonSideAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec GatewaySpec `json:"spec"` Status GatewayStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_generated.deepcopy.go b/apis/directconnect/v1beta1/zz_generated.deepcopy.go index 512baf039c..7ec68dbf60 100644 --- a/apis/directconnect/v1beta1/zz_generated.deepcopy.go +++ b/apis/directconnect/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -535,7 +534,8 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -677,7 +677,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -692,7 +693,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -767,7 +769,8 @@ func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1609,7 +1612,8 @@ func (in *HostedPrivateVirtualInterfaceAccepterInitParameters) DeepCopyInto(out if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1686,7 +1690,8 @@ func (in *HostedPrivateVirtualInterfaceAccepterObservation) DeepCopyInto(out *Ho if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1701,7 +1706,8 @@ func (in *HostedPrivateVirtualInterfaceAccepterObservation) DeepCopyInto(out *Ho if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1751,7 +1757,8 @@ func (in *HostedPrivateVirtualInterfaceAccepterParameters) DeepCopyInto(out *Hos if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2197,7 +2204,8 @@ func (in *HostedPublicVirtualInterfaceAccepterInitParameters) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2269,7 +2277,8 @@ func (in *HostedPublicVirtualInterfaceAccepterObservation) DeepCopyInto(out *Hos if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2284,7 +2293,8 @@ func (in *HostedPublicVirtualInterfaceAccepterObservation) DeepCopyInto(out *Hos if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2324,7 +2334,8 @@ func (in *HostedPublicVirtualInterfaceAccepterParameters) DeepCopyInto(out *Host if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2768,7 +2779,8 @@ func (in *HostedTransitVirtualInterfaceAccepterInitParameters) DeepCopyInto(out if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2845,7 +2857,8 @@ func (in *HostedTransitVirtualInterfaceAccepterObservation) DeepCopyInto(out *Ho if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2860,7 +2873,8 @@ func (in *HostedTransitVirtualInterfaceAccepterObservation) DeepCopyInto(out *Ho if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2915,7 +2929,8 @@ func (in *HostedTransitVirtualInterfaceAccepterParameters) DeepCopyInto(out *Hos if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3349,7 +3364,8 @@ func (in *LagInitParameters) DeepCopyInto(out *LagInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3466,7 +3482,8 @@ func (in *LagObservation) DeepCopyInto(out *LagObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3481,7 +3498,8 @@ func (in *LagObservation) DeepCopyInto(out *LagObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3546,7 +3564,8 @@ func (in *LagParameters) DeepCopyInto(out *LagParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3683,7 +3702,8 @@ func (in *PrivateVirtualInterfaceInitParameters) DeepCopyInto(out *PrivateVirtua if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3825,7 +3845,8 @@ func (in *PrivateVirtualInterfaceObservation) DeepCopyInto(out *PrivateVirtualIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3840,7 +3861,8 @@ func (in *PrivateVirtualInterfaceObservation) DeepCopyInto(out *PrivateVirtualIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3945,7 +3967,8 @@ func (in *PrivateVirtualInterfaceParameters) DeepCopyInto(out *PrivateVirtualInt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4098,7 +4121,8 @@ func (in *PublicVirtualInterfaceInitParameters) DeepCopyInto(out *PublicVirtualI if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4231,7 +4255,8 @@ func (in *PublicVirtualInterfaceObservation) DeepCopyInto(out *PublicVirtualInte if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4246,7 +4271,8 @@ func (in *PublicVirtualInterfaceObservation) DeepCopyInto(out *PublicVirtualInte if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4342,7 +4368,8 @@ func (in *PublicVirtualInterfaceParameters) DeepCopyInto(out *PublicVirtualInter if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4479,7 +4506,8 @@ func (in *TransitVirtualInterfaceInitParameters) DeepCopyInto(out *TransitVirtua if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4621,7 +4649,8 @@ func (in *TransitVirtualInterfaceObservation) DeepCopyInto(out *TransitVirtualIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4636,7 +4665,8 @@ func (in *TransitVirtualInterfaceObservation) DeepCopyInto(out *TransitVirtualIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4746,7 +4776,8 @@ func (in *TransitVirtualInterfaceParameters) DeepCopyInto(out *TransitVirtualInt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/directconnect/v1beta1/zz_generated.managed.go b/apis/directconnect/v1beta1/zz_generated.managed.go index d1888f4954..41636bb337 100644 --- a/apis/directconnect/v1beta1/zz_generated.managed.go +++ b/apis/directconnect/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *BGPPeer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BGPPeer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BGPPeer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BGPPeer. func (mg *BGPPeer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *BGPPeer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BGPPeer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BGPPeer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BGPPeer. func (mg *BGPPeer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ConnectionAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConnectionAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConnectionAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConnectionAssociation. func (mg *ConnectionAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ConnectionAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConnectionAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConnectionAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConnectionAssociation. func (mg *ConnectionAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Gateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Gateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Gateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Gateway. func (mg *Gateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Gateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Gateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Gateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Gateway. func (mg *Gateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *GatewayAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GatewayAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GatewayAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GatewayAssociation. func (mg *GatewayAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *GatewayAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GatewayAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GatewayAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GatewayAssociation. func (mg *GatewayAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *GatewayAssociationProposal) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GatewayAssociationProposal. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GatewayAssociationProposal) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GatewayAssociationProposal. func (mg *GatewayAssociationProposal) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *GatewayAssociationProposal) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GatewayAssociationProposal. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GatewayAssociationProposal) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GatewayAssociationProposal. func (mg *GatewayAssociationProposal) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *HostedPrivateVirtualInterface) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedPrivateVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedPrivateVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedPrivateVirtualInterface. func (mg *HostedPrivateVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *HostedPrivateVirtualInterface) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedPrivateVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedPrivateVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedPrivateVirtualInterface. func (mg *HostedPrivateVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *HostedPrivateVirtualInterfaceAccepter) GetProviderConfigReference() *x return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedPrivateVirtualInterfaceAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedPrivateVirtualInterfaceAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedPrivateVirtualInterfaceAccepter. func (mg *HostedPrivateVirtualInterfaceAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *HostedPrivateVirtualInterfaceAccepter) SetProviderConfigReference(r *x mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedPrivateVirtualInterfaceAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedPrivateVirtualInterfaceAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedPrivateVirtualInterfaceAccepter. func (mg *HostedPrivateVirtualInterfaceAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *HostedPublicVirtualInterface) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedPublicVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedPublicVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedPublicVirtualInterface. func (mg *HostedPublicVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *HostedPublicVirtualInterface) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedPublicVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedPublicVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedPublicVirtualInterface. func (mg *HostedPublicVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *HostedPublicVirtualInterfaceAccepter) GetProviderConfigReference() *xp return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedPublicVirtualInterfaceAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedPublicVirtualInterfaceAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedPublicVirtualInterfaceAccepter. func (mg *HostedPublicVirtualInterfaceAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *HostedPublicVirtualInterfaceAccepter) SetProviderConfigReference(r *xp mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedPublicVirtualInterfaceAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedPublicVirtualInterfaceAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedPublicVirtualInterfaceAccepter. func (mg *HostedPublicVirtualInterfaceAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *HostedTransitVirtualInterface) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedTransitVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedTransitVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedTransitVirtualInterface. func (mg *HostedTransitVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *HostedTransitVirtualInterface) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedTransitVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedTransitVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedTransitVirtualInterface. func (mg *HostedTransitVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *HostedTransitVirtualInterfaceAccepter) GetProviderConfigReference() *x return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedTransitVirtualInterfaceAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedTransitVirtualInterfaceAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedTransitVirtualInterfaceAccepter. func (mg *HostedTransitVirtualInterfaceAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *HostedTransitVirtualInterfaceAccepter) SetProviderConfigReference(r *x mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedTransitVirtualInterfaceAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedTransitVirtualInterfaceAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedTransitVirtualInterfaceAccepter. func (mg *HostedTransitVirtualInterfaceAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *Lag) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Lag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Lag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Lag. func (mg *Lag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *Lag) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Lag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Lag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Lag. func (mg *Lag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *PrivateVirtualInterface) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PrivateVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PrivateVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PrivateVirtualInterface. func (mg *PrivateVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *PrivateVirtualInterface) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PrivateVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PrivateVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PrivateVirtualInterface. func (mg *PrivateVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *PublicVirtualInterface) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PublicVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PublicVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PublicVirtualInterface. func (mg *PublicVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *PublicVirtualInterface) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PublicVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PublicVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PublicVirtualInterface. func (mg *PublicVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *TransitVirtualInterface) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitVirtualInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitVirtualInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitVirtualInterface. func (mg *TransitVirtualInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *TransitVirtualInterface) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitVirtualInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitVirtualInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitVirtualInterface. func (mg *TransitVirtualInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go index dd442d8b8b..f531a0039f 100755 --- a/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedprivatevirtualinterface_types.go @@ -183,11 +183,11 @@ type HostedPrivateVirtualInterfaceStatus struct { type HostedPrivateVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || has(self.initProvider.ownerAccountId)",message="ownerAccountId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || (has(self.initProvider) && has(self.initProvider.ownerAccountId))",message="spec.forProvider.ownerAccountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec HostedPrivateVirtualInterfaceSpec `json:"spec"` Status HostedPrivateVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go index 810cbc85b7..cebc175a36 100755 --- a/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedpublicvirtualinterface_types.go @@ -180,12 +180,12 @@ type HostedPublicVirtualInterfaceStatus struct { type HostedPublicVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || has(self.initProvider.ownerAccountId)",message="ownerAccountId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) || has(self.initProvider.routeFilterPrefixes)",message="routeFilterPrefixes is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || (has(self.initProvider) && has(self.initProvider.ownerAccountId))",message="spec.forProvider.ownerAccountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) || (has(self.initProvider) && has(self.initProvider.routeFilterPrefixes))",message="spec.forProvider.routeFilterPrefixes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec HostedPublicVirtualInterfaceSpec `json:"spec"` Status HostedPublicVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go index 5ad4962f1f..3b94f191b2 100755 --- a/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_hostedtransitvirtualinterface_types.go @@ -183,11 +183,11 @@ type HostedTransitVirtualInterfaceStatus struct { type HostedTransitVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || has(self.initProvider.ownerAccountId)",message="ownerAccountId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerAccountId) || (has(self.initProvider) && has(self.initProvider.ownerAccountId))",message="spec.forProvider.ownerAccountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec HostedTransitVirtualInterfaceSpec `json:"spec"` Status HostedTransitVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_lag_types.go b/apis/directconnect/v1beta1/zz_lag_types.go index e64dcb796d..8a6df3c472 100755 --- a/apis/directconnect/v1beta1/zz_lag_types.go +++ b/apis/directconnect/v1beta1/zz_lag_types.go @@ -151,9 +151,9 @@ type LagStatus struct { type Lag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.connectionsBandwidth) || has(self.initProvider.connectionsBandwidth)",message="connectionsBandwidth is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || has(self.initProvider.location)",message="location is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.connectionsBandwidth) || (has(self.initProvider) && has(self.initProvider.connectionsBandwidth))",message="spec.forProvider.connectionsBandwidth is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.location) || (has(self.initProvider) && has(self.initProvider.location))",message="spec.forProvider.location is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LagSpec `json:"spec"` Status LagStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go b/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go index a61ebe5a06..074847bd78 100755 --- a/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_privatevirtualinterface_types.go @@ -225,10 +225,10 @@ type PrivateVirtualInterfaceStatus struct { type PrivateVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec PrivateVirtualInterfaceSpec `json:"spec"` Status PrivateVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go index 60a549e546..7bb747a602 100755 --- a/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_publicvirtualinterface_types.go @@ -183,11 +183,11 @@ type PublicVirtualInterfaceStatus struct { type PublicVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) || has(self.initProvider.routeFilterPrefixes)",message="routeFilterPrefixes is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) || (has(self.initProvider) && has(self.initProvider.routeFilterPrefixes))",message="spec.forProvider.routeFilterPrefixes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec PublicVirtualInterfaceSpec `json:"spec"` Status PublicVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go b/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go index 4f432aa797..6e7e62751b 100755 --- a/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go +++ b/apis/directconnect/v1beta1/zz_transitvirtualinterface_types.go @@ -217,10 +217,10 @@ type TransitVirtualInterfaceStatus struct { type TransitVirtualInterface struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || has(self.initProvider.vlan)",message="vlan is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vlan) || (has(self.initProvider) && has(self.initProvider.vlan))",message="spec.forProvider.vlan is a required parameter" Spec TransitVirtualInterfaceSpec `json:"spec"` Status TransitVirtualInterfaceStatus `json:"status,omitempty"` } diff --git a/apis/dlm/v1beta1/zz_generated.deepcopy.go b/apis/dlm/v1beta1/zz_generated.deepcopy.go index 4ce05135a8..75e49a00f6 100644 --- a/apis/dlm/v1beta1/zz_generated.deepcopy.go +++ b/apis/dlm/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -971,7 +970,8 @@ func (in *LifecyclePolicyInitParameters) DeepCopyInto(out *LifecyclePolicyInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1065,7 +1065,8 @@ func (in *LifecyclePolicyObservation) DeepCopyInto(out *LifecyclePolicyObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1080,7 +1081,8 @@ func (in *LifecyclePolicyObservation) DeepCopyInto(out *LifecyclePolicyObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1147,7 +1149,8 @@ func (in *LifecyclePolicyParameters) DeepCopyInto(out *LifecyclePolicyParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1375,7 +1378,8 @@ func (in *PolicyDetailsInitParameters) DeepCopyInto(out *PolicyDetailsInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1460,7 +1464,8 @@ func (in *PolicyDetailsObservation) DeepCopyInto(out *PolicyDetailsObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1545,7 +1550,8 @@ func (in *PolicyDetailsParameters) DeepCopyInto(out *PolicyDetailsParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1867,7 +1873,8 @@ func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1882,7 +1889,8 @@ func (in *ScheduleInitParameters) DeepCopyInto(out *ScheduleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1964,7 +1972,8 @@ func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1979,7 +1988,8 @@ func (in *ScheduleObservation) DeepCopyInto(out *ScheduleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2061,7 +2071,8 @@ func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2076,7 +2087,8 @@ func (in *ScheduleParameters) DeepCopyInto(out *ScheduleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/dlm/v1beta1/zz_generated.managed.go b/apis/dlm/v1beta1/zz_generated.managed.go index 666cc601f5..49e8076c4e 100644 --- a/apis/dlm/v1beta1/zz_generated.managed.go +++ b/apis/dlm/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LifecyclePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LifecyclePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LifecyclePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LifecyclePolicy. func (mg *LifecyclePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LifecyclePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LifecyclePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LifecyclePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LifecyclePolicy. func (mg *LifecyclePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go b/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go index 9bb738725f..d8a4285958 100755 --- a/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go +++ b/apis/dlm/v1beta1/zz_lifecyclepolicy_types.go @@ -909,8 +909,8 @@ type LifecyclePolicyStatus struct { type LifecyclePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDetails) || has(self.initProvider.policyDetails)",message="policyDetails is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyDetails) || (has(self.initProvider) && has(self.initProvider.policyDetails))",message="spec.forProvider.policyDetails is a required parameter" Spec LifecyclePolicySpec `json:"spec"` Status LifecyclePolicyStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_endpoint_types.go b/apis/dms/v1beta1/zz_endpoint_types.go index 7f179309a4..dc269ffa07 100755 --- a/apis/dms/v1beta1/zz_endpoint_types.go +++ b/apis/dms/v1beta1/zz_endpoint_types.go @@ -1224,8 +1224,8 @@ type EndpointStatus struct { type Endpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || has(self.initProvider.endpointType)",message="endpointType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineName) || has(self.initProvider.engineName)",message="engineName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || (has(self.initProvider) && has(self.initProvider.endpointType))",message="spec.forProvider.endpointType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineName) || (has(self.initProvider) && has(self.initProvider.engineName))",message="spec.forProvider.engineName is a required parameter" Spec EndpointSpec `json:"spec"` Status EndpointStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_eventsubscription_types.go b/apis/dms/v1beta1/zz_eventsubscription_types.go index 3cac023c9b..432e99d796 100755 --- a/apis/dms/v1beta1/zz_eventsubscription_types.go +++ b/apis/dms/v1beta1/zz_eventsubscription_types.go @@ -138,7 +138,7 @@ type EventSubscriptionStatus struct { type EventSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventCategories) || has(self.initProvider.eventCategories)",message="eventCategories is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventCategories) || (has(self.initProvider) && has(self.initProvider.eventCategories))",message="spec.forProvider.eventCategories is a required parameter" Spec EventSubscriptionSpec `json:"spec"` Status EventSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_generated.deepcopy.go b/apis/dms/v1beta1/zz_generated.deepcopy.go index 0c42ef2676..dcde367132 100644 --- a/apis/dms/v1beta1/zz_generated.deepcopy.go +++ b/apis/dms/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -124,7 +124,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -139,7 +140,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -184,7 +186,8 @@ func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -475,7 +478,8 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -661,7 +665,8 @@ func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -676,7 +681,8 @@ func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -860,7 +866,8 @@ func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -989,7 +996,8 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1098,7 +1106,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1113,7 +1122,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1195,7 +1205,8 @@ func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2207,7 +2218,8 @@ func (in *ReplicationInstanceInitParameters) DeepCopyInto(out *ReplicationInstan if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2361,7 +2373,8 @@ func (in *ReplicationInstanceObservation) DeepCopyInto(out *ReplicationInstanceO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2376,7 +2389,8 @@ func (in *ReplicationInstanceObservation) DeepCopyInto(out *ReplicationInstanceO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2502,7 +2516,8 @@ func (in *ReplicationInstanceParameters) DeepCopyInto(out *ReplicationInstancePa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2622,7 +2637,8 @@ func (in *ReplicationSubnetGroupInitParameters) DeepCopyInto(out *ReplicationSub if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2710,7 +2726,8 @@ func (in *ReplicationSubnetGroupObservation) DeepCopyInto(out *ReplicationSubnet if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2725,7 +2742,8 @@ func (in *ReplicationSubnetGroupObservation) DeepCopyInto(out *ReplicationSubnet if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2793,7 +2811,8 @@ func (in *ReplicationSubnetGroupParameters) DeepCopyInto(out *ReplicationSubnetG if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2915,7 +2934,8 @@ func (in *ReplicationTaskInitParameters) DeepCopyInto(out *ReplicationTaskInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3032,7 +3052,8 @@ func (in *ReplicationTaskObservation) DeepCopyInto(out *ReplicationTaskObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3047,7 +3068,8 @@ func (in *ReplicationTaskObservation) DeepCopyInto(out *ReplicationTaskObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3147,7 +3169,8 @@ func (in *ReplicationTaskParameters) DeepCopyInto(out *ReplicationTaskParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3449,7 +3472,8 @@ func (in *S3EndpointInitParameters) DeepCopyInto(out *S3EndpointInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3761,7 +3785,8 @@ func (in *S3EndpointObservation) DeepCopyInto(out *S3EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3776,7 +3801,8 @@ func (in *S3EndpointObservation) DeepCopyInto(out *S3EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4066,7 +4092,8 @@ func (in *S3EndpointParameters) DeepCopyInto(out *S3EndpointParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/dms/v1beta1/zz_generated.managed.go b/apis/dms/v1beta1/zz_generated.managed.go index 2df6d4ae8a..7e1db6880e 100644 --- a/apis/dms/v1beta1/zz_generated.managed.go +++ b/apis/dms/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Certificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Certificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Certificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Endpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Endpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Endpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Endpoint. func (mg *Endpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Endpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Endpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Endpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Endpoint. func (mg *Endpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ReplicationInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationInstance. func (mg *ReplicationInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ReplicationInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationInstance. func (mg *ReplicationInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ReplicationSubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationSubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationSubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationSubnetGroup. func (mg *ReplicationSubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ReplicationSubnetGroup) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationSubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationSubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationSubnetGroup. func (mg *ReplicationSubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ReplicationTask) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationTask. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationTask) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationTask. func (mg *ReplicationTask) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ReplicationTask) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationTask. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationTask) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationTask. func (mg *ReplicationTask) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *S3Endpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this S3Endpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *S3Endpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this S3Endpoint. func (mg *S3Endpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *S3Endpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this S3Endpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *S3Endpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this S3Endpoint. func (mg *S3Endpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/dms/v1beta1/zz_replicationinstance_types.go b/apis/dms/v1beta1/zz_replicationinstance_types.go index b9762832ef..07e08391e5 100755 --- a/apis/dms/v1beta1/zz_replicationinstance_types.go +++ b/apis/dms/v1beta1/zz_replicationinstance_types.go @@ -238,7 +238,7 @@ type ReplicationInstanceStatus struct { type ReplicationInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationInstanceClass) || has(self.initProvider.replicationInstanceClass)",message="replicationInstanceClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationInstanceClass) || (has(self.initProvider) && has(self.initProvider.replicationInstanceClass))",message="spec.forProvider.replicationInstanceClass is a required parameter" Spec ReplicationInstanceSpec `json:"spec"` Status ReplicationInstanceStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go b/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go index b67d80e162..cc1a62dd59 100755 --- a/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go +++ b/apis/dms/v1beta1/zz_replicationsubnetgroup_types.go @@ -110,7 +110,7 @@ type ReplicationSubnetGroupStatus struct { type ReplicationSubnetGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationSubnetGroupDescription) || has(self.initProvider.replicationSubnetGroupDescription)",message="replicationSubnetGroupDescription is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replicationSubnetGroupDescription) || (has(self.initProvider) && has(self.initProvider.replicationSubnetGroupDescription))",message="spec.forProvider.replicationSubnetGroupDescription is a required parameter" Spec ReplicationSubnetGroupSpec `json:"spec"` Status ReplicationSubnetGroupStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_replicationtask_types.go b/apis/dms/v1beta1/zz_replicationtask_types.go index fae6101522..8fabca1987 100755 --- a/apis/dms/v1beta1/zz_replicationtask_types.go +++ b/apis/dms/v1beta1/zz_replicationtask_types.go @@ -195,8 +195,8 @@ type ReplicationTaskStatus struct { type ReplicationTask struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.migrationType) || has(self.initProvider.migrationType)",message="migrationType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tableMappings) || has(self.initProvider.tableMappings)",message="tableMappings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.migrationType) || (has(self.initProvider) && has(self.initProvider.migrationType))",message="spec.forProvider.migrationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tableMappings) || (has(self.initProvider) && has(self.initProvider.tableMappings))",message="spec.forProvider.tableMappings is a required parameter" Spec ReplicationTaskSpec `json:"spec"` Status ReplicationTaskStatus `json:"status,omitempty"` } diff --git a/apis/dms/v1beta1/zz_s3endpoint_types.go b/apis/dms/v1beta1/zz_s3endpoint_types.go index 9d3ac56890..bdc47cefe1 100755 --- a/apis/dms/v1beta1/zz_s3endpoint_types.go +++ b/apis/dms/v1beta1/zz_s3endpoint_types.go @@ -560,8 +560,8 @@ type S3EndpointStatus struct { type S3Endpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucketName) || has(self.initProvider.bucketName)",message="bucketName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || has(self.initProvider.endpointType)",message="endpointType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucketName) || (has(self.initProvider) && has(self.initProvider.bucketName))",message="spec.forProvider.bucketName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || (has(self.initProvider) && has(self.initProvider.endpointType))",message="spec.forProvider.endpointType is a required parameter" Spec S3EndpointSpec `json:"spec"` Status S3EndpointStatus `json:"status,omitempty"` } diff --git a/apis/docdb/v1beta1/zz_clusterinstance_types.go b/apis/docdb/v1beta1/zz_clusterinstance_types.go index 08a0d1d604..eb080ce970 100755 --- a/apis/docdb/v1beta1/zz_clusterinstance_types.go +++ b/apis/docdb/v1beta1/zz_clusterinstance_types.go @@ -238,7 +238,7 @@ type ClusterInstanceStatus struct { type ClusterInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || has(self.initProvider.instanceClass)",message="instanceClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || (has(self.initProvider) && has(self.initProvider.instanceClass))",message="spec.forProvider.instanceClass is a required parameter" Spec ClusterInstanceSpec `json:"spec"` Status ClusterInstanceStatus `json:"status,omitempty"` } diff --git a/apis/docdb/v1beta1/zz_clusterparametergroup_types.go b/apis/docdb/v1beta1/zz_clusterparametergroup_types.go index 4f6de6894e..c780597dae 100755 --- a/apis/docdb/v1beta1/zz_clusterparametergroup_types.go +++ b/apis/docdb/v1beta1/zz_clusterparametergroup_types.go @@ -151,7 +151,7 @@ type ClusterParameterGroupStatus struct { type ClusterParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ClusterParameterGroupSpec `json:"spec"` Status ClusterParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/docdb/v1beta1/zz_generated.deepcopy.go b/apis/docdb/v1beta1/zz_generated.deepcopy.go index e3016ba9bc..1046224b4a 100644 --- a/apis/docdb/v1beta1/zz_generated.deepcopy.go +++ b/apis/docdb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -154,7 +153,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -261,7 +261,8 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -433,7 +434,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -448,7 +450,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -553,7 +556,8 @@ func (in *ClusterInstanceParameters) DeepCopyInto(out *ClusterInstanceParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -798,7 +802,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -813,7 +818,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -898,7 +904,8 @@ func (in *ClusterParameterGroupInitParameters) DeepCopyInto(out *ClusterParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -987,7 +994,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1002,7 +1010,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1054,7 +1063,8 @@ func (in *ClusterParameterGroupParameters) DeepCopyInto(out *ClusterParameterGro if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1246,7 +1256,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1623,7 +1634,8 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1737,7 +1749,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1752,7 +1765,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1834,7 +1848,8 @@ func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2357,7 +2372,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2445,7 +2461,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2460,7 +2477,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2523,7 +2541,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/docdb/v1beta1/zz_generated.managed.go b/apis/docdb/v1beta1/zz_generated.managed.go index 4a029c3318..47c4d355da 100644 --- a/apis/docdb/v1beta1/zz_generated.managed.go +++ b/apis/docdb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ClusterInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ClusterInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ClusterParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ClusterParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ClusterSnapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterSnapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ClusterSnapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterSnapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *GlobalCluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalCluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalCluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *GlobalCluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalCluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalCluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/docdb/v1beta1/zz_globalcluster_types.go b/apis/docdb/v1beta1/zz_globalcluster_types.go index 0c32f4ab5b..84b60f501b 100755 --- a/apis/docdb/v1beta1/zz_globalcluster_types.go +++ b/apis/docdb/v1beta1/zz_globalcluster_types.go @@ -169,7 +169,7 @@ type GlobalClusterStatus struct { type GlobalCluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.globalClusterIdentifier) || has(self.initProvider.globalClusterIdentifier)",message="globalClusterIdentifier is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.globalClusterIdentifier) || (has(self.initProvider) && has(self.initProvider.globalClusterIdentifier))",message="spec.forProvider.globalClusterIdentifier is a required parameter" Spec GlobalClusterSpec `json:"spec"` Status GlobalClusterStatus `json:"status,omitempty"` } diff --git a/apis/ds/v1beta1/zz_conditionalforwarder_types.go b/apis/ds/v1beta1/zz_conditionalforwarder_types.go index b612ac4551..806a30fb62 100755 --- a/apis/ds/v1beta1/zz_conditionalforwarder_types.go +++ b/apis/ds/v1beta1/zz_conditionalforwarder_types.go @@ -99,7 +99,7 @@ type ConditionalForwarderStatus struct { type ConditionalForwarder struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dnsIps) || has(self.initProvider.dnsIps)",message="dnsIps is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dnsIps) || (has(self.initProvider) && has(self.initProvider.dnsIps))",message="spec.forProvider.dnsIps is a required parameter" Spec ConditionalForwarderSpec `json:"spec"` Status ConditionalForwarderStatus `json:"status,omitempty"` } diff --git a/apis/ds/v1beta1/zz_directory_types.go b/apis/ds/v1beta1/zz_directory_types.go index fef7c8c49f..24241392cb 100755 --- a/apis/ds/v1beta1/zz_directory_types.go +++ b/apis/ds/v1beta1/zz_directory_types.go @@ -311,8 +311,8 @@ type DirectoryStatus struct { type Directory struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="passwordSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)",message="spec.forProvider.passwordSecretRef is a required parameter" Spec DirectorySpec `json:"spec"` Status DirectoryStatus `json:"status,omitempty"` } diff --git a/apis/ds/v1beta1/zz_generated.deepcopy.go b/apis/ds/v1beta1/zz_generated.deepcopy.go index 73aecc7974..c6b4779eb9 100644 --- a/apis/ds/v1beta1/zz_generated.deepcopy.go +++ b/apis/ds/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -480,7 +479,8 @@ func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -625,7 +625,8 @@ func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -640,7 +641,8 @@ func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -735,7 +737,8 @@ func (in *DirectoryParameters) DeepCopyInto(out *DirectoryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ds/v1beta1/zz_generated.managed.go b/apis/ds/v1beta1/zz_generated.managed.go index 1e39a92ad0..e6a240da0d 100644 --- a/apis/ds/v1beta1/zz_generated.managed.go +++ b/apis/ds/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ConditionalForwarder) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConditionalForwarder. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConditionalForwarder) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConditionalForwarder. func (mg *ConditionalForwarder) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ConditionalForwarder) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConditionalForwarder. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConditionalForwarder) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConditionalForwarder. func (mg *ConditionalForwarder) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Directory) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Directory. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Directory) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Directory. func (mg *Directory) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Directory) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Directory. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Directory) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Directory. func (mg *Directory) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *SharedDirectory) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SharedDirectory. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SharedDirectory) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SharedDirectory. func (mg *SharedDirectory) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *SharedDirectory) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SharedDirectory. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SharedDirectory) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SharedDirectory. func (mg *SharedDirectory) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ds/v1beta1/zz_shareddirectory_types.go b/apis/ds/v1beta1/zz_shareddirectory_types.go index ef3870e99d..ae40a0a4ae 100755 --- a/apis/ds/v1beta1/zz_shareddirectory_types.go +++ b/apis/ds/v1beta1/zz_shareddirectory_types.go @@ -139,7 +139,7 @@ type SharedDirectoryStatus struct { type SharedDirectory struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || has(self.initProvider.target)",message="target is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter" Spec SharedDirectorySpec `json:"spec"` Status SharedDirectoryStatus `json:"status,omitempty"` } diff --git a/apis/dynamodb/v1beta1/zz_generated.deepcopy.go b/apis/dynamodb/v1beta1/zz_generated.deepcopy.go index 62c68411d0..c8fcd0c18e 100644 --- a/apis/dynamodb/v1beta1/zz_generated.deepcopy.go +++ b/apis/dynamodb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1340,7 +1339,8 @@ func (in *TableInitParameters) DeepCopyInto(out *TableInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1745,7 +1745,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1760,7 +1761,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1904,7 +1906,8 @@ func (in *TableParameters) DeepCopyInto(out *TableParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2011,7 +2014,8 @@ func (in *TableReplicaInitParameters_2) DeepCopyInto(out *TableReplicaInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2153,7 +2157,8 @@ func (in *TableReplicaObservation_2) DeepCopyInto(out *TableReplicaObservation_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2168,7 +2173,8 @@ func (in *TableReplicaObservation_2) DeepCopyInto(out *TableReplicaObservation_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2278,7 +2284,8 @@ func (in *TableReplicaParameters_2) DeepCopyInto(out *TableReplicaParameters_2) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/dynamodb/v1beta1/zz_generated.managed.go b/apis/dynamodb/v1beta1/zz_generated.managed.go index bfe0a62cb4..fb485010e5 100644 --- a/apis/dynamodb/v1beta1/zz_generated.managed.go +++ b/apis/dynamodb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ContributorInsights) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContributorInsights. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContributorInsights) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContributorInsights. func (mg *ContributorInsights) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ContributorInsights) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContributorInsights. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContributorInsights) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContributorInsights. func (mg *ContributorInsights) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *GlobalTable) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalTable. func (mg *GlobalTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *GlobalTable) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalTable. func (mg *GlobalTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *KinesisStreamingDestination) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this KinesisStreamingDestination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *KinesisStreamingDestination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this KinesisStreamingDestination. func (mg *KinesisStreamingDestination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *KinesisStreamingDestination) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this KinesisStreamingDestination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *KinesisStreamingDestination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this KinesisStreamingDestination. func (mg *KinesisStreamingDestination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Table) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Table. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Table) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Table. func (mg *Table) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Table) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Table. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Table) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Table. func (mg *Table) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *TableItem) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TableItem. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TableItem) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TableItem. func (mg *TableItem) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *TableItem) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TableItem. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TableItem) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TableItem. func (mg *TableItem) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *TableReplica) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TableReplica. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TableReplica) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TableReplica. func (mg *TableReplica) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *TableReplica) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TableReplica. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TableReplica) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TableReplica. func (mg *TableReplica) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Tag) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Tag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Tag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Tag. func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Tag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Tag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Tag. func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/dynamodb/v1beta1/zz_globaltable_types.go b/apis/dynamodb/v1beta1/zz_globaltable_types.go index bfd26172aa..bd90fa04e9 100755 --- a/apis/dynamodb/v1beta1/zz_globaltable_types.go +++ b/apis/dynamodb/v1beta1/zz_globaltable_types.go @@ -98,7 +98,7 @@ type GlobalTableStatus struct { type GlobalTable struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replica) || has(self.initProvider.replica)",message="replica is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.replica) || (has(self.initProvider) && has(self.initProvider.replica))",message="spec.forProvider.replica is a required parameter" Spec GlobalTableSpec `json:"spec"` Status GlobalTableStatus `json:"status,omitempty"` } diff --git a/apis/dynamodb/v1beta1/zz_tableitem_types.go b/apis/dynamodb/v1beta1/zz_tableitem_types.go index a563a27d3e..7fd770f045 100755 --- a/apis/dynamodb/v1beta1/zz_tableitem_types.go +++ b/apis/dynamodb/v1beta1/zz_tableitem_types.go @@ -111,8 +111,8 @@ type TableItemStatus struct { type TableItem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hashKey) || has(self.initProvider.hashKey)",message="hashKey is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.item) || has(self.initProvider.item)",message="item is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hashKey) || (has(self.initProvider) && has(self.initProvider.hashKey))",message="spec.forProvider.hashKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.item) || (has(self.initProvider) && has(self.initProvider.item))",message="spec.forProvider.item is a required parameter" Spec TableItemSpec `json:"spec"` Status TableItemStatus `json:"status,omitempty"` } diff --git a/apis/dynamodb/v1beta1/zz_tag_types.go b/apis/dynamodb/v1beta1/zz_tag_types.go index 1511920063..1b19d9835a 100755 --- a/apis/dynamodb/v1beta1/zz_tag_types.go +++ b/apis/dynamodb/v1beta1/zz_tag_types.go @@ -90,7 +90,7 @@ type TagStatus struct { type Tag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec TagSpec `json:"spec"` Status TagStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_ami_types.go b/apis/ec2/v1beta1/zz_ami_types.go index 82add0c881..358b549de1 100755 --- a/apis/ec2/v1beta1/zz_ami_types.go +++ b/apis/ec2/v1beta1/zz_ami_types.go @@ -448,7 +448,7 @@ type AMIStatus struct { type AMI struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AMISpec `json:"spec"` Status AMIStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_amicopy_types.go b/apis/ec2/v1beta1/zz_amicopy_types.go index 3f171a4697..77303d0c6b 100755 --- a/apis/ec2/v1beta1/zz_amicopy_types.go +++ b/apis/ec2/v1beta1/zz_amicopy_types.go @@ -279,8 +279,8 @@ type AMICopyStatus struct { type AMICopy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceAmiRegion) || has(self.initProvider.sourceAmiRegion)",message="sourceAmiRegion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceAmiRegion) || (has(self.initProvider) && has(self.initProvider.sourceAmiRegion))",message="spec.forProvider.sourceAmiRegion is a required parameter" Spec AMICopySpec `json:"spec"` Status AMICopyStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_availabilityzonegroup_types.go b/apis/ec2/v1beta1/zz_availabilityzonegroup_types.go index 188a59fac5..762d1d2b83 100755 --- a/apis/ec2/v1beta1/zz_availabilityzonegroup_types.go +++ b/apis/ec2/v1beta1/zz_availabilityzonegroup_types.go @@ -76,7 +76,7 @@ type AvailabilityZoneGroupStatus struct { type AvailabilityZoneGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.optInStatus) || has(self.initProvider.optInStatus)",message="optInStatus is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.optInStatus) || (has(self.initProvider) && has(self.initProvider.optInStatus))",message="spec.forProvider.optInStatus is a required parameter" Spec AvailabilityZoneGroupSpec `json:"spec"` Status AvailabilityZoneGroupStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_capacityreservation_types.go b/apis/ec2/v1beta1/zz_capacityreservation_types.go index 4c24c069e4..7bec581c68 100755 --- a/apis/ec2/v1beta1/zz_capacityreservation_types.go +++ b/apis/ec2/v1beta1/zz_capacityreservation_types.go @@ -205,10 +205,10 @@ type CapacityReservationStatus struct { type CapacityReservation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceCount) || has(self.initProvider.instanceCount)",message="instanceCount is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePlatform) || has(self.initProvider.instancePlatform)",message="instancePlatform is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceCount) || (has(self.initProvider) && has(self.initProvider.instanceCount))",message="spec.forProvider.instanceCount is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePlatform) || (has(self.initProvider) && has(self.initProvider.instancePlatform))",message="spec.forProvider.instancePlatform is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" Spec CapacityReservationSpec `json:"spec"` Status CapacityReservationStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_customergateway_types.go b/apis/ec2/v1beta1/zz_customergateway_types.go index 9ebef1695a..345f141d86 100755 --- a/apis/ec2/v1beta1/zz_customergateway_types.go +++ b/apis/ec2/v1beta1/zz_customergateway_types.go @@ -135,8 +135,8 @@ type CustomerGatewayStatus struct { type CustomerGateway struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || has(self.initProvider.bgpAsn)",message="bgpAsn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bgpAsn) || (has(self.initProvider) && has(self.initProvider.bgpAsn))",message="spec.forProvider.bgpAsn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec CustomerGatewaySpec `json:"spec"` Status CustomerGatewayStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_defaultsubnet_types.go b/apis/ec2/v1beta1/zz_defaultsubnet_types.go index f3333252f6..c5fe69d84d 100755 --- a/apis/ec2/v1beta1/zz_defaultsubnet_types.go +++ b/apis/ec2/v1beta1/zz_defaultsubnet_types.go @@ -189,7 +189,7 @@ type DefaultSubnetStatus struct { type DefaultSubnet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" Spec DefaultSubnetSpec `json:"spec"` Status DefaultSubnetStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go b/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go index db9acb6ccf..1f0b4d077f 100755 --- a/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go +++ b/apis/ec2/v1beta1/zz_ebssnapshotcopy_types.go @@ -193,7 +193,7 @@ type EBSSnapshotCopyStatus struct { type EBSSnapshotCopy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceRegion) || has(self.initProvider.sourceRegion)",message="sourceRegion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceRegion) || (has(self.initProvider) && has(self.initProvider.sourceRegion))",message="spec.forProvider.sourceRegion is a required parameter" Spec EBSSnapshotCopySpec `json:"spec"` Status EBSSnapshotCopyStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go b/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go index 66cdb4c16a..f9aaed7b92 100755 --- a/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go +++ b/apis/ec2/v1beta1/zz_ebssnapshotimport_types.go @@ -323,7 +323,7 @@ type EBSSnapshotImportStatus struct { type EBSSnapshotImport struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.diskContainer) || has(self.initProvider.diskContainer)",message="diskContainer is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.diskContainer) || (has(self.initProvider) && has(self.initProvider.diskContainer))",message="spec.forProvider.diskContainer is a required parameter" Spec EBSSnapshotImportSpec `json:"spec"` Status EBSSnapshotImportStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_ebsvolume_types.go b/apis/ec2/v1beta1/zz_ebsvolume_types.go index dc310ebf9d..cf509b852e 100755 --- a/apis/ec2/v1beta1/zz_ebsvolume_types.go +++ b/apis/ec2/v1beta1/zz_ebsvolume_types.go @@ -198,7 +198,7 @@ type EBSVolumeStatus struct { type EBSVolume struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" Spec EBSVolumeSpec `json:"spec"` Status EBSVolumeStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_generated.deepcopy.go b/apis/ec2/v1beta1/zz_generated.deepcopy.go index 5bfa08c594..397770ef6e 100644 --- a/apis/ec2/v1beta1/zz_generated.deepcopy.go +++ b/apis/ec2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -456,7 +455,8 @@ func (in *AMICopyInitParameters) DeepCopyInto(out *AMICopyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -672,7 +672,8 @@ func (in *AMICopyObservation) DeepCopyInto(out *AMICopyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -687,7 +688,8 @@ func (in *AMICopyObservation) DeepCopyInto(out *AMICopyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -807,7 +809,8 @@ func (in *AMICopyParameters) DeepCopyInto(out *AMICopyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -946,7 +949,8 @@ func (in *AMIInitParameters) DeepCopyInto(out *AMIInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1376,7 +1380,8 @@ func (in *AMIObservation) DeepCopyInto(out *AMIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1391,7 +1396,8 @@ func (in *AMIObservation) DeepCopyInto(out *AMIObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1515,7 +1521,8 @@ func (in *AMIParameters) DeepCopyInto(out *AMIParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2674,7 +2681,8 @@ func (in *CapacityReservationInitParameters) DeepCopyInto(out *CapacityReservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2811,7 +2819,8 @@ func (in *CapacityReservationObservation) DeepCopyInto(out *CapacityReservationO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2826,7 +2835,8 @@ func (in *CapacityReservationObservation) DeepCopyInto(out *CapacityReservationO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2921,7 +2931,8 @@ func (in *CapacityReservationParameters) DeepCopyInto(out *CapacityReservationPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3249,7 +3260,8 @@ func (in *CarrierGatewayInitParameters) DeepCopyInto(out *CarrierGatewayInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3326,7 +3338,8 @@ func (in *CarrierGatewayObservation) DeepCopyInto(out *CarrierGatewayObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3341,7 +3354,8 @@ func (in *CarrierGatewayObservation) DeepCopyInto(out *CarrierGatewayObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3381,7 +3395,8 @@ func (in *CarrierGatewayParameters) DeepCopyInto(out *CarrierGatewayParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3953,7 +3968,8 @@ func (in *CustomerGatewayInitParameters) DeepCopyInto(out *CustomerGatewayInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4050,7 +4066,8 @@ func (in *CustomerGatewayObservation) DeepCopyInto(out *CustomerGatewayObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4065,7 +4082,8 @@ func (in *CustomerGatewayObservation) DeepCopyInto(out *CustomerGatewayObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4125,7 +4143,8 @@ func (in *CustomerGatewayParameters) DeepCopyInto(out *CustomerGatewayParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4351,7 +4370,8 @@ func (in *DefaultNetworkACLInitParameters) DeepCopyInto(out *DefaultNetworkACLIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4458,7 +4478,8 @@ func (in *DefaultNetworkACLObservation) DeepCopyInto(out *DefaultNetworkACLObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4473,7 +4494,8 @@ func (in *DefaultNetworkACLObservation) DeepCopyInto(out *DefaultNetworkACLObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4565,7 +4587,8 @@ func (in *DefaultNetworkACLParameters) DeepCopyInto(out *DefaultNetworkACLParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4675,7 +4698,8 @@ func (in *DefaultRouteTableInitParameters) DeepCopyInto(out *DefaultRouteTableIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4775,7 +4799,8 @@ func (in *DefaultRouteTableObservation) DeepCopyInto(out *DefaultRouteTableObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4790,7 +4815,8 @@ func (in *DefaultRouteTableObservation) DeepCopyInto(out *DefaultRouteTableObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4863,7 +4889,8 @@ func (in *DefaultRouteTableParameters) DeepCopyInto(out *DefaultRouteTableParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5478,7 +5505,8 @@ func (in *DefaultSecurityGroupInitParameters) DeepCopyInto(out *DefaultSecurityG if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5584,7 +5612,8 @@ func (in *DefaultSecurityGroupObservation) DeepCopyInto(out *DefaultSecurityGrou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5599,7 +5628,8 @@ func (in *DefaultSecurityGroupObservation) DeepCopyInto(out *DefaultSecurityGrou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5658,7 +5688,8 @@ func (in *DefaultSecurityGroupParameters) DeepCopyInto(out *DefaultSecurityGroup if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5825,7 +5856,8 @@ func (in *DefaultSubnetInitParameters) DeepCopyInto(out *DefaultSubnetInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5992,7 +6024,8 @@ func (in *DefaultSubnetObservation) DeepCopyInto(out *DefaultSubnetObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6007,7 +6040,8 @@ func (in *DefaultSubnetObservation) DeepCopyInto(out *DefaultSubnetObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6107,7 +6141,8 @@ func (in *DefaultSubnetParameters) DeepCopyInto(out *DefaultSubnetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6231,7 +6266,8 @@ func (in *DefaultVPCDHCPOptionsInitParameters) DeepCopyInto(out *DefaultVPCDHCPO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6333,7 +6369,8 @@ func (in *DefaultVPCDHCPOptionsObservation) DeepCopyInto(out *DefaultVPCDHCPOpti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6348,7 +6385,8 @@ func (in *DefaultVPCDHCPOptionsObservation) DeepCopyInto(out *DefaultVPCDHCPOpti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6388,7 +6426,8 @@ func (in *DefaultVPCDHCPOptionsParameters) DeepCopyInto(out *DefaultVPCDHCPOptio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6508,7 +6547,8 @@ func (in *DefaultVPCInitParameters) DeepCopyInto(out *DefaultVPCInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6685,7 +6725,8 @@ func (in *DefaultVPCObservation) DeepCopyInto(out *DefaultVPCObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6700,7 +6741,8 @@ func (in *DefaultVPCObservation) DeepCopyInto(out *DefaultVPCObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6790,7 +6832,8 @@ func (in *DefaultVPCParameters) DeepCopyInto(out *DefaultVPCParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8073,7 +8116,8 @@ func (in *EBSSnapshotCopyInitParameters) DeepCopyInto(out *EBSSnapshotCopyInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8205,7 +8249,8 @@ func (in *EBSSnapshotCopyObservation) DeepCopyInto(out *EBSSnapshotCopyObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8220,7 +8265,8 @@ func (in *EBSSnapshotCopyObservation) DeepCopyInto(out *EBSSnapshotCopyObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8325,7 +8371,8 @@ func (in *EBSSnapshotCopyParameters) DeepCopyInto(out *EBSSnapshotCopyParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8461,7 +8508,8 @@ func (in *EBSSnapshotImportInitParameters) DeepCopyInto(out *EBSSnapshotImportIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8602,7 +8650,8 @@ func (in *EBSSnapshotImportObservation) DeepCopyInto(out *EBSSnapshotImportObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8617,7 +8666,8 @@ func (in *EBSSnapshotImportObservation) DeepCopyInto(out *EBSSnapshotImportObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8721,7 +8771,8 @@ func (in *EBSSnapshotImportParameters) DeepCopyInto(out *EBSSnapshotImportParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8811,7 +8862,8 @@ func (in *EBSSnapshotInitParameters) DeepCopyInto(out *EBSSnapshotInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8933,7 +8985,8 @@ func (in *EBSSnapshotObservation) DeepCopyInto(out *EBSSnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8948,7 +9001,8 @@ func (in *EBSSnapshotObservation) DeepCopyInto(out *EBSSnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9018,7 +9072,8 @@ func (in *EBSSnapshotParameters) DeepCopyInto(out *EBSSnapshotParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9170,7 +9225,8 @@ func (in *EBSVolumeInitParameters) DeepCopyInto(out *EBSVolumeInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9297,7 +9353,8 @@ func (in *EBSVolumeObservation) DeepCopyInto(out *EBSVolumeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9312,7 +9369,8 @@ func (in *EBSVolumeObservation) DeepCopyInto(out *EBSVolumeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9412,7 +9470,8 @@ func (in *EBSVolumeParameters) DeepCopyInto(out *EBSVolumeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9788,7 +9847,8 @@ func (in *EIPInitParameters) DeepCopyInto(out *EIPInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9940,7 +10000,8 @@ func (in *EIPObservation) DeepCopyInto(out *EIPObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9955,7 +10016,8 @@ func (in *EIPObservation) DeepCopyInto(out *EIPObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10050,7 +10112,8 @@ func (in *EIPParameters) DeepCopyInto(out *EIPParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10267,7 +10330,8 @@ func (in *EgressOnlyInternetGatewayInitParameters) DeepCopyInto(out *EgressOnlyI if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10334,7 +10398,8 @@ func (in *EgressOnlyInternetGatewayObservation) DeepCopyInto(out *EgressOnlyInte if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10349,7 +10414,8 @@ func (in *EgressOnlyInternetGatewayObservation) DeepCopyInto(out *EgressOnlyInte if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10389,7 +10455,8 @@ func (in *EgressOnlyInternetGatewayParameters) DeepCopyInto(out *EgressOnlyInter if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11425,7 +11492,8 @@ func (in *FlowLogInitParameters) DeepCopyInto(out *FlowLogInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11564,7 +11632,8 @@ func (in *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11579,7 +11648,8 @@ func (in *FlowLogObservation) DeepCopyInto(out *FlowLogObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11716,7 +11786,8 @@ func (in *FlowLogParameters) DeepCopyInto(out *FlowLogParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12880,7 +12951,8 @@ func (in *HostInitParameters) DeepCopyInto(out *HostInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12987,7 +13059,8 @@ func (in *HostObservation) DeepCopyInto(out *HostObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13002,7 +13075,8 @@ func (in *HostObservation) DeepCopyInto(out *HostObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13067,7 +13141,8 @@ func (in *HostParameters) DeepCopyInto(out *HostParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13710,7 +13785,8 @@ func (in *InstanceEBSBlockDeviceInitParameters) DeepCopyInto(out *InstanceEBSBlo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13785,7 +13861,8 @@ func (in *InstanceEBSBlockDeviceObservation) DeepCopyInto(out *InstanceEBSBlockD if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13875,7 +13952,8 @@ func (in *InstanceEBSBlockDeviceParameters) DeepCopyInto(out *InstanceEBSBlockDe if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14226,7 +14304,8 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14261,7 +14340,8 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14791,7 +14871,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14806,7 +14887,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14852,7 +14934,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15118,7 +15201,8 @@ func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15176,7 +15260,8 @@ func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -16745,7 +16830,8 @@ func (in *InternetGatewayInitParameters_2) DeepCopyInto(out *InternetGatewayInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -16852,7 +16938,8 @@ func (in *InternetGatewayObservation_2) DeepCopyInto(out *InternetGatewayObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -16867,7 +16954,8 @@ func (in *InternetGatewayObservation_2) DeepCopyInto(out *InternetGatewayObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -16922,7 +17010,8 @@ func (in *InternetGatewayParameters_2) DeepCopyInto(out *InternetGatewayParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17034,7 +17123,8 @@ func (in *KeyPairInitParameters) DeepCopyInto(out *KeyPairInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17126,7 +17216,8 @@ func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17141,7 +17232,8 @@ func (in *KeyPairObservation) DeepCopyInto(out *KeyPairObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17181,7 +17273,8 @@ func (in *KeyPairParameters) DeepCopyInto(out *KeyPairParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17582,7 +17675,8 @@ func (in *LaunchSpecificationInitParameters) DeepCopyInto(out *LaunchSpecificati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17719,7 +17813,8 @@ func (in *LaunchSpecificationObservation) DeepCopyInto(out *LaunchSpecificationO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17866,7 +17961,8 @@ func (in *LaunchSpecificationParameters) DeepCopyInto(out *LaunchSpecificationPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18693,7 +18789,8 @@ func (in *LaunchTemplateInitParameters_2) DeepCopyInto(out *LaunchTemplateInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -19194,7 +19291,8 @@ func (in *LaunchTemplateObservation_2) DeepCopyInto(out *LaunchTemplateObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -19209,7 +19307,8 @@ func (in *LaunchTemplateObservation_2) DeepCopyInto(out *LaunchTemplateObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -19511,7 +19610,8 @@ func (in *LaunchTemplateParameters_2) DeepCopyInto(out *LaunchTemplateParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20486,7 +20586,8 @@ func (in *ManagedPrefixListInitParameters) DeepCopyInto(out *ManagedPrefixListIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20585,7 +20686,8 @@ func (in *ManagedPrefixListObservation) DeepCopyInto(out *ManagedPrefixListObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20600,7 +20702,8 @@ func (in *ManagedPrefixListObservation) DeepCopyInto(out *ManagedPrefixListObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20662,7 +20765,8 @@ func (in *ManagedPrefixListParameters) DeepCopyInto(out *ManagedPrefixListParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21094,7 +21198,8 @@ func (in *NATGatewayInitParameters_2) DeepCopyInto(out *NATGatewayInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21226,7 +21331,8 @@ func (in *NATGatewayObservation_2) DeepCopyInto(out *NATGatewayObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21241,7 +21347,8 @@ func (in *NATGatewayObservation_2) DeepCopyInto(out *NATGatewayObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21331,7 +21438,8 @@ func (in *NATGatewayParameters_2) DeepCopyInto(out *NATGatewayParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21603,7 +21711,8 @@ func (in *NetworkACLInitParameters) DeepCopyInto(out *NetworkACLInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21705,7 +21814,8 @@ func (in *NetworkACLObservation) DeepCopyInto(out *NetworkACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21720,7 +21830,8 @@ func (in *NetworkACLObservation) DeepCopyInto(out *NetworkACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -21783,7 +21894,8 @@ func (in *NetworkACLParameters) DeepCopyInto(out *NetworkACLParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22295,7 +22407,8 @@ func (in *NetworkInsightsAnalysisInitParameters) DeepCopyInto(out *NetworkInsigh if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22436,7 +22549,8 @@ func (in *NetworkInsightsAnalysisObservation) DeepCopyInto(out *NetworkInsightsA if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22451,7 +22565,8 @@ func (in *NetworkInsightsAnalysisObservation) DeepCopyInto(out *NetworkInsightsA if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22522,7 +22637,8 @@ func (in *NetworkInsightsAnalysisParameters) DeepCopyInto(out *NetworkInsightsAn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22639,7 +22755,8 @@ func (in *NetworkInsightsPathInitParameters) DeepCopyInto(out *NetworkInsightsPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22741,7 +22858,8 @@ func (in *NetworkInsightsPathObservation) DeepCopyInto(out *NetworkInsightsPathO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22756,7 +22874,8 @@ func (in *NetworkInsightsPathObservation) DeepCopyInto(out *NetworkInsightsPathO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -22841,7 +22960,8 @@ func (in *NetworkInsightsPathParameters) DeepCopyInto(out *NetworkInsightsPathPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -23353,7 +23473,8 @@ func (in *NetworkInterfaceInitParameters_2) DeepCopyInto(out *NetworkInterfaceIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -23614,7 +23735,8 @@ func (in *NetworkInterfaceObservation_2) DeepCopyInto(out *NetworkInterfaceObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -23629,7 +23751,8 @@ func (in *NetworkInterfaceObservation_2) DeepCopyInto(out *NetworkInterfaceObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -23833,7 +23956,8 @@ func (in *NetworkInterfaceParameters_2) DeepCopyInto(out *NetworkInterfaceParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -25560,7 +25684,8 @@ func (in *PlacementGroupInitParameters) DeepCopyInto(out *PlacementGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -25652,7 +25777,8 @@ func (in *PlacementGroupObservation) DeepCopyInto(out *PlacementGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -25667,7 +25793,8 @@ func (in *PlacementGroupObservation) DeepCopyInto(out *PlacementGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -25717,7 +25844,8 @@ func (in *PlacementGroupParameters) DeepCopyInto(out *PlacementGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -27753,7 +27881,8 @@ func (in *RootBlockDeviceInitParameters) DeepCopyInto(out *RootBlockDeviceInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -27823,7 +27952,8 @@ func (in *RootBlockDeviceObservation) DeepCopyInto(out *RootBlockDeviceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -27903,7 +28033,8 @@ func (in *RootBlockDeviceParameters) DeepCopyInto(out *RootBlockDeviceParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -28873,7 +29004,8 @@ func (in *RouteTableInitParameters_2) DeepCopyInto(out *RouteTableInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -28998,7 +29130,8 @@ func (in *RouteTableObservation_2) DeepCopyInto(out *RouteTableObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29013,7 +29146,8 @@ func (in *RouteTableObservation_2) DeepCopyInto(out *RouteTableObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29068,7 +29202,8 @@ func (in *RouteTableParameters_2) DeepCopyInto(out *RouteTableParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29703,7 +29838,8 @@ func (in *SecurityGroupInitParameters_2) DeepCopyInto(out *SecurityGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29839,7 +29975,8 @@ func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29854,7 +29991,8 @@ func (in *SecurityGroupObservation_2) DeepCopyInto(out *SecurityGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -29924,7 +30062,8 @@ func (in *SecurityGroupParameters_2) DeepCopyInto(out *SecurityGroupParameters_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -31416,7 +31555,8 @@ func (in *SpotFleetRequestInitParameters) DeepCopyInto(out *SpotFleetRequestInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -31631,7 +31771,8 @@ func (in *SpotFleetRequestObservation) DeepCopyInto(out *SpotFleetRequestObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -31646,7 +31787,8 @@ func (in *SpotFleetRequestObservation) DeepCopyInto(out *SpotFleetRequestObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -31819,7 +31961,8 @@ func (in *SpotFleetRequestParameters) DeepCopyInto(out *SpotFleetRequestParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -32293,7 +32436,8 @@ func (in *SpotInstanceRequestEBSBlockDeviceInitParameters) DeepCopyInto(out *Spo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -32368,7 +32512,8 @@ func (in *SpotInstanceRequestEBSBlockDeviceObservation) DeepCopyInto(out *SpotIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -32448,7 +32593,8 @@ func (in *SpotInstanceRequestEBSBlockDeviceParameters) DeepCopyInto(out *SpotIns if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -32895,7 +33041,8 @@ func (in *SpotInstanceRequestInitParameters) DeepCopyInto(out *SpotInstanceReque if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -32940,7 +33087,8 @@ func (in *SpotInstanceRequestInitParameters) DeepCopyInto(out *SpotInstanceReque if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -33684,7 +33832,8 @@ func (in *SpotInstanceRequestObservation) DeepCopyInto(out *SpotInstanceRequestO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -33699,7 +33848,8 @@ func (in *SpotInstanceRequestObservation) DeepCopyInto(out *SpotInstanceRequestO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -33755,7 +33905,8 @@ func (in *SpotInstanceRequestObservation) DeepCopyInto(out *SpotInstanceRequestO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -34062,7 +34213,8 @@ func (in *SpotInstanceRequestParameters) DeepCopyInto(out *SpotInstanceRequestPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -34130,7 +34282,8 @@ func (in *SpotInstanceRequestParameters) DeepCopyInto(out *SpotInstanceRequestPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -34275,7 +34428,8 @@ func (in *SpotInstanceRequestRootBlockDeviceInitParameters) DeepCopyInto(out *Sp if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -34345,7 +34499,8 @@ func (in *SpotInstanceRequestRootBlockDeviceObservation) DeepCopyInto(out *SpotI if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -34415,7 +34570,8 @@ func (in *SpotInstanceRequestRootBlockDeviceParameters) DeepCopyInto(out *SpotIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35017,7 +35173,8 @@ func (in *SubnetInitParameters_2) DeepCopyInto(out *SubnetInitParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35204,7 +35361,8 @@ func (in *SubnetObservation_2) DeepCopyInto(out *SubnetObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35219,7 +35377,8 @@ func (in *SubnetObservation_2) DeepCopyInto(out *SubnetObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35349,7 +35508,8 @@ func (in *SubnetParameters_2) DeepCopyInto(out *SubnetParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35661,7 +35821,8 @@ func (in *TagSpecificationsInitParameters) DeepCopyInto(out *TagSpecificationsIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35696,7 +35857,8 @@ func (in *TagSpecificationsObservation) DeepCopyInto(out *TagSpecificationsObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35731,7 +35893,8 @@ func (in *TagSpecificationsParameters) DeepCopyInto(out *TagSpecificationsParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35896,7 +36059,8 @@ func (in *TrafficMirrorFilterInitParameters) DeepCopyInto(out *TrafficMirrorFilt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35984,7 +36148,8 @@ func (in *TrafficMirrorFilterObservation) DeepCopyInto(out *TrafficMirrorFilterO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -35999,7 +36164,8 @@ func (in *TrafficMirrorFilterObservation) DeepCopyInto(out *TrafficMirrorFilterO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36050,7 +36216,8 @@ func (in *TrafficMirrorFilterParameters) DeepCopyInto(out *TrafficMirrorFilterPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36555,7 +36722,8 @@ func (in *TransitGatewayConnectInitParameters) DeepCopyInto(out *TransitGatewayC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36637,7 +36805,8 @@ func (in *TransitGatewayConnectObservation) DeepCopyInto(out *TransitGatewayConn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36652,7 +36821,8 @@ func (in *TransitGatewayConnectObservation) DeepCopyInto(out *TransitGatewayConn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36712,7 +36882,8 @@ func (in *TransitGatewayConnectParameters) DeepCopyInto(out *TransitGatewayConne if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36830,7 +37001,8 @@ func (in *TransitGatewayConnectPeerInitParameters) DeepCopyInto(out *TransitGate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36928,7 +37100,8 @@ func (in *TransitGatewayConnectPeerObservation) DeepCopyInto(out *TransitGateway if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -36943,7 +37116,8 @@ func (in *TransitGatewayConnectPeerObservation) DeepCopyInto(out *TransitGateway if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37009,7 +37183,8 @@ func (in *TransitGatewayConnectPeerParameters) DeepCopyInto(out *TransitGatewayC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37179,7 +37354,8 @@ func (in *TransitGatewayInitParameters_2) DeepCopyInto(out *TransitGatewayInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37508,7 +37684,8 @@ func (in *TransitGatewayMulticastDomainInitParameters) DeepCopyInto(out *Transit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37600,7 +37777,8 @@ func (in *TransitGatewayMulticastDomainObservation) DeepCopyInto(out *TransitGat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37615,7 +37793,8 @@ func (in *TransitGatewayMulticastDomainObservation) DeepCopyInto(out *TransitGat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -37670,7 +37849,8 @@ func (in *TransitGatewayMulticastDomainParameters) DeepCopyInto(out *TransitGate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38248,7 +38428,8 @@ func (in *TransitGatewayObservation_2) DeepCopyInto(out *TransitGatewayObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38263,7 +38444,8 @@ func (in *TransitGatewayObservation_2) DeepCopyInto(out *TransitGatewayObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38364,7 +38546,8 @@ func (in *TransitGatewayParameters_2) DeepCopyInto(out *TransitGatewayParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38464,7 +38647,8 @@ func (in *TransitGatewayPeeringAttachmentAccepterInitParameters) DeepCopyInto(ou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38546,7 +38730,8 @@ func (in *TransitGatewayPeeringAttachmentAccepterObservation) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38561,7 +38746,8 @@ func (in *TransitGatewayPeeringAttachmentAccepterObservation) DeepCopyInto(out * if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38606,7 +38792,8 @@ func (in *TransitGatewayPeeringAttachmentAccepterParameters) DeepCopyInto(out *T if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38696,7 +38883,8 @@ func (in *TransitGatewayPeeringAttachmentInitParameters) DeepCopyInto(out *Trans if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38778,7 +38966,8 @@ func (in *TransitGatewayPeeringAttachmentObservation) DeepCopyInto(out *TransitG if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38793,7 +38982,8 @@ func (in *TransitGatewayPeeringAttachmentObservation) DeepCopyInto(out *TransitG if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38858,7 +39048,8 @@ func (in *TransitGatewayPeeringAttachmentParameters) DeepCopyInto(out *TransitGa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -38965,7 +39156,8 @@ func (in *TransitGatewayPolicyTableInitParameters) DeepCopyInto(out *TransitGate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39042,7 +39234,8 @@ func (in *TransitGatewayPolicyTableObservation) DeepCopyInto(out *TransitGateway if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39057,7 +39250,8 @@ func (in *TransitGatewayPolicyTableObservation) DeepCopyInto(out *TransitGateway if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39097,7 +39291,8 @@ func (in *TransitGatewayPolicyTableParameters) DeepCopyInto(out *TransitGatewayP if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39866,7 +40061,8 @@ func (in *TransitGatewayRouteTableInitParameters_2) DeepCopyInto(out *TransitGat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39978,7 +40174,8 @@ func (in *TransitGatewayRouteTableObservation_2) DeepCopyInto(out *TransitGatewa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -39993,7 +40190,8 @@ func (in *TransitGatewayRouteTableObservation_2) DeepCopyInto(out *TransitGatewa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40048,7 +40246,8 @@ func (in *TransitGatewayRouteTableParameters_2) DeepCopyInto(out *TransitGateway if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40496,7 +40695,8 @@ func (in *TransitGatewayVPCAttachmentAccepterInitParameters) DeepCopyInto(out *T if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40599,7 +40799,8 @@ func (in *TransitGatewayVPCAttachmentAccepterObservation) DeepCopyInto(out *Tran if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40614,7 +40815,8 @@ func (in *TransitGatewayVPCAttachmentAccepterObservation) DeepCopyInto(out *Tran if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40679,7 +40881,8 @@ func (in *TransitGatewayVPCAttachmentAccepterParameters) DeepCopyInto(out *Trans if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40784,7 +40987,8 @@ func (in *TransitGatewayVPCAttachmentInitParameters) DeepCopyInto(out *TransitGa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40887,7 +41091,8 @@ func (in *TransitGatewayVPCAttachmentObservation) DeepCopyInto(out *TransitGatew if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -40902,7 +41107,8 @@ func (in *TransitGatewayVPCAttachmentObservation) DeepCopyInto(out *TransitGatew if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -41000,7 +41206,8 @@ func (in *TransitGatewayVPCAttachmentParameters) DeepCopyInto(out *TransitGatewa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -41688,7 +41895,8 @@ func (in *VPCDHCPOptionsInitParameters) DeepCopyInto(out *VPCDHCPOptionsInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -41808,7 +42016,8 @@ func (in *VPCDHCPOptionsObservation) DeepCopyInto(out *VPCDHCPOptionsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -41823,7 +42032,8 @@ func (in *VPCDHCPOptionsObservation) DeepCopyInto(out *VPCDHCPOptionsObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -41901,7 +42111,8 @@ func (in *VPCDHCPOptionsParameters) DeepCopyInto(out *VPCDHCPOptionsParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -42282,7 +42493,8 @@ func (in *VPCEndpointInitParameters_2) DeepCopyInto(out *VPCEndpointInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -42503,7 +42715,8 @@ func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -42518,7 +42731,8 @@ func (in *VPCEndpointObservation_2) DeepCopyInto(out *VPCEndpointObservation_2) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -42620,7 +42834,8 @@ func (in *VPCEndpointParameters_2) DeepCopyInto(out *VPCEndpointParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -43317,7 +43532,8 @@ func (in *VPCEndpointServiceInitParameters) DeepCopyInto(out *VPCEndpointService if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -43492,7 +43708,8 @@ func (in *VPCEndpointServiceObservation) DeepCopyInto(out *VPCEndpointServiceObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -43507,7 +43724,8 @@ func (in *VPCEndpointServiceObservation) DeepCopyInto(out *VPCEndpointServiceObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -43585,7 +43803,8 @@ func (in *VPCEndpointServiceParameters) DeepCopyInto(out *VPCEndpointServicePara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44168,7 +44387,8 @@ func (in *VPCInitParameters_2) DeepCopyInto(out *VPCInitParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44242,7 +44462,8 @@ func (in *VPCIpamInitParameters) DeepCopyInto(out *VPCIpamInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44356,7 +44577,8 @@ func (in *VPCIpamObservation) DeepCopyInto(out *VPCIpamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44371,7 +44593,8 @@ func (in *VPCIpamObservation) DeepCopyInto(out *VPCIpamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44423,7 +44646,8 @@ func (in *VPCIpamParameters) DeepCopyInto(out *VPCIpamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -44992,7 +45216,8 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45037,7 +45262,8 @@ func (in *VPCIpamPoolInitParameters) DeepCopyInto(out *VPCIpamPoolInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45119,7 +45345,8 @@ func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45199,7 +45426,8 @@ func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45214,7 +45442,8 @@ func (in *VPCIpamPoolObservation) DeepCopyInto(out *VPCIpamPoolObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45264,7 +45493,8 @@ func (in *VPCIpamPoolParameters) DeepCopyInto(out *VPCIpamPoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45344,7 +45574,8 @@ func (in *VPCIpamPoolParameters) DeepCopyInto(out *VPCIpamPoolParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45441,7 +45672,8 @@ func (in *VPCIpamScopeInitParameters) DeepCopyInto(out *VPCIpamScopeInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45543,7 +45775,8 @@ func (in *VPCIpamScopeObservation) DeepCopyInto(out *VPCIpamScopeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45558,7 +45791,8 @@ func (in *VPCIpamScopeObservation) DeepCopyInto(out *VPCIpamScopeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45613,7 +45847,8 @@ func (in *VPCIpamScopeParameters) DeepCopyInto(out *VPCIpamScopeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45890,7 +46125,8 @@ func (in *VPCObservation_2) DeepCopyInto(out *VPCObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -45905,7 +46141,8 @@ func (in *VPCObservation_2) DeepCopyInto(out *VPCObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46035,7 +46272,8 @@ func (in *VPCParameters_2) DeepCopyInto(out *VPCParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46228,7 +46466,8 @@ func (in *VPCPeeringConnectionAccepterInitParameters) DeepCopyInto(out *VPCPeeri if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46334,7 +46573,8 @@ func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46349,7 +46589,8 @@ func (in *VPCPeeringConnectionAccepterObservation) DeepCopyInto(out *VPCPeeringC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46413,7 +46654,8 @@ func (in *VPCPeeringConnectionAccepterParameters) DeepCopyInto(out *VPCPeeringCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46613,7 +46855,8 @@ func (in *VPCPeeringConnectionInitParameters_2) DeepCopyInto(out *VPCPeeringConn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46749,7 +46992,8 @@ func (in *VPCPeeringConnectionObservation_2) DeepCopyInto(out *VPCPeeringConnect if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -46764,7 +47008,8 @@ func (in *VPCPeeringConnectionObservation_2) DeepCopyInto(out *VPCPeeringConnect if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -47240,7 +47485,8 @@ func (in *VPCPeeringConnectionParameters_2) DeepCopyInto(out *VPCPeeringConnecti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -47432,7 +47678,8 @@ func (in *VPNConnectionInitParameters_2) DeepCopyInto(out *VPNConnectionInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -47879,7 +48126,8 @@ func (in *VPNConnectionObservation_2) DeepCopyInto(out *VPNConnectionObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -47894,7 +48142,8 @@ func (in *VPNConnectionObservation_2) DeepCopyInto(out *VPNConnectionObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -48359,7 +48608,8 @@ func (in *VPNConnectionParameters_2) DeepCopyInto(out *VPNConnectionParameters_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -49192,7 +49442,8 @@ func (in *VPNGatewayInitParameters_2) DeepCopyInto(out *VPNGatewayInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -49304,7 +49555,8 @@ func (in *VPNGatewayObservation_2) DeepCopyInto(out *VPNGatewayObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -49319,7 +49571,8 @@ func (in *VPNGatewayObservation_2) DeepCopyInto(out *VPNGatewayObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -49384,7 +49637,8 @@ func (in *VPNGatewayParameters_2) DeepCopyInto(out *VPNGatewayParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ec2/v1beta1/zz_generated.managed.go b/apis/ec2/v1beta1/zz_generated.managed.go index 3c964b24b5..2f847b3269 100644 --- a/apis/ec2/v1beta1/zz_generated.managed.go +++ b/apis/ec2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AMI) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AMI. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AMI) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AMI. func (mg *AMI) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AMI) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AMI. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AMI) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AMI. func (mg *AMI) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AMICopy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AMICopy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AMICopy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AMICopy. func (mg *AMICopy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AMICopy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AMICopy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AMICopy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AMICopy. func (mg *AMICopy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *AMILaunchPermission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AMILaunchPermission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AMILaunchPermission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AMILaunchPermission. func (mg *AMILaunchPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *AMILaunchPermission) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AMILaunchPermission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AMILaunchPermission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AMILaunchPermission. func (mg *AMILaunchPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *AvailabilityZoneGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AvailabilityZoneGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AvailabilityZoneGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AvailabilityZoneGroup. func (mg *AvailabilityZoneGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *AvailabilityZoneGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AvailabilityZoneGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AvailabilityZoneGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AvailabilityZoneGroup. func (mg *AvailabilityZoneGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *CapacityReservation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CapacityReservation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CapacityReservation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CapacityReservation. func (mg *CapacityReservation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *CapacityReservation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CapacityReservation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CapacityReservation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CapacityReservation. func (mg *CapacityReservation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *CarrierGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CarrierGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CarrierGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CarrierGateway. func (mg *CarrierGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *CarrierGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CarrierGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CarrierGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CarrierGateway. func (mg *CarrierGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *CustomerGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CustomerGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CustomerGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CustomerGateway. func (mg *CustomerGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *CustomerGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CustomerGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CustomerGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CustomerGateway. func (mg *CustomerGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *DefaultNetworkACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultNetworkACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultNetworkACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultNetworkACL. func (mg *DefaultNetworkACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *DefaultNetworkACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultNetworkACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultNetworkACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultNetworkACL. func (mg *DefaultNetworkACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *DefaultRouteTable) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultRouteTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultRouteTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultRouteTable. func (mg *DefaultRouteTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *DefaultRouteTable) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultRouteTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultRouteTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultRouteTable. func (mg *DefaultRouteTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *DefaultSecurityGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultSecurityGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultSecurityGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultSecurityGroup. func (mg *DefaultSecurityGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *DefaultSecurityGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultSecurityGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultSecurityGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultSecurityGroup. func (mg *DefaultSecurityGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *DefaultSubnet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultSubnet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultSubnet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultSubnet. func (mg *DefaultSubnet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *DefaultSubnet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultSubnet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultSubnet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultSubnet. func (mg *DefaultSubnet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *DefaultVPC) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultVPC. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultVPC) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultVPC. func (mg *DefaultVPC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *DefaultVPC) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultVPC. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultVPC) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultVPC. func (mg *DefaultVPC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *DefaultVPCDHCPOptions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultVPCDHCPOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultVPCDHCPOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultVPCDHCPOptions. func (mg *DefaultVPCDHCPOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *DefaultVPCDHCPOptions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultVPCDHCPOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultVPCDHCPOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultVPCDHCPOptions. func (mg *DefaultVPCDHCPOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *EBSDefaultKMSKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSDefaultKMSKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSDefaultKMSKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSDefaultKMSKey. func (mg *EBSDefaultKMSKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *EBSDefaultKMSKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSDefaultKMSKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSDefaultKMSKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSDefaultKMSKey. func (mg *EBSDefaultKMSKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *EBSEncryptionByDefault) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSEncryptionByDefault. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSEncryptionByDefault) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSEncryptionByDefault. func (mg *EBSEncryptionByDefault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *EBSEncryptionByDefault) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSEncryptionByDefault. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSEncryptionByDefault) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSEncryptionByDefault. func (mg *EBSEncryptionByDefault) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *EBSSnapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSSnapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSSnapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSSnapshot. func (mg *EBSSnapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *EBSSnapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSSnapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSSnapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSSnapshot. func (mg *EBSSnapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *EBSSnapshotCopy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSSnapshotCopy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSSnapshotCopy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSSnapshotCopy. func (mg *EBSSnapshotCopy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *EBSSnapshotCopy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSSnapshotCopy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSSnapshotCopy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSSnapshotCopy. func (mg *EBSSnapshotCopy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *EBSSnapshotImport) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSSnapshotImport. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSSnapshotImport) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSSnapshotImport. func (mg *EBSSnapshotImport) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *EBSSnapshotImport) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSSnapshotImport. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSSnapshotImport) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSSnapshotImport. func (mg *EBSSnapshotImport) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *EBSVolume) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EBSVolume. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EBSVolume) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EBSVolume. func (mg *EBSVolume) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *EBSVolume) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EBSVolume. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EBSVolume) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EBSVolume. func (mg *EBSVolume) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *EIP) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EIP. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EIP) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EIP. func (mg *EIP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *EIP) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EIP. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EIP) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EIP. func (mg *EIP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *EIPAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EIPAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EIPAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EIPAssociation. func (mg *EIPAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *EIPAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EIPAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EIPAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EIPAssociation. func (mg *EIPAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1623,14 +1287,6 @@ func (mg *EgressOnlyInternetGateway) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EgressOnlyInternetGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EgressOnlyInternetGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EgressOnlyInternetGateway. func (mg *EgressOnlyInternetGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1661,14 +1317,6 @@ func (mg *EgressOnlyInternetGateway) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EgressOnlyInternetGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EgressOnlyInternetGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EgressOnlyInternetGateway. func (mg *EgressOnlyInternetGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1699,14 +1347,6 @@ func (mg *FlowLog) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FlowLog. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FlowLog) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FlowLog. func (mg *FlowLog) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1737,14 +1377,6 @@ func (mg *FlowLog) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FlowLog. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FlowLog) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FlowLog. func (mg *FlowLog) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1775,14 +1407,6 @@ func (mg *Host) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Host. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Host) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Host. func (mg *Host) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1813,14 +1437,6 @@ func (mg *Host) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Host. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Host) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Host. func (mg *Host) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1851,14 +1467,6 @@ func (mg *Instance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Instance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Instance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Instance. func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1889,14 +1497,6 @@ func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Instance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Instance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Instance. func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1927,14 +1527,6 @@ func (mg *InstanceState) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstanceState. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstanceState) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstanceState. func (mg *InstanceState) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1965,14 +1557,6 @@ func (mg *InstanceState) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstanceState. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstanceState) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstanceState. func (mg *InstanceState) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2003,14 +1587,6 @@ func (mg *InternetGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InternetGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InternetGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InternetGateway. func (mg *InternetGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2041,14 +1617,6 @@ func (mg *InternetGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InternetGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InternetGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InternetGateway. func (mg *InternetGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2079,14 +1647,6 @@ func (mg *KeyPair) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this KeyPair. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *KeyPair) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this KeyPair. func (mg *KeyPair) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2117,14 +1677,6 @@ func (mg *KeyPair) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this KeyPair. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *KeyPair) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this KeyPair. func (mg *KeyPair) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2155,14 +1707,6 @@ func (mg *LaunchTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LaunchTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LaunchTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LaunchTemplate. func (mg *LaunchTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2193,14 +1737,6 @@ func (mg *LaunchTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LaunchTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LaunchTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LaunchTemplate. func (mg *LaunchTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2231,14 +1767,6 @@ func (mg *MainRouteTableAssociation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MainRouteTableAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MainRouteTableAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MainRouteTableAssociation. func (mg *MainRouteTableAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2269,14 +1797,6 @@ func (mg *MainRouteTableAssociation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MainRouteTableAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MainRouteTableAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MainRouteTableAssociation. func (mg *MainRouteTableAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2307,14 +1827,6 @@ func (mg *ManagedPrefixList) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ManagedPrefixList. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ManagedPrefixList) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ManagedPrefixList. func (mg *ManagedPrefixList) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2345,14 +1857,6 @@ func (mg *ManagedPrefixList) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ManagedPrefixList. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ManagedPrefixList) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ManagedPrefixList. func (mg *ManagedPrefixList) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2383,14 +1887,6 @@ func (mg *ManagedPrefixListEntry) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ManagedPrefixListEntry. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ManagedPrefixListEntry) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ManagedPrefixListEntry. func (mg *ManagedPrefixListEntry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2421,14 +1917,6 @@ func (mg *ManagedPrefixListEntry) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ManagedPrefixListEntry. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ManagedPrefixListEntry) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ManagedPrefixListEntry. func (mg *ManagedPrefixListEntry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2459,14 +1947,6 @@ func (mg *NATGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NATGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NATGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NATGateway. func (mg *NATGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2497,14 +1977,6 @@ func (mg *NATGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NATGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NATGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NATGateway. func (mg *NATGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2535,14 +2007,6 @@ func (mg *NetworkACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkACL. func (mg *NetworkACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2573,14 +2037,6 @@ func (mg *NetworkACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkACL. func (mg *NetworkACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2611,14 +2067,6 @@ func (mg *NetworkACLRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkACLRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkACLRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkACLRule. func (mg *NetworkACLRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2649,14 +2097,6 @@ func (mg *NetworkACLRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkACLRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkACLRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkACLRule. func (mg *NetworkACLRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2687,14 +2127,6 @@ func (mg *NetworkInsightsAnalysis) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkInsightsAnalysis. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkInsightsAnalysis) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkInsightsAnalysis. func (mg *NetworkInsightsAnalysis) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2725,14 +2157,6 @@ func (mg *NetworkInsightsAnalysis) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkInsightsAnalysis. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkInsightsAnalysis) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkInsightsAnalysis. func (mg *NetworkInsightsAnalysis) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2763,14 +2187,6 @@ func (mg *NetworkInsightsPath) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkInsightsPath. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkInsightsPath) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkInsightsPath. func (mg *NetworkInsightsPath) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2801,14 +2217,6 @@ func (mg *NetworkInsightsPath) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkInsightsPath. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkInsightsPath) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkInsightsPath. func (mg *NetworkInsightsPath) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2839,14 +2247,6 @@ func (mg *NetworkInterface) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkInterface. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkInterface) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkInterface. func (mg *NetworkInterface) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2877,14 +2277,6 @@ func (mg *NetworkInterface) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkInterface. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkInterface) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkInterface. func (mg *NetworkInterface) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2915,14 +2307,6 @@ func (mg *NetworkInterfaceAttachment) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkInterfaceAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkInterfaceAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkInterfaceAttachment. func (mg *NetworkInterfaceAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -2953,14 +2337,6 @@ func (mg *NetworkInterfaceAttachment) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkInterfaceAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkInterfaceAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkInterfaceAttachment. func (mg *NetworkInterfaceAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -2991,14 +2367,6 @@ func (mg *NetworkInterfaceSgAttachment) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkInterfaceSgAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkInterfaceSgAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkInterfaceSgAttachment. func (mg *NetworkInterfaceSgAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3029,14 +2397,6 @@ func (mg *NetworkInterfaceSgAttachment) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkInterfaceSgAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkInterfaceSgAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkInterfaceSgAttachment. func (mg *NetworkInterfaceSgAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3067,14 +2427,6 @@ func (mg *PlacementGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PlacementGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PlacementGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PlacementGroup. func (mg *PlacementGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3105,14 +2457,6 @@ func (mg *PlacementGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PlacementGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PlacementGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PlacementGroup. func (mg *PlacementGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3143,14 +2487,6 @@ func (mg *Route) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Route. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Route) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Route. func (mg *Route) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3181,14 +2517,6 @@ func (mg *Route) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Route. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Route) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Route. func (mg *Route) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3219,14 +2547,6 @@ func (mg *RouteTable) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RouteTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RouteTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RouteTable. func (mg *RouteTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3257,14 +2577,6 @@ func (mg *RouteTable) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RouteTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RouteTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RouteTable. func (mg *RouteTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3295,14 +2607,6 @@ func (mg *RouteTableAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RouteTableAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RouteTableAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RouteTableAssociation. func (mg *RouteTableAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3333,14 +2637,6 @@ func (mg *RouteTableAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RouteTableAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RouteTableAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RouteTableAssociation. func (mg *RouteTableAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3371,14 +2667,6 @@ func (mg *SecurityGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecurityGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecurityGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecurityGroup. func (mg *SecurityGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3409,14 +2697,6 @@ func (mg *SecurityGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecurityGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecurityGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecurityGroup. func (mg *SecurityGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3447,14 +2727,6 @@ func (mg *SecurityGroupRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecurityGroupRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecurityGroupRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecurityGroupRule. func (mg *SecurityGroupRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3485,14 +2757,6 @@ func (mg *SecurityGroupRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecurityGroupRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecurityGroupRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecurityGroupRule. func (mg *SecurityGroupRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3523,14 +2787,6 @@ func (mg *SerialConsoleAccess) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SerialConsoleAccess. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SerialConsoleAccess) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SerialConsoleAccess. func (mg *SerialConsoleAccess) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3561,14 +2817,6 @@ func (mg *SerialConsoleAccess) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SerialConsoleAccess. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SerialConsoleAccess) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SerialConsoleAccess. func (mg *SerialConsoleAccess) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3599,14 +2847,6 @@ func (mg *SnapshotCreateVolumePermission) GetProviderConfigReference() *xpv1.Ref return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SnapshotCreateVolumePermission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SnapshotCreateVolumePermission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SnapshotCreateVolumePermission. func (mg *SnapshotCreateVolumePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3637,14 +2877,6 @@ func (mg *SnapshotCreateVolumePermission) SetProviderConfigReference(r *xpv1.Ref mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SnapshotCreateVolumePermission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SnapshotCreateVolumePermission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SnapshotCreateVolumePermission. func (mg *SnapshotCreateVolumePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3675,14 +2907,6 @@ func (mg *SpotDatafeedSubscription) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SpotDatafeedSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SpotDatafeedSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SpotDatafeedSubscription. func (mg *SpotDatafeedSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3713,14 +2937,6 @@ func (mg *SpotDatafeedSubscription) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SpotDatafeedSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SpotDatafeedSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SpotDatafeedSubscription. func (mg *SpotDatafeedSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3751,14 +2967,6 @@ func (mg *SpotFleetRequest) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SpotFleetRequest. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SpotFleetRequest) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SpotFleetRequest. func (mg *SpotFleetRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3789,14 +2997,6 @@ func (mg *SpotFleetRequest) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SpotFleetRequest. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SpotFleetRequest) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SpotFleetRequest. func (mg *SpotFleetRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3827,14 +3027,6 @@ func (mg *SpotInstanceRequest) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SpotInstanceRequest. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SpotInstanceRequest) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SpotInstanceRequest. func (mg *SpotInstanceRequest) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3865,14 +3057,6 @@ func (mg *SpotInstanceRequest) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SpotInstanceRequest. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SpotInstanceRequest) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SpotInstanceRequest. func (mg *SpotInstanceRequest) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3903,14 +3087,6 @@ func (mg *Subnet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Subnet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Subnet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Subnet. func (mg *Subnet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -3941,14 +3117,6 @@ func (mg *Subnet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Subnet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Subnet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Subnet. func (mg *Subnet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -3979,14 +3147,6 @@ func (mg *SubnetCidrReservation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetCidrReservation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetCidrReservation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetCidrReservation. func (mg *SubnetCidrReservation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4017,14 +3177,6 @@ func (mg *SubnetCidrReservation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetCidrReservation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetCidrReservation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetCidrReservation. func (mg *SubnetCidrReservation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4055,14 +3207,6 @@ func (mg *Tag) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Tag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Tag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Tag. func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4093,14 +3237,6 @@ func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Tag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Tag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Tag. func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4131,14 +3267,6 @@ func (mg *TrafficMirrorFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TrafficMirrorFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TrafficMirrorFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TrafficMirrorFilter. func (mg *TrafficMirrorFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4169,14 +3297,6 @@ func (mg *TrafficMirrorFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TrafficMirrorFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TrafficMirrorFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TrafficMirrorFilter. func (mg *TrafficMirrorFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4207,14 +3327,6 @@ func (mg *TrafficMirrorFilterRule) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TrafficMirrorFilterRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TrafficMirrorFilterRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TrafficMirrorFilterRule. func (mg *TrafficMirrorFilterRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4245,14 +3357,6 @@ func (mg *TrafficMirrorFilterRule) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TrafficMirrorFilterRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TrafficMirrorFilterRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TrafficMirrorFilterRule. func (mg *TrafficMirrorFilterRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4283,14 +3387,6 @@ func (mg *TransitGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGateway. func (mg *TransitGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4321,14 +3417,6 @@ func (mg *TransitGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGateway. func (mg *TransitGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4359,14 +3447,6 @@ func (mg *TransitGatewayConnect) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayConnect. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayConnect) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayConnect. func (mg *TransitGatewayConnect) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4397,14 +3477,6 @@ func (mg *TransitGatewayConnect) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayConnect. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayConnect) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayConnect. func (mg *TransitGatewayConnect) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4435,14 +3507,6 @@ func (mg *TransitGatewayConnectPeer) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayConnectPeer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayConnectPeer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayConnectPeer. func (mg *TransitGatewayConnectPeer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4473,14 +3537,6 @@ func (mg *TransitGatewayConnectPeer) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayConnectPeer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayConnectPeer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayConnectPeer. func (mg *TransitGatewayConnectPeer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4511,14 +3567,6 @@ func (mg *TransitGatewayMulticastDomain) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayMulticastDomain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastDomain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayMulticastDomain. func (mg *TransitGatewayMulticastDomain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4549,14 +3597,6 @@ func (mg *TransitGatewayMulticastDomain) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayMulticastDomain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastDomain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayMulticastDomain. func (mg *TransitGatewayMulticastDomain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4587,14 +3627,6 @@ func (mg *TransitGatewayMulticastDomainAssociation) GetProviderConfigReference() return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayMulticastDomainAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastDomainAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayMulticastDomainAssociation. func (mg *TransitGatewayMulticastDomainAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4625,14 +3657,6 @@ func (mg *TransitGatewayMulticastDomainAssociation) SetProviderConfigReference(r mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayMulticastDomainAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastDomainAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayMulticastDomainAssociation. func (mg *TransitGatewayMulticastDomainAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4663,14 +3687,6 @@ func (mg *TransitGatewayMulticastGroupMember) GetProviderConfigReference() *xpv1 return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayMulticastGroupMember. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastGroupMember) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayMulticastGroupMember. func (mg *TransitGatewayMulticastGroupMember) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4701,14 +3717,6 @@ func (mg *TransitGatewayMulticastGroupMember) SetProviderConfigReference(r *xpv1 mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayMulticastGroupMember. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastGroupMember) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayMulticastGroupMember. func (mg *TransitGatewayMulticastGroupMember) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4739,14 +3747,6 @@ func (mg *TransitGatewayMulticastGroupSource) GetProviderConfigReference() *xpv1 return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayMulticastGroupSource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastGroupSource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayMulticastGroupSource. func (mg *TransitGatewayMulticastGroupSource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4777,14 +3777,6 @@ func (mg *TransitGatewayMulticastGroupSource) SetProviderConfigReference(r *xpv1 mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayMulticastGroupSource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayMulticastGroupSource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayMulticastGroupSource. func (mg *TransitGatewayMulticastGroupSource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4815,14 +3807,6 @@ func (mg *TransitGatewayPeeringAttachment) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayPeeringAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayPeeringAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayPeeringAttachment. func (mg *TransitGatewayPeeringAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4853,14 +3837,6 @@ func (mg *TransitGatewayPeeringAttachment) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayPeeringAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayPeeringAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayPeeringAttachment. func (mg *TransitGatewayPeeringAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4891,14 +3867,6 @@ func (mg *TransitGatewayPeeringAttachmentAccepter) GetProviderConfigReference() return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayPeeringAttachmentAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayPeeringAttachmentAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayPeeringAttachmentAccepter. func (mg *TransitGatewayPeeringAttachmentAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -4929,14 +3897,6 @@ func (mg *TransitGatewayPeeringAttachmentAccepter) SetProviderConfigReference(r mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayPeeringAttachmentAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayPeeringAttachmentAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayPeeringAttachmentAccepter. func (mg *TransitGatewayPeeringAttachmentAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -4967,14 +3927,6 @@ func (mg *TransitGatewayPolicyTable) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayPolicyTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayPolicyTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayPolicyTable. func (mg *TransitGatewayPolicyTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5005,14 +3957,6 @@ func (mg *TransitGatewayPolicyTable) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayPolicyTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayPolicyTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayPolicyTable. func (mg *TransitGatewayPolicyTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5043,14 +3987,6 @@ func (mg *TransitGatewayPrefixListReference) GetProviderConfigReference() *xpv1. return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayPrefixListReference. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayPrefixListReference) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayPrefixListReference. func (mg *TransitGatewayPrefixListReference) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5081,14 +4017,6 @@ func (mg *TransitGatewayPrefixListReference) SetProviderConfigReference(r *xpv1. mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayPrefixListReference. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayPrefixListReference) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayPrefixListReference. func (mg *TransitGatewayPrefixListReference) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5119,14 +4047,6 @@ func (mg *TransitGatewayRoute) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayRoute. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayRoute) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayRoute. func (mg *TransitGatewayRoute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5157,14 +4077,6 @@ func (mg *TransitGatewayRoute) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayRoute. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayRoute) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayRoute. func (mg *TransitGatewayRoute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5195,14 +4107,6 @@ func (mg *TransitGatewayRouteTable) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayRouteTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayRouteTable. func (mg *TransitGatewayRouteTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5233,14 +4137,6 @@ func (mg *TransitGatewayRouteTable) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayRouteTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayRouteTable. func (mg *TransitGatewayRouteTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5271,14 +4167,6 @@ func (mg *TransitGatewayRouteTableAssociation) GetProviderConfigReference() *xpv return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayRouteTableAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTableAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayRouteTableAssociation. func (mg *TransitGatewayRouteTableAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5309,14 +4197,6 @@ func (mg *TransitGatewayRouteTableAssociation) SetProviderConfigReference(r *xpv mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayRouteTableAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTableAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayRouteTableAssociation. func (mg *TransitGatewayRouteTableAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5347,14 +4227,6 @@ func (mg *TransitGatewayRouteTablePropagation) GetProviderConfigReference() *xpv return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayRouteTablePropagation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTablePropagation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayRouteTablePropagation. func (mg *TransitGatewayRouteTablePropagation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5385,14 +4257,6 @@ func (mg *TransitGatewayRouteTablePropagation) SetProviderConfigReference(r *xpv mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayRouteTablePropagation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayRouteTablePropagation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayRouteTablePropagation. func (mg *TransitGatewayRouteTablePropagation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5423,14 +4287,6 @@ func (mg *TransitGatewayVPCAttachment) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayVPCAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayVPCAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayVPCAttachment. func (mg *TransitGatewayVPCAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5461,14 +4317,6 @@ func (mg *TransitGatewayVPCAttachment) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayVPCAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayVPCAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayVPCAttachment. func (mg *TransitGatewayVPCAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5499,14 +4347,6 @@ func (mg *TransitGatewayVPCAttachmentAccepter) GetProviderConfigReference() *xpv return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayVPCAttachmentAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayVPCAttachmentAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayVPCAttachmentAccepter. func (mg *TransitGatewayVPCAttachmentAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5537,14 +4377,6 @@ func (mg *TransitGatewayVPCAttachmentAccepter) SetProviderConfigReference(r *xpv mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayVPCAttachmentAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayVPCAttachmentAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayVPCAttachmentAccepter. func (mg *TransitGatewayVPCAttachmentAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5575,14 +4407,6 @@ func (mg *VPC) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPC. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPC) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPC. func (mg *VPC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5613,14 +4437,6 @@ func (mg *VPC) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPC. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPC) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPC. func (mg *VPC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5651,14 +4467,6 @@ func (mg *VPCDHCPOptions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCDHCPOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCDHCPOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCDHCPOptions. func (mg *VPCDHCPOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5689,14 +4497,6 @@ func (mg *VPCDHCPOptions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCDHCPOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCDHCPOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCDHCPOptions. func (mg *VPCDHCPOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5727,14 +4527,6 @@ func (mg *VPCDHCPOptionsAssociation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCDHCPOptionsAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCDHCPOptionsAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCDHCPOptionsAssociation. func (mg *VPCDHCPOptionsAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5765,14 +4557,6 @@ func (mg *VPCDHCPOptionsAssociation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCDHCPOptionsAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCDHCPOptionsAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCDHCPOptionsAssociation. func (mg *VPCDHCPOptionsAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5803,14 +4587,6 @@ func (mg *VPCEndpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpoint. func (mg *VPCEndpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5841,14 +4617,6 @@ func (mg *VPCEndpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpoint. func (mg *VPCEndpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5879,14 +4647,6 @@ func (mg *VPCEndpointConnectionNotification) GetProviderConfigReference() *xpv1. return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointConnectionNotification. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointConnectionNotification) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointConnectionNotification. func (mg *VPCEndpointConnectionNotification) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5917,14 +4677,6 @@ func (mg *VPCEndpointConnectionNotification) SetProviderConfigReference(r *xpv1. mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointConnectionNotification. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointConnectionNotification) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointConnectionNotification. func (mg *VPCEndpointConnectionNotification) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -5955,14 +4707,6 @@ func (mg *VPCEndpointRouteTableAssociation) GetProviderConfigReference() *xpv1.R return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointRouteTableAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointRouteTableAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointRouteTableAssociation. func (mg *VPCEndpointRouteTableAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -5993,14 +4737,6 @@ func (mg *VPCEndpointRouteTableAssociation) SetProviderConfigReference(r *xpv1.R mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointRouteTableAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointRouteTableAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointRouteTableAssociation. func (mg *VPCEndpointRouteTableAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6031,14 +4767,6 @@ func (mg *VPCEndpointSecurityGroupAssociation) GetProviderConfigReference() *xpv return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointSecurityGroupAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointSecurityGroupAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointSecurityGroupAssociation. func (mg *VPCEndpointSecurityGroupAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6069,14 +4797,6 @@ func (mg *VPCEndpointSecurityGroupAssociation) SetProviderConfigReference(r *xpv mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointSecurityGroupAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointSecurityGroupAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointSecurityGroupAssociation. func (mg *VPCEndpointSecurityGroupAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6107,14 +4827,6 @@ func (mg *VPCEndpointService) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointService. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointService) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointService. func (mg *VPCEndpointService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6145,14 +4857,6 @@ func (mg *VPCEndpointService) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointService. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointService) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointService. func (mg *VPCEndpointService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6183,14 +4887,6 @@ func (mg *VPCEndpointServiceAllowedPrincipal) GetProviderConfigReference() *xpv1 return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointServiceAllowedPrincipal. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointServiceAllowedPrincipal) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointServiceAllowedPrincipal. func (mg *VPCEndpointServiceAllowedPrincipal) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6221,14 +4917,6 @@ func (mg *VPCEndpointServiceAllowedPrincipal) SetProviderConfigReference(r *xpv1 mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointServiceAllowedPrincipal. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointServiceAllowedPrincipal) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointServiceAllowedPrincipal. func (mg *VPCEndpointServiceAllowedPrincipal) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6259,14 +4947,6 @@ func (mg *VPCEndpointSubnetAssociation) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCEndpointSubnetAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCEndpointSubnetAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCEndpointSubnetAssociation. func (mg *VPCEndpointSubnetAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6297,14 +4977,6 @@ func (mg *VPCEndpointSubnetAssociation) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCEndpointSubnetAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCEndpointSubnetAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCEndpointSubnetAssociation. func (mg *VPCEndpointSubnetAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6335,14 +5007,6 @@ func (mg *VPCIPv4CidrBlockAssociation) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIPv4CidrBlockAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIPv4CidrBlockAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIPv4CidrBlockAssociation. func (mg *VPCIPv4CidrBlockAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6373,14 +5037,6 @@ func (mg *VPCIPv4CidrBlockAssociation) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIPv4CidrBlockAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIPv4CidrBlockAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIPv4CidrBlockAssociation. func (mg *VPCIPv4CidrBlockAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6411,14 +5067,6 @@ func (mg *VPCIpam) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIpam. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIpam) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIpam. func (mg *VPCIpam) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6449,14 +5097,6 @@ func (mg *VPCIpam) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIpam. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIpam) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIpam. func (mg *VPCIpam) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6487,14 +5127,6 @@ func (mg *VPCIpamPool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIpamPool. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIpamPool) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIpamPool. func (mg *VPCIpamPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6525,14 +5157,6 @@ func (mg *VPCIpamPool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIpamPool. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIpamPool) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIpamPool. func (mg *VPCIpamPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6563,14 +5187,6 @@ func (mg *VPCIpamPoolCidr) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIpamPoolCidr. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIpamPoolCidr) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIpamPoolCidr. func (mg *VPCIpamPoolCidr) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6601,14 +5217,6 @@ func (mg *VPCIpamPoolCidr) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIpamPoolCidr. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIpamPoolCidr) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIpamPoolCidr. func (mg *VPCIpamPoolCidr) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6639,14 +5247,6 @@ func (mg *VPCIpamPoolCidrAllocation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIpamPoolCidrAllocation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIpamPoolCidrAllocation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIpamPoolCidrAllocation. func (mg *VPCIpamPoolCidrAllocation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6677,14 +5277,6 @@ func (mg *VPCIpamPoolCidrAllocation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIpamPoolCidrAllocation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIpamPoolCidrAllocation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIpamPoolCidrAllocation. func (mg *VPCIpamPoolCidrAllocation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6715,14 +5307,6 @@ func (mg *VPCIpamScope) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCIpamScope. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCIpamScope) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCIpamScope. func (mg *VPCIpamScope) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6753,14 +5337,6 @@ func (mg *VPCIpamScope) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCIpamScope. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCIpamScope) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCIpamScope. func (mg *VPCIpamScope) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6791,14 +5367,6 @@ func (mg *VPCPeeringConnection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCPeeringConnection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCPeeringConnection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCPeeringConnection. func (mg *VPCPeeringConnection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6829,14 +5397,6 @@ func (mg *VPCPeeringConnection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCPeeringConnection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCPeeringConnection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCPeeringConnection. func (mg *VPCPeeringConnection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6867,14 +5427,6 @@ func (mg *VPCPeeringConnectionAccepter) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCPeeringConnectionAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCPeeringConnectionAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCPeeringConnectionAccepter. func (mg *VPCPeeringConnectionAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6905,14 +5457,6 @@ func (mg *VPCPeeringConnectionAccepter) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCPeeringConnectionAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCPeeringConnectionAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCPeeringConnectionAccepter. func (mg *VPCPeeringConnectionAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -6943,14 +5487,6 @@ func (mg *VPCPeeringConnectionOptions) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCPeeringConnectionOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCPeeringConnectionOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCPeeringConnectionOptions. func (mg *VPCPeeringConnectionOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -6981,14 +5517,6 @@ func (mg *VPCPeeringConnectionOptions) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCPeeringConnectionOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCPeeringConnectionOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCPeeringConnectionOptions. func (mg *VPCPeeringConnectionOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7019,14 +5547,6 @@ func (mg *VPNConnection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPNConnection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPNConnection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPNConnection. func (mg *VPNConnection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7057,14 +5577,6 @@ func (mg *VPNConnection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPNConnection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPNConnection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPNConnection. func (mg *VPNConnection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7095,14 +5607,6 @@ func (mg *VPNConnectionRoute) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPNConnectionRoute. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPNConnectionRoute) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPNConnectionRoute. func (mg *VPNConnectionRoute) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7133,14 +5637,6 @@ func (mg *VPNConnectionRoute) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPNConnectionRoute. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPNConnectionRoute) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPNConnectionRoute. func (mg *VPNConnectionRoute) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7171,14 +5667,6 @@ func (mg *VPNGateway) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPNGateway. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPNGateway) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPNGateway. func (mg *VPNGateway) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7209,14 +5697,6 @@ func (mg *VPNGateway) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPNGateway. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPNGateway) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPNGateway. func (mg *VPNGateway) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7247,14 +5727,6 @@ func (mg *VPNGatewayAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPNGatewayAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPNGatewayAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPNGatewayAttachment. func (mg *VPNGatewayAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7285,14 +5757,6 @@ func (mg *VPNGatewayAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPNGatewayAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPNGatewayAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPNGatewayAttachment. func (mg *VPNGatewayAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7323,14 +5787,6 @@ func (mg *VPNGatewayRoutePropagation) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPNGatewayRoutePropagation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPNGatewayRoutePropagation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPNGatewayRoutePropagation. func (mg *VPNGatewayRoutePropagation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7361,14 +5817,6 @@ func (mg *VPNGatewayRoutePropagation) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPNGatewayRoutePropagation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPNGatewayRoutePropagation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPNGatewayRoutePropagation. func (mg *VPNGatewayRoutePropagation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -7399,14 +5847,6 @@ func (mg *VolumeAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VolumeAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VolumeAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VolumeAttachment. func (mg *VolumeAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -7437,14 +5877,6 @@ func (mg *VolumeAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VolumeAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VolumeAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VolumeAttachment. func (mg *VolumeAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ec2/v1beta1/zz_host_types.go b/apis/ec2/v1beta1/zz_host_types.go index 0d1ba2a16e..b86e4b6c33 100755 --- a/apis/ec2/v1beta1/zz_host_types.go +++ b/apis/ec2/v1beta1/zz_host_types.go @@ -145,7 +145,7 @@ type HostStatus struct { type Host struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" Spec HostSpec `json:"spec"` Status HostStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_instancestate_types.go b/apis/ec2/v1beta1/zz_instancestate_types.go index f1a961b491..40758a316d 100755 --- a/apis/ec2/v1beta1/zz_instancestate_types.go +++ b/apis/ec2/v1beta1/zz_instancestate_types.go @@ -103,7 +103,7 @@ type InstanceStateStatus struct { type InstanceState struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.state) || has(self.initProvider.state)",message="state is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.state) || (has(self.initProvider) && has(self.initProvider.state))",message="spec.forProvider.state is a required parameter" Spec InstanceStateSpec `json:"spec"` Status InstanceStateStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_keypair_types.go b/apis/ec2/v1beta1/zz_keypair_types.go index 37a6fec9be..503a104af5 100755 --- a/apis/ec2/v1beta1/zz_keypair_types.go +++ b/apis/ec2/v1beta1/zz_keypair_types.go @@ -101,7 +101,7 @@ type KeyPairStatus struct { type KeyPair struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publicKey) || has(self.initProvider.publicKey)",message="publicKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publicKey) || (has(self.initProvider) && has(self.initProvider.publicKey))",message="spec.forProvider.publicKey is a required parameter" Spec KeyPairSpec `json:"spec"` Status KeyPairStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_managedprefixlist_types.go b/apis/ec2/v1beta1/zz_managedprefixlist_types.go index ccdc68d137..ea96b17071 100755 --- a/apis/ec2/v1beta1/zz_managedprefixlist_types.go +++ b/apis/ec2/v1beta1/zz_managedprefixlist_types.go @@ -164,9 +164,9 @@ type ManagedPrefixListStatus struct { type ManagedPrefixList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxEntries) || has(self.initProvider.maxEntries)",message="maxEntries is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.maxEntries) || (has(self.initProvider) && has(self.initProvider.maxEntries))",message="spec.forProvider.maxEntries is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ManagedPrefixListSpec `json:"spec"` Status ManagedPrefixListStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_networkaclrule_types.go b/apis/ec2/v1beta1/zz_networkaclrule_types.go index 55f1af3e74..c830bec13f 100755 --- a/apis/ec2/v1beta1/zz_networkaclrule_types.go +++ b/apis/ec2/v1beta1/zz_networkaclrule_types.go @@ -183,9 +183,9 @@ type NetworkACLRuleStatus struct { type NetworkACLRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleAction) || has(self.initProvider.ruleAction)",message="ruleAction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleNumber) || has(self.initProvider.ruleNumber)",message="ruleNumber is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleAction) || (has(self.initProvider) && has(self.initProvider.ruleAction))",message="spec.forProvider.ruleAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleNumber) || (has(self.initProvider) && has(self.initProvider.ruleNumber))",message="spec.forProvider.ruleNumber is a required parameter" Spec NetworkACLRuleSpec `json:"spec"` Status NetworkACLRuleStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_networkinsightspath_types.go b/apis/ec2/v1beta1/zz_networkinsightspath_types.go index d33a9f8eaa..48452d919b 100755 --- a/apis/ec2/v1beta1/zz_networkinsightspath_types.go +++ b/apis/ec2/v1beta1/zz_networkinsightspath_types.go @@ -156,7 +156,7 @@ type NetworkInsightsPathStatus struct { type NetworkInsightsPath struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" Spec NetworkInsightsPathSpec `json:"spec"` Status NetworkInsightsPathStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go b/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go index 0a881f422a..4d0e2e315a 100755 --- a/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go +++ b/apis/ec2/v1beta1/zz_networkinterfaceattachment_types.go @@ -115,7 +115,7 @@ type NetworkInterfaceAttachmentStatus struct { type NetworkInterfaceAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deviceIndex) || has(self.initProvider.deviceIndex)",message="deviceIndex is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deviceIndex) || (has(self.initProvider) && has(self.initProvider.deviceIndex))",message="spec.forProvider.deviceIndex is a required parameter" Spec NetworkInterfaceAttachmentSpec `json:"spec"` Status NetworkInterfaceAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_placementgroup_types.go b/apis/ec2/v1beta1/zz_placementgroup_types.go index a520f34ff3..d3d773108e 100755 --- a/apis/ec2/v1beta1/zz_placementgroup_types.go +++ b/apis/ec2/v1beta1/zz_placementgroup_types.go @@ -124,7 +124,7 @@ type PlacementGroupStatus struct { type PlacementGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.strategy) || has(self.initProvider.strategy)",message="strategy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.strategy) || (has(self.initProvider) && has(self.initProvider.strategy))",message="spec.forProvider.strategy is a required parameter" Spec PlacementGroupSpec `json:"spec"` Status PlacementGroupStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_securitygrouprule_types.go b/apis/ec2/v1beta1/zz_securitygrouprule_types.go index a38feccf30..559cfb57ad 100755 --- a/apis/ec2/v1beta1/zz_securitygrouprule_types.go +++ b/apis/ec2/v1beta1/zz_securitygrouprule_types.go @@ -202,10 +202,10 @@ type SecurityGroupRuleStatus struct { type SecurityGroupRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fromPort) || has(self.initProvider.fromPort)",message="fromPort is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.toPort) || has(self.initProvider.toPort)",message="toPort is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fromPort) || (has(self.initProvider) && has(self.initProvider.fromPort))",message="spec.forProvider.fromPort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.toPort) || (has(self.initProvider) && has(self.initProvider.toPort))",message="spec.forProvider.toPort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec SecurityGroupRuleSpec `json:"spec"` Status SecurityGroupRuleStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go b/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go index 720b6d34a6..401f6cbb27 100755 --- a/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go +++ b/apis/ec2/v1beta1/zz_snapshotcreatevolumepermission_types.go @@ -93,7 +93,7 @@ type SnapshotCreateVolumePermissionStatus struct { type SnapshotCreateVolumePermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || has(self.initProvider.accountId)",message="accountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || (has(self.initProvider) && has(self.initProvider.accountId))",message="spec.forProvider.accountId is a required parameter" Spec SnapshotCreateVolumePermissionSpec `json:"spec"` Status SnapshotCreateVolumePermissionStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_spotdatafeedsubscription_types.go b/apis/ec2/v1beta1/zz_spotdatafeedsubscription_types.go index 5974af7f94..b157dfecbd 100755 --- a/apis/ec2/v1beta1/zz_spotdatafeedsubscription_types.go +++ b/apis/ec2/v1beta1/zz_spotdatafeedsubscription_types.go @@ -85,7 +85,7 @@ type SpotDatafeedSubscriptionStatus struct { type SpotDatafeedSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || has(self.initProvider.bucket)",message="bucket is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || (has(self.initProvider) && has(self.initProvider.bucket))",message="spec.forProvider.bucket is a required parameter" Spec SpotDatafeedSubscriptionSpec `json:"spec"` Status SpotDatafeedSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_spotfleetrequest_types.go b/apis/ec2/v1beta1/zz_spotfleetrequest_types.go index ded571addd..6ac25bb9b0 100755 --- a/apis/ec2/v1beta1/zz_spotfleetrequest_types.go +++ b/apis/ec2/v1beta1/zz_spotfleetrequest_types.go @@ -1425,8 +1425,8 @@ type SpotFleetRequestStatus struct { type SpotFleetRequest struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.iamFleetRole) || has(self.initProvider.iamFleetRole)",message="iamFleetRole is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetCapacity) || has(self.initProvider.targetCapacity)",message="targetCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.iamFleetRole) || (has(self.initProvider) && has(self.initProvider.iamFleetRole))",message="spec.forProvider.iamFleetRole is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetCapacity) || (has(self.initProvider) && has(self.initProvider.targetCapacity))",message="spec.forProvider.targetCapacity is a required parameter" Spec SpotFleetRequestSpec `json:"spec"` Status SpotFleetRequestStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go b/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go index b962905349..58bde65308 100755 --- a/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go +++ b/apis/ec2/v1beta1/zz_subnetcidrreservation_types.go @@ -115,8 +115,8 @@ type SubnetCidrReservationStatus struct { type SubnetCidrReservation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidrBlock) || has(self.initProvider.cidrBlock)",message="cidrBlock is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reservationType) || has(self.initProvider.reservationType)",message="reservationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidrBlock) || (has(self.initProvider) && has(self.initProvider.cidrBlock))",message="spec.forProvider.cidrBlock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reservationType) || (has(self.initProvider) && has(self.initProvider.reservationType))",message="spec.forProvider.reservationType is a required parameter" Spec SubnetCidrReservationSpec `json:"spec"` Status SubnetCidrReservationStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_tag_types.go b/apis/ec2/v1beta1/zz_tag_types.go index b4a02c2621..cc718ea7e0 100755 --- a/apis/ec2/v1beta1/zz_tag_types.go +++ b/apis/ec2/v1beta1/zz_tag_types.go @@ -90,7 +90,7 @@ type TagStatus struct { type Tag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec TagSpec `json:"spec"` Status TagStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go b/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go index 1d038a1b7a..b4184825db 100755 --- a/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go +++ b/apis/ec2/v1beta1/zz_trafficmirrorfilterrule_types.go @@ -234,11 +234,11 @@ type TrafficMirrorFilterRuleStatus struct { type TrafficMirrorFilterRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || has(self.initProvider.destinationCidrBlock)",message="destinationCidrBlock is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleAction) || has(self.initProvider.ruleAction)",message="ruleAction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleNumber) || has(self.initProvider.ruleNumber)",message="ruleNumber is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceCidrBlock) || has(self.initProvider.sourceCidrBlock)",message="sourceCidrBlock is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trafficDirection) || has(self.initProvider.trafficDirection)",message="trafficDirection is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))",message="spec.forProvider.destinationCidrBlock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleAction) || (has(self.initProvider) && has(self.initProvider.ruleAction))",message="spec.forProvider.ruleAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleNumber) || (has(self.initProvider) && has(self.initProvider.ruleNumber))",message="spec.forProvider.ruleNumber is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceCidrBlock) || (has(self.initProvider) && has(self.initProvider.sourceCidrBlock))",message="spec.forProvider.sourceCidrBlock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trafficDirection) || (has(self.initProvider) && has(self.initProvider.trafficDirection))",message="spec.forProvider.trafficDirection is a required parameter" Spec TrafficMirrorFilterRuleSpec `json:"spec"` Status TrafficMirrorFilterRuleStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go b/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go index 4a6540c1c4..0b17c4620b 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayconnectpeer_types.go @@ -139,8 +139,8 @@ type TransitGatewayConnectPeerStatus struct { type TransitGatewayConnectPeer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.insideCidrBlocks) || has(self.initProvider.insideCidrBlocks)",message="insideCidrBlocks is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.peerAddress) || has(self.initProvider.peerAddress)",message="peerAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.insideCidrBlocks) || (has(self.initProvider) && has(self.initProvider.insideCidrBlocks))",message="spec.forProvider.insideCidrBlocks is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.peerAddress) || (has(self.initProvider) && has(self.initProvider.peerAddress))",message="spec.forProvider.peerAddress is a required parameter" Spec TransitGatewayConnectPeerSpec `json:"spec"` Status TransitGatewayConnectPeerStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go index 57bc61fe83..05a8b983ab 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupmember_types.go @@ -110,7 +110,7 @@ type TransitGatewayMulticastGroupMemberStatus struct { type TransitGatewayMulticastGroupMember struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupIpAddress) || has(self.initProvider.groupIpAddress)",message="groupIpAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupIpAddress) || (has(self.initProvider) && has(self.initProvider.groupIpAddress))",message="spec.forProvider.groupIpAddress is a required parameter" Spec TransitGatewayMulticastGroupMemberSpec `json:"spec"` Status TransitGatewayMulticastGroupMemberStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go index ec883f3460..8d2dc0a97f 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaymulticastgroupsource_types.go @@ -110,7 +110,7 @@ type TransitGatewayMulticastGroupSourceStatus struct { type TransitGatewayMulticastGroupSource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupIpAddress) || has(self.initProvider.groupIpAddress)",message="groupIpAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupIpAddress) || (has(self.initProvider) && has(self.initProvider.groupIpAddress))",message="spec.forProvider.groupIpAddress is a required parameter" Spec TransitGatewayMulticastGroupSourceSpec `json:"spec"` Status TransitGatewayMulticastGroupSourceStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go index c198263169..cdaf2acf7b 100755 --- a/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewaypeeringattachment_types.go @@ -133,7 +133,7 @@ type TransitGatewayPeeringAttachmentStatus struct { type TransitGatewayPeeringAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.peerRegion) || has(self.initProvider.peerRegion)",message="peerRegion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.peerRegion) || (has(self.initProvider) && has(self.initProvider.peerRegion))",message="spec.forProvider.peerRegion is a required parameter" Spec TransitGatewayPeeringAttachmentSpec `json:"spec"` Status TransitGatewayPeeringAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_transitgatewayroute_types.go b/apis/ec2/v1beta1/zz_transitgatewayroute_types.go index faa5a03361..928e061c73 100755 --- a/apis/ec2/v1beta1/zz_transitgatewayroute_types.go +++ b/apis/ec2/v1beta1/zz_transitgatewayroute_types.go @@ -118,7 +118,7 @@ type TransitGatewayRouteStatus struct { type TransitGatewayRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || has(self.initProvider.destinationCidrBlock)",message="destinationCidrBlock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))",message="spec.forProvider.destinationCidrBlock is a required parameter" Spec TransitGatewayRouteSpec `json:"spec"` Status TransitGatewayRouteStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_volumeattachment_types.go b/apis/ec2/v1beta1/zz_volumeattachment_types.go index 015ea0c72d..6663a8078f 100755 --- a/apis/ec2/v1beta1/zz_volumeattachment_types.go +++ b/apis/ec2/v1beta1/zz_volumeattachment_types.go @@ -160,7 +160,7 @@ type VolumeAttachmentStatus struct { type VolumeAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deviceName) || has(self.initProvider.deviceName)",message="deviceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deviceName) || (has(self.initProvider) && has(self.initProvider.deviceName))",message="spec.forProvider.deviceName is a required parameter" Spec VolumeAttachmentSpec `json:"spec"` Status VolumeAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go b/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go index e0724d2171..655b391d89 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointconnectionnotification_types.go @@ -126,7 +126,7 @@ type VPCEndpointConnectionNotificationStatus struct { type VPCEndpointConnectionNotification struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.connectionEvents) || has(self.initProvider.connectionEvents)",message="connectionEvents is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.connectionEvents) || (has(self.initProvider) && has(self.initProvider.connectionEvents))",message="spec.forProvider.connectionEvents is a required parameter" Spec VPCEndpointConnectionNotificationSpec `json:"spec"` Status VPCEndpointConnectionNotificationStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcendpointservice_types.go b/apis/ec2/v1beta1/zz_vpcendpointservice_types.go index b26372bc18..f4f29321e3 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointservice_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointservice_types.go @@ -177,7 +177,7 @@ type VPCEndpointServiceStatus struct { type VPCEndpointService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptanceRequired) || has(self.initProvider.acceptanceRequired)",message="acceptanceRequired is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptanceRequired) || (has(self.initProvider) && has(self.initProvider.acceptanceRequired))",message="spec.forProvider.acceptanceRequired is a required parameter" Spec VPCEndpointServiceSpec `json:"spec"` Status VPCEndpointServiceStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go b/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go index 7f7759c073..4642846076 100755 --- a/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go +++ b/apis/ec2/v1beta1/zz_vpcendpointserviceallowedprincipal_types.go @@ -93,7 +93,7 @@ type VPCEndpointServiceAllowedPrincipalStatus struct { type VPCEndpointServiceAllowedPrincipal struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principalArn) || has(self.initProvider.principalArn)",message="principalArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principalArn) || (has(self.initProvider) && has(self.initProvider.principalArn))",message="spec.forProvider.principalArn is a required parameter" Spec VPCEndpointServiceAllowedPrincipalSpec `json:"spec"` Status VPCEndpointServiceAllowedPrincipalStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcipam_types.go b/apis/ec2/v1beta1/zz_vpcipam_types.go index 6723a73594..4d311d81aa 100755 --- a/apis/ec2/v1beta1/zz_vpcipam_types.go +++ b/apis/ec2/v1beta1/zz_vpcipam_types.go @@ -147,7 +147,7 @@ type VPCIpamStatus struct { type VPCIpam struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operatingRegions) || has(self.initProvider.operatingRegions)",message="operatingRegions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operatingRegions) || (has(self.initProvider) && has(self.initProvider.operatingRegions))",message="spec.forProvider.operatingRegions is a required parameter" Spec VPCIpamSpec `json:"spec"` Status VPCIpamStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpcipampool_types.go b/apis/ec2/v1beta1/zz_vpcipampool_types.go index 7aee406323..5a6974f820 100755 --- a/apis/ec2/v1beta1/zz_vpcipampool_types.go +++ b/apis/ec2/v1beta1/zz_vpcipampool_types.go @@ -235,7 +235,7 @@ type VPCIpamPoolStatus struct { type VPCIpamPool struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || has(self.initProvider.addressFamily)",message="addressFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addressFamily) || (has(self.initProvider) && has(self.initProvider.addressFamily))",message="spec.forProvider.addressFamily is a required parameter" Spec VPCIpamPoolSpec `json:"spec"` Status VPCIpamPoolStatus `json:"status,omitempty"` } diff --git a/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go b/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go index aa283b896e..7ab66f674e 100755 --- a/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go +++ b/apis/ec2/v1beta1/zz_vpnconnectionroute_types.go @@ -92,7 +92,7 @@ type VPNConnectionRouteStatus struct { type VPNConnectionRoute struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || has(self.initProvider.destinationCidrBlock)",message="destinationCidrBlock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))",message="spec.forProvider.destinationCidrBlock is a required parameter" Spec VPNConnectionRouteSpec `json:"spec"` Status VPNConnectionRouteStatus `json:"status,omitempty"` } diff --git a/apis/ecr/v1beta1/zz_generated.deepcopy.go b/apis/ecr/v1beta1/zz_generated.deepcopy.go index f604e2701a..7ff4c0ac2b 100644 --- a/apis/ecr/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecr/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1421,7 +1420,8 @@ func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1527,7 +1527,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1542,7 +1543,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1601,7 +1603,8 @@ func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ecr/v1beta1/zz_generated.managed.go b/apis/ecr/v1beta1/zz_generated.managed.go index c746f785c5..544d6b56ec 100644 --- a/apis/ecr/v1beta1/zz_generated.managed.go +++ b/apis/ecr/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LifecyclePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LifecyclePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LifecyclePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LifecyclePolicy. func (mg *LifecyclePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LifecyclePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LifecyclePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LifecyclePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LifecyclePolicy. func (mg *LifecyclePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *PullThroughCacheRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PullThroughCacheRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PullThroughCacheRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PullThroughCacheRule. func (mg *PullThroughCacheRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *PullThroughCacheRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PullThroughCacheRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PullThroughCacheRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PullThroughCacheRule. func (mg *PullThroughCacheRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RegistryPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegistryPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegistryPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegistryPolicy. func (mg *RegistryPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RegistryPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegistryPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegistryPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegistryPolicy. func (mg *RegistryPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *RegistryScanningConfiguration) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegistryScanningConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegistryScanningConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegistryScanningConfiguration. func (mg *RegistryScanningConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *RegistryScanningConfiguration) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegistryScanningConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegistryScanningConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegistryScanningConfiguration. func (mg *RegistryScanningConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ReplicationConfiguration) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationConfiguration. func (mg *ReplicationConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ReplicationConfiguration) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationConfiguration. func (mg *ReplicationConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Repository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Repository. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Repository) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Repository. func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Repository. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Repository) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Repository. func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *RepositoryPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RepositoryPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RepositoryPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RepositoryPolicy. func (mg *RepositoryPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *RepositoryPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RepositoryPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RepositoryPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RepositoryPolicy. func (mg *RepositoryPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go b/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go index 59e8962fce..55f9a8194e 100755 --- a/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go +++ b/apis/ecr/v1beta1/zz_lifecyclepolicy_types.go @@ -93,7 +93,7 @@ type LifecyclePolicyStatus struct { type LifecyclePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec LifecyclePolicySpec `json:"spec"` Status LifecyclePolicyStatus `json:"status,omitempty"` } diff --git a/apis/ecr/v1beta1/zz_pullthroughcacherule_types.go b/apis/ecr/v1beta1/zz_pullthroughcacherule_types.go index 7eb4bcfffa..5c627b559e 100755 --- a/apis/ecr/v1beta1/zz_pullthroughcacherule_types.go +++ b/apis/ecr/v1beta1/zz_pullthroughcacherule_types.go @@ -88,8 +88,8 @@ type PullThroughCacheRuleStatus struct { type PullThroughCacheRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ecrRepositoryPrefix) || has(self.initProvider.ecrRepositoryPrefix)",message="ecrRepositoryPrefix is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.upstreamRegistryUrl) || has(self.initProvider.upstreamRegistryUrl)",message="upstreamRegistryUrl is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ecrRepositoryPrefix) || (has(self.initProvider) && has(self.initProvider.ecrRepositoryPrefix))",message="spec.forProvider.ecrRepositoryPrefix is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.upstreamRegistryUrl) || (has(self.initProvider) && has(self.initProvider.upstreamRegistryUrl))",message="spec.forProvider.upstreamRegistryUrl is a required parameter" Spec PullThroughCacheRuleSpec `json:"spec"` Status PullThroughCacheRuleStatus `json:"status,omitempty"` } diff --git a/apis/ecr/v1beta1/zz_registrypolicy_types.go b/apis/ecr/v1beta1/zz_registrypolicy_types.go index 3f1bde9cf0..95b9435966 100755 --- a/apis/ecr/v1beta1/zz_registrypolicy_types.go +++ b/apis/ecr/v1beta1/zz_registrypolicy_types.go @@ -77,7 +77,7 @@ type RegistryPolicyStatus struct { type RegistryPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec RegistryPolicySpec `json:"spec"` Status RegistryPolicyStatus `json:"status,omitempty"` } diff --git a/apis/ecr/v1beta1/zz_registryscanningconfiguration_types.go b/apis/ecr/v1beta1/zz_registryscanningconfiguration_types.go index 08c7a7bdd2..203ed1e12e 100755 --- a/apis/ecr/v1beta1/zz_registryscanningconfiguration_types.go +++ b/apis/ecr/v1beta1/zz_registryscanningconfiguration_types.go @@ -137,7 +137,7 @@ type RegistryScanningConfigurationStatus struct { type RegistryScanningConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scanType) || has(self.initProvider.scanType)",message="scanType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scanType) || (has(self.initProvider) && has(self.initProvider.scanType))",message="spec.forProvider.scanType is a required parameter" Spec RegistryScanningConfigurationSpec `json:"spec"` Status RegistryScanningConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/ecr/v1beta1/zz_repositorypolicy_types.go b/apis/ecr/v1beta1/zz_repositorypolicy_types.go index dc1d4739b7..eb463274d1 100755 --- a/apis/ecr/v1beta1/zz_repositorypolicy_types.go +++ b/apis/ecr/v1beta1/zz_repositorypolicy_types.go @@ -93,7 +93,7 @@ type RepositoryPolicyStatus struct { type RepositoryPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec RepositoryPolicySpec `json:"spec"` Status RepositoryPolicyStatus `json:"status,omitempty"` } diff --git a/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go b/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go index 168285e975..31e95f1381 100644 --- a/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecrpublic/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -235,7 +234,8 @@ func (in *RepositoryInitParameters) DeepCopyInto(out *RepositoryInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -329,7 +329,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -344,7 +345,8 @@ func (in *RepositoryObservation) DeepCopyInto(out *RepositoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -391,7 +393,8 @@ func (in *RepositoryParameters) DeepCopyInto(out *RepositoryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ecrpublic/v1beta1/zz_generated.managed.go b/apis/ecrpublic/v1beta1/zz_generated.managed.go index abfb0e9918..99512491a2 100644 --- a/apis/ecrpublic/v1beta1/zz_generated.managed.go +++ b/apis/ecrpublic/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Repository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Repository. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Repository) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Repository. func (mg *Repository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Repository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Repository. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Repository) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Repository. func (mg *Repository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RepositoryPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RepositoryPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RepositoryPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RepositoryPolicy. func (mg *RepositoryPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RepositoryPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RepositoryPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RepositoryPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RepositoryPolicy. func (mg *RepositoryPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go b/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go index f881f58993..d9bb8b67a5 100755 --- a/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go +++ b/apis/ecrpublic/v1beta1/zz_repositorypolicy_types.go @@ -93,7 +93,7 @@ type RepositoryPolicyStatus struct { type RepositoryPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec RepositoryPolicySpec `json:"spec"` Status RepositoryPolicyStatus `json:"status,omitempty"` } diff --git a/apis/ecs/v1beta1/zz_accountsettingdefault_types.go b/apis/ecs/v1beta1/zz_accountsettingdefault_types.go index c8ee193202..96453f1996 100755 --- a/apis/ecs/v1beta1/zz_accountsettingdefault_types.go +++ b/apis/ecs/v1beta1/zz_accountsettingdefault_types.go @@ -88,8 +88,8 @@ type AccountSettingDefaultStatus struct { type AccountSettingDefault struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec AccountSettingDefaultSpec `json:"spec"` Status AccountSettingDefaultStatus `json:"status,omitempty"` } diff --git a/apis/ecs/v1beta1/zz_capacityprovider_types.go b/apis/ecs/v1beta1/zz_capacityprovider_types.go index 622bc41d46..93eca2787b 100755 --- a/apis/ecs/v1beta1/zz_capacityprovider_types.go +++ b/apis/ecs/v1beta1/zz_capacityprovider_types.go @@ -197,7 +197,7 @@ type CapacityProviderStatus struct { type CapacityProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoScalingGroupProvider) || has(self.initProvider.autoScalingGroupProvider)",message="autoScalingGroupProvider is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autoScalingGroupProvider) || (has(self.initProvider) && has(self.initProvider.autoScalingGroupProvider))",message="spec.forProvider.autoScalingGroupProvider is a required parameter" Spec CapacityProviderSpec `json:"spec"` Status CapacityProviderStatus `json:"status,omitempty"` } diff --git a/apis/ecs/v1beta1/zz_generated.deepcopy.go b/apis/ecs/v1beta1/zz_generated.deepcopy.go index 38b0187ed4..c4fa410c1a 100644 --- a/apis/ecs/v1beta1/zz_generated.deepcopy.go +++ b/apis/ecs/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -527,7 +526,8 @@ func (in *CapacityProviderInitParameters) DeepCopyInto(out *CapacityProviderInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -606,7 +606,8 @@ func (in *CapacityProviderObservation) DeepCopyInto(out *CapacityProviderObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -621,7 +622,8 @@ func (in *CapacityProviderObservation) DeepCopyInto(out *CapacityProviderObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -663,7 +665,8 @@ func (in *CapacityProviderParameters) DeepCopyInto(out *CapacityProviderParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1261,7 +1264,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1372,7 +1376,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1387,7 +1392,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1450,7 +1456,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1816,7 +1823,8 @@ func (in *DockerVolumeConfigurationInitParameters) DeepCopyInto(out *DockerVolum if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1831,7 +1839,8 @@ func (in *DockerVolumeConfigurationInitParameters) DeepCopyInto(out *DockerVolum if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1876,7 +1885,8 @@ func (in *DockerVolumeConfigurationObservation) DeepCopyInto(out *DockerVolumeCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1891,7 +1901,8 @@ func (in *DockerVolumeConfigurationObservation) DeepCopyInto(out *DockerVolumeCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1936,7 +1947,8 @@ func (in *DockerVolumeConfigurationParameters) DeepCopyInto(out *DockerVolumeCon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1951,7 +1963,8 @@ func (in *DockerVolumeConfigurationParameters) DeepCopyInto(out *DockerVolumeCon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3147,7 +3160,8 @@ func (in *ProxyConfigurationInitParameters) DeepCopyInto(out *ProxyConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3187,7 +3201,8 @@ func (in *ProxyConfigurationObservation) DeepCopyInto(out *ProxyConfigurationObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3227,7 +3242,8 @@ func (in *ProxyConfigurationParameters) DeepCopyInto(out *ProxyConfigurationPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3483,7 +3499,8 @@ func (in *ServiceConnectConfigurationLogConfigurationInitParameters) DeepCopyInt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3525,7 +3542,8 @@ func (in *ServiceConnectConfigurationLogConfigurationObservation) DeepCopyInto(o if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3567,7 +3585,8 @@ func (in *ServiceConnectConfigurationLogConfigurationParameters) DeepCopyInto(ou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3978,7 +3997,8 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3993,7 +4013,8 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4200,7 +4221,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4215,7 +4237,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4235,7 +4258,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4430,7 +4454,8 @@ func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4460,7 +4485,8 @@ func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4823,7 +4849,8 @@ func (in *TaskDefinitionInitParameters) DeepCopyInto(out *TaskDefinitionInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5008,7 +5035,8 @@ func (in *TaskDefinitionObservation) DeepCopyInto(out *TaskDefinitionObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5023,7 +5051,8 @@ func (in *TaskDefinitionObservation) DeepCopyInto(out *TaskDefinitionObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5171,7 +5200,8 @@ func (in *TaskDefinitionParameters) DeepCopyInto(out *TaskDefinitionParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ecs/v1beta1/zz_generated.managed.go b/apis/ecs/v1beta1/zz_generated.managed.go index 04cd02e107..887957df81 100644 --- a/apis/ecs/v1beta1/zz_generated.managed.go +++ b/apis/ecs/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AccountSettingDefault) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccountSettingDefault. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccountSettingDefault) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccountSettingDefault. func (mg *AccountSettingDefault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AccountSettingDefault) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccountSettingDefault. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccountSettingDefault) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccountSettingDefault. func (mg *AccountSettingDefault) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CapacityProvider) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CapacityProvider. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CapacityProvider) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CapacityProvider. func (mg *CapacityProvider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CapacityProvider) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CapacityProvider. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CapacityProvider) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CapacityProvider. func (mg *CapacityProvider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ClusterCapacityProviders) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterCapacityProviders. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterCapacityProviders) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterCapacityProviders. func (mg *ClusterCapacityProviders) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ClusterCapacityProviders) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterCapacityProviders. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterCapacityProviders) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterCapacityProviders. func (mg *ClusterCapacityProviders) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Service) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Service. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Service) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Service. func (mg *Service) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Service. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Service) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Service. func (mg *Service) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *TaskDefinition) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TaskDefinition. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TaskDefinition) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TaskDefinition. func (mg *TaskDefinition) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *TaskDefinition) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TaskDefinition. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TaskDefinition) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TaskDefinition. func (mg *TaskDefinition) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ecs/v1beta1/zz_taskdefinition_types.go b/apis/ecs/v1beta1/zz_taskdefinition_types.go index cd01106538..81fdfb66b5 100755 --- a/apis/ecs/v1beta1/zz_taskdefinition_types.go +++ b/apis/ecs/v1beta1/zz_taskdefinition_types.go @@ -686,8 +686,8 @@ type TaskDefinitionStatus struct { type TaskDefinition struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.containerDefinitions) || has(self.initProvider.containerDefinitions)",message="containerDefinitions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.containerDefinitions) || (has(self.initProvider) && has(self.initProvider.containerDefinitions))",message="spec.forProvider.containerDefinitions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec TaskDefinitionSpec `json:"spec"` Status TaskDefinitionStatus `json:"status,omitempty"` } diff --git a/apis/efs/v1beta1/zz_backuppolicy_types.go b/apis/efs/v1beta1/zz_backuppolicy_types.go index 5f13ddf368..9621a54798 100755 --- a/apis/efs/v1beta1/zz_backuppolicy_types.go +++ b/apis/efs/v1beta1/zz_backuppolicy_types.go @@ -111,7 +111,7 @@ type BackupPolicyStatus struct { type BackupPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.backupPolicy) || has(self.initProvider.backupPolicy)",message="backupPolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.backupPolicy) || (has(self.initProvider) && has(self.initProvider.backupPolicy))",message="spec.forProvider.backupPolicy is a required parameter" Spec BackupPolicySpec `json:"spec"` Status BackupPolicyStatus `json:"status,omitempty"` } diff --git a/apis/efs/v1beta1/zz_filesystempolicy_types.go b/apis/efs/v1beta1/zz_filesystempolicy_types.go index 8fa9095391..4d2f5415c5 100755 --- a/apis/efs/v1beta1/zz_filesystempolicy_types.go +++ b/apis/efs/v1beta1/zz_filesystempolicy_types.go @@ -102,7 +102,7 @@ type FileSystemPolicyStatus struct { type FileSystemPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec FileSystemPolicySpec `json:"spec"` Status FileSystemPolicyStatus `json:"status,omitempty"` } diff --git a/apis/efs/v1beta1/zz_generated.deepcopy.go b/apis/efs/v1beta1/zz_generated.deepcopy.go index 2daa2fd6ee..f06f237225 100644 --- a/apis/efs/v1beta1/zz_generated.deepcopy.go +++ b/apis/efs/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -66,7 +65,8 @@ func (in *AccessPointInitParameters) DeepCopyInto(out *AccessPointInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -167,7 +167,8 @@ func (in *AccessPointObservation) DeepCopyInto(out *AccessPointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -182,7 +183,8 @@ func (in *AccessPointObservation) DeepCopyInto(out *AccessPointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -246,7 +248,8 @@ func (in *AccessPointParameters) DeepCopyInto(out *AccessPointParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -805,7 +808,8 @@ func (in *FileSystemInitParameters) DeepCopyInto(out *FileSystemInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -946,7 +950,8 @@ func (in *FileSystemObservation) DeepCopyInto(out *FileSystemObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -961,7 +966,8 @@ func (in *FileSystemObservation) DeepCopyInto(out *FileSystemObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1048,7 +1054,8 @@ func (in *FileSystemParameters) DeepCopyInto(out *FileSystemParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/efs/v1beta1/zz_generated.managed.go b/apis/efs/v1beta1/zz_generated.managed.go index fc7ce91227..d070ee9f9c 100644 --- a/apis/efs/v1beta1/zz_generated.managed.go +++ b/apis/efs/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AccessPoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccessPoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccessPoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccessPoint. func (mg *AccessPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AccessPoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccessPoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccessPoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccessPoint. func (mg *AccessPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *BackupPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BackupPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BackupPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BackupPolicy. func (mg *BackupPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *BackupPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BackupPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BackupPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BackupPolicy. func (mg *BackupPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *FileSystem) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FileSystem. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FileSystem) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FileSystem. func (mg *FileSystem) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *FileSystem) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FileSystem. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FileSystem) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FileSystem. func (mg *FileSystem) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *FileSystemPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FileSystemPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FileSystemPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FileSystemPolicy. func (mg *FileSystemPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *FileSystemPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FileSystemPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FileSystemPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FileSystemPolicy. func (mg *FileSystemPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *MountTarget) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MountTarget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MountTarget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MountTarget. func (mg *MountTarget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *MountTarget) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MountTarget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MountTarget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MountTarget. func (mg *MountTarget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ReplicationConfiguration) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationConfiguration. func (mg *ReplicationConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ReplicationConfiguration) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationConfiguration. func (mg *ReplicationConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/efs/v1beta1/zz_replicationconfiguration_types.go b/apis/efs/v1beta1/zz_replicationconfiguration_types.go index 1c81337aab..01a2aeb071 100755 --- a/apis/efs/v1beta1/zz_replicationconfiguration_types.go +++ b/apis/efs/v1beta1/zz_replicationconfiguration_types.go @@ -147,7 +147,7 @@ type ReplicationConfigurationStatus struct { type ReplicationConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" Spec ReplicationConfigurationSpec `json:"spec"` Status ReplicationConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/eks/v1beta1/zz_addon_types.go b/apis/eks/v1beta1/zz_addon_types.go index 9561e39eff..46f4c24d4a 100755 --- a/apis/eks/v1beta1/zz_addon_types.go +++ b/apis/eks/v1beta1/zz_addon_types.go @@ -193,7 +193,7 @@ type AddonStatus struct { type Addon struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addonName) || has(self.initProvider.addonName)",message="addonName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.addonName) || (has(self.initProvider) && has(self.initProvider.addonName))",message="spec.forProvider.addonName is a required parameter" Spec AddonSpec `json:"spec"` Status AddonStatus `json:"status,omitempty"` } diff --git a/apis/eks/v1beta1/zz_cluster_types.go b/apis/eks/v1beta1/zz_cluster_types.go index 2f8c09371d..8a041547e8 100755 --- a/apis/eks/v1beta1/zz_cluster_types.go +++ b/apis/eks/v1beta1/zz_cluster_types.go @@ -438,7 +438,7 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcConfig) || has(self.initProvider.vpcConfig)",message="vpcConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcConfig) || (has(self.initProvider) && has(self.initProvider.vpcConfig))",message="spec.forProvider.vpcConfig is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/eks/v1beta1/zz_fargateprofile_types.go b/apis/eks/v1beta1/zz_fargateprofile_types.go index 606263e537..7cd43ef0c8 100755 --- a/apis/eks/v1beta1/zz_fargateprofile_types.go +++ b/apis/eks/v1beta1/zz_fargateprofile_types.go @@ -175,7 +175,7 @@ type FargateProfileStatus struct { type FargateProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.selector) || has(self.initProvider.selector)",message="selector is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.selector) || (has(self.initProvider) && has(self.initProvider.selector))",message="spec.forProvider.selector is a required parameter" Spec FargateProfileSpec `json:"spec"` Status FargateProfileStatus `json:"status,omitempty"` } diff --git a/apis/eks/v1beta1/zz_generated.deepcopy.go b/apis/eks/v1beta1/zz_generated.deepcopy.go index c0e01e1659..9866bff270 100644 --- a/apis/eks/v1beta1/zz_generated.deepcopy.go +++ b/apis/eks/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -78,7 +77,8 @@ func (in *AddonInitParameters) DeepCopyInto(out *AddonInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -195,7 +195,8 @@ func (in *AddonObservation) DeepCopyInto(out *AddonObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -210,7 +211,8 @@ func (in *AddonObservation) DeepCopyInto(out *AddonObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -300,7 +302,8 @@ func (in *AddonParameters) DeepCopyInto(out *AddonParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -666,7 +669,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -826,7 +830,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -841,7 +846,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -935,7 +941,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1205,7 +1212,8 @@ func (in *FargateProfileInitParameters) DeepCopyInto(out *FargateProfileInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1310,7 +1318,8 @@ func (in *FargateProfileObservation) DeepCopyInto(out *FargateProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1325,7 +1334,8 @@ func (in *FargateProfileObservation) DeepCopyInto(out *FargateProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1420,7 +1430,8 @@ func (in *FargateProfileParameters) DeepCopyInto(out *FargateProfileParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1571,7 +1582,8 @@ func (in *IdentityProviderConfigInitParameters) DeepCopyInto(out *IdentityProvid if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1660,7 +1672,8 @@ func (in *IdentityProviderConfigObservation) DeepCopyInto(out *IdentityProviderC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1675,7 +1688,8 @@ func (in *IdentityProviderConfigObservation) DeepCopyInto(out *IdentityProviderC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1725,7 +1739,8 @@ func (in *IdentityProviderConfigOidcInitParameters) DeepCopyInto(out *IdentityPr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1785,7 +1800,8 @@ func (in *IdentityProviderConfigOidcObservation) DeepCopyInto(out *IdentityProvi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1845,7 +1861,8 @@ func (in *IdentityProviderConfigOidcParameters) DeepCopyInto(out *IdentityProvid if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1912,7 +1929,8 @@ func (in *IdentityProviderConfigParameters) DeepCopyInto(out *IdentityProviderCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2205,7 +2223,8 @@ func (in *NodeGroupInitParameters) DeepCopyInto(out *NodeGroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2246,7 +2265,8 @@ func (in *NodeGroupInitParameters) DeepCopyInto(out *NodeGroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2368,7 +2388,8 @@ func (in *NodeGroupObservation) DeepCopyInto(out *NodeGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2437,7 +2458,8 @@ func (in *NodeGroupObservation) DeepCopyInto(out *NodeGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2452,7 +2474,8 @@ func (in *NodeGroupObservation) DeepCopyInto(out *NodeGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2547,7 +2570,8 @@ func (in *NodeGroupParameters) DeepCopyInto(out *NodeGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2631,7 +2655,8 @@ func (in *NodeGroupParameters) DeepCopyInto(out *NodeGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3190,7 +3215,8 @@ func (in *SelectorInitParameters) DeepCopyInto(out *SelectorInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3225,7 +3251,8 @@ func (in *SelectorObservation) DeepCopyInto(out *SelectorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3260,7 +3287,8 @@ func (in *SelectorParameters) DeepCopyInto(out *SelectorParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/eks/v1beta1/zz_generated.managed.go b/apis/eks/v1beta1/zz_generated.managed.go index d049e614c9..0a838ba1aa 100644 --- a/apis/eks/v1beta1/zz_generated.managed.go +++ b/apis/eks/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Addon) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Addon. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Addon) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Addon. func (mg *Addon) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Addon) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Addon. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Addon) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Addon. func (mg *Addon) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ClusterAuth) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterAuth. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterAuth) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterAuth. func (mg *ClusterAuth) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ClusterAuth) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterAuth. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterAuth) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterAuth. func (mg *ClusterAuth) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *FargateProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FargateProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FargateProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FargateProfile. func (mg *FargateProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *FargateProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FargateProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FargateProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FargateProfile. func (mg *FargateProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *IdentityProviderConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IdentityProviderConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IdentityProviderConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IdentityProviderConfig. func (mg *IdentityProviderConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *IdentityProviderConfig) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IdentityProviderConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IdentityProviderConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IdentityProviderConfig. func (mg *IdentityProviderConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *NodeGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NodeGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NodeGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NodeGroup. func (mg *NodeGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *NodeGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NodeGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NodeGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NodeGroup. func (mg *NodeGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/eks/v1beta1/zz_identityproviderconfig_types.go b/apis/eks/v1beta1/zz_identityproviderconfig_types.go index 35db74ca1c..3eec3a383a 100755 --- a/apis/eks/v1beta1/zz_identityproviderconfig_types.go +++ b/apis/eks/v1beta1/zz_identityproviderconfig_types.go @@ -190,7 +190,7 @@ type IdentityProviderConfigStatus struct { type IdentityProviderConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidc) || has(self.initProvider.oidc)",message="oidc is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.oidc) || (has(self.initProvider) && has(self.initProvider.oidc))",message="spec.forProvider.oidc is a required parameter" Spec IdentityProviderConfigSpec `json:"spec"` Status IdentityProviderConfigStatus `json:"status,omitempty"` } diff --git a/apis/eks/v1beta1/zz_nodegroup_types.go b/apis/eks/v1beta1/zz_nodegroup_types.go index 449f35a392..c9534329e9 100755 --- a/apis/eks/v1beta1/zz_nodegroup_types.go +++ b/apis/eks/v1beta1/zz_nodegroup_types.go @@ -484,7 +484,7 @@ type NodeGroupStatus struct { type NodeGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalingConfig) || has(self.initProvider.scalingConfig)",message="scalingConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scalingConfig) || (has(self.initProvider) && has(self.initProvider.scalingConfig))",message="spec.forProvider.scalingConfig is a required parameter" Spec NodeGroupSpec `json:"spec"` Status NodeGroupStatus `json:"status,omitempty"` } diff --git a/apis/elasticache/v1beta1/zz_generated.deepcopy.go b/apis/elasticache/v1beta1/zz_generated.deepcopy.go index 843f048789..fe729386f1 100644 --- a/apis/elasticache/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticache/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -331,7 +330,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -661,7 +661,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -676,7 +677,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -914,7 +916,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1133,7 +1136,8 @@ func (in *ParameterGroupInitParameters) DeepCopyInto(out *ParameterGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1227,7 +1231,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1242,7 +1247,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1299,7 +1305,8 @@ func (in *ParameterGroupParameters) DeepCopyInto(out *ParameterGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1644,7 +1651,8 @@ func (in *ReplicationGroupInitParameters) DeepCopyInto(out *ReplicationGroupInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2072,7 +2080,8 @@ func (in *ReplicationGroupObservation) DeepCopyInto(out *ReplicationGroupObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2087,7 +2096,8 @@ func (in *ReplicationGroupObservation) DeepCopyInto(out *ReplicationGroupObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2374,7 +2384,8 @@ func (in *ReplicationGroupParameters) DeepCopyInto(out *ReplicationGroupParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2487,7 +2498,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2575,7 +2587,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2590,7 +2603,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2653,7 +2667,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2777,7 +2792,8 @@ func (in *UserGroupInitParameters) DeepCopyInto(out *UserGroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2854,7 +2870,8 @@ func (in *UserGroupObservation) DeepCopyInto(out *UserGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2869,7 +2886,8 @@ func (in *UserGroupObservation) DeepCopyInto(out *UserGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2920,7 +2938,8 @@ func (in *UserGroupParameters) DeepCopyInto(out *UserGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3030,7 +3049,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3129,7 +3149,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3144,7 +3165,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3215,7 +3237,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elasticache/v1beta1/zz_generated.managed.go b/apis/elasticache/v1beta1/zz_generated.managed.go index fd04019d4c..c4cf402eaf 100644 --- a/apis/elasticache/v1beta1/zz_generated.managed.go +++ b/apis/elasticache/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ReplicationGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicationGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicationGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicationGroup. func (mg *ReplicationGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ReplicationGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicationGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicationGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicationGroup. func (mg *ReplicationGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *UserGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserGroup. func (mg *UserGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *UserGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserGroup. func (mg *UserGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elasticache/v1beta1/zz_parametergroup_types.go b/apis/elasticache/v1beta1/zz_parametergroup_types.go index b117ae9892..07434ef9ba 100755 --- a/apis/elasticache/v1beta1/zz_parametergroup_types.go +++ b/apis/elasticache/v1beta1/zz_parametergroup_types.go @@ -151,8 +151,8 @@ type ParameterGroupStatus struct { type ParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ParameterGroupSpec `json:"spec"` Status ParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/elasticache/v1beta1/zz_user_types.go b/apis/elasticache/v1beta1/zz_user_types.go index bcfd61ba5f..6065a925bc 100755 --- a/apis/elasticache/v1beta1/zz_user_types.go +++ b/apis/elasticache/v1beta1/zz_user_types.go @@ -158,9 +158,9 @@ type UserStatus struct { type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessString) || has(self.initProvider.accessString)",message="accessString is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || has(self.initProvider.engine)",message="engine is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userName) || has(self.initProvider.userName)",message="userName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessString) || (has(self.initProvider) && has(self.initProvider.accessString))",message="spec.forProvider.accessString is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || (has(self.initProvider) && has(self.initProvider.engine))",message="spec.forProvider.engine is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userName) || (has(self.initProvider) && has(self.initProvider.userName))",message="spec.forProvider.userName is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` } diff --git a/apis/elasticache/v1beta1/zz_usergroup_types.go b/apis/elasticache/v1beta1/zz_usergroup_types.go index 480723074c..13e7e2de72 100755 --- a/apis/elasticache/v1beta1/zz_usergroup_types.go +++ b/apis/elasticache/v1beta1/zz_usergroup_types.go @@ -110,7 +110,7 @@ type UserGroupStatus struct { type UserGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || has(self.initProvider.engine)",message="engine is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engine) || (has(self.initProvider) && has(self.initProvider.engine))",message="spec.forProvider.engine is a required parameter" Spec UserGroupSpec `json:"spec"` Status UserGroupStatus `json:"status,omitempty"` } diff --git a/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go b/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go index 1393bf01e0..e4e9601701 100755 --- a/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go +++ b/apis/elasticbeanstalk/v1beta1/zz_applicationversion_types.go @@ -145,7 +145,7 @@ type ApplicationVersionStatus struct { type ApplicationVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.application) || has(self.initProvider.application)",message="application is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.application) || (has(self.initProvider) && has(self.initProvider.application))",message="spec.forProvider.application is a required parameter" Spec ApplicationVersionSpec `json:"spec"` Status ApplicationVersionStatus `json:"status,omitempty"` } diff --git a/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go b/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go index e9b7c3ab77..4e7cb686f9 100644 --- a/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticbeanstalk/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -64,7 +63,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -148,7 +148,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -163,7 +164,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -210,7 +212,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -317,7 +320,8 @@ func (in *ApplicationVersionInitParameters) DeepCopyInto(out *ApplicationVersion if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -414,7 +418,8 @@ func (in *ApplicationVersionObservation) DeepCopyInto(out *ApplicationVersionObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -429,7 +434,8 @@ func (in *ApplicationVersionObservation) DeepCopyInto(out *ApplicationVersionObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -509,7 +515,8 @@ func (in *ApplicationVersionParameters) DeepCopyInto(out *ApplicationVersionPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elasticbeanstalk/v1beta1/zz_generated.managed.go b/apis/elasticbeanstalk/v1beta1/zz_generated.managed.go index 04927662b3..fa5aefe8b6 100644 --- a/apis/elasticbeanstalk/v1beta1/zz_generated.managed.go +++ b/apis/elasticbeanstalk/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ApplicationVersion) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ApplicationVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ApplicationVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ApplicationVersion. func (mg *ApplicationVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ApplicationVersion) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ApplicationVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ApplicationVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ApplicationVersion. func (mg *ApplicationVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ConfigurationTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationTemplate. func (mg *ConfigurationTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ConfigurationTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationTemplate. func (mg *ConfigurationTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go b/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go index 9ab367fc67..de449eba94 100755 --- a/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go +++ b/apis/elasticsearch/v1beta1/zz_domainpolicy_types.go @@ -91,7 +91,7 @@ type DomainPolicyStatus struct { type DomainPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicies) || has(self.initProvider.accessPolicies)",message="accessPolicies is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicies) || (has(self.initProvider) && has(self.initProvider.accessPolicies))",message="spec.forProvider.accessPolicies is a required parameter" Spec DomainPolicySpec `json:"spec"` Status DomainPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go b/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go index df9468143f..602cd2a07b 100644 --- a/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/elasticsearch/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -756,7 +755,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -846,7 +846,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -920,7 +921,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1035,7 +1037,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1050,7 +1053,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1092,7 +1096,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1187,7 +1192,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elasticsearch/v1beta1/zz_generated.managed.go b/apis/elasticsearch/v1beta1/zz_generated.managed.go index cd4ac7428b..81896ea57c 100644 --- a/apis/elasticsearch/v1beta1/zz_generated.managed.go +++ b/apis/elasticsearch/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DomainPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainPolicy. func (mg *DomainPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DomainPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainPolicy. func (mg *DomainPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DomainSAMLOptions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainSAMLOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainSAMLOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainSAMLOptions. func (mg *DomainSAMLOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DomainSAMLOptions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainSAMLOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainSAMLOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainSAMLOptions. func (mg *DomainSAMLOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go b/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go index 771117c4e0..c7bc59b769 100644 --- a/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go +++ b/apis/elastictranscoder/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -962,7 +961,8 @@ func (in *PresetInitParameters) DeepCopyInto(out *PresetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1089,7 +1089,8 @@ func (in *PresetObservation) DeepCopyInto(out *PresetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1179,7 +1180,8 @@ func (in *PresetParameters) DeepCopyInto(out *PresetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elastictranscoder/v1beta1/zz_generated.managed.go b/apis/elastictranscoder/v1beta1/zz_generated.managed.go index f1e6285b55..7b15a1b84a 100644 --- a/apis/elastictranscoder/v1beta1/zz_generated.managed.go +++ b/apis/elastictranscoder/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Pipeline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Pipeline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Pipeline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Pipeline. func (mg *Pipeline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Pipeline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Pipeline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Pipeline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Pipeline. func (mg *Pipeline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Preset) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Preset. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Preset) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Preset. func (mg *Preset) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Preset) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Preset. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Preset) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Preset. func (mg *Preset) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elastictranscoder/v1beta1/zz_preset_types.go b/apis/elastictranscoder/v1beta1/zz_preset_types.go index 7c6dc68567..ab34795d23 100755 --- a/apis/elastictranscoder/v1beta1/zz_preset_types.go +++ b/apis/elastictranscoder/v1beta1/zz_preset_types.go @@ -611,7 +611,7 @@ type PresetStatus struct { type Preset struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.container) || has(self.initProvider.container)",message="container is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.container) || (has(self.initProvider) && has(self.initProvider.container))",message="spec.forProvider.container is a required parameter" Spec PresetSpec `json:"spec"` Status PresetStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_appcookiestickinesspolicy_types.go b/apis/elb/v1beta1/zz_appcookiestickinesspolicy_types.go index 8f19564a82..4e047539ae 100755 --- a/apis/elb/v1beta1/zz_appcookiestickinesspolicy_types.go +++ b/apis/elb/v1beta1/zz_appcookiestickinesspolicy_types.go @@ -105,7 +105,7 @@ type AppCookieStickinessPolicyStatus struct { type AppCookieStickinessPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookieName) || has(self.initProvider.cookieName)",message="cookieName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookieName) || (has(self.initProvider) && has(self.initProvider.cookieName))",message="spec.forProvider.cookieName is a required parameter" Spec AppCookieStickinessPolicySpec `json:"spec"` Status AppCookieStickinessPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_backendserverpolicy_types.go b/apis/elb/v1beta1/zz_backendserverpolicy_types.go index ed13f17cb4..b6b64e8c2e 100755 --- a/apis/elb/v1beta1/zz_backendserverpolicy_types.go +++ b/apis/elb/v1beta1/zz_backendserverpolicy_types.go @@ -102,7 +102,7 @@ type BackendServerPolicyStatus struct { type BackendServerPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePort) || has(self.initProvider.instancePort)",message="instancePort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePort) || (has(self.initProvider) && has(self.initProvider.instancePort))",message="spec.forProvider.instancePort is a required parameter" Spec BackendServerPolicySpec `json:"spec"` Status BackendServerPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_elb_types.go b/apis/elb/v1beta1/zz_elb_types.go index 67fcd93fe8..ac21812ccd 100755 --- a/apis/elb/v1beta1/zz_elb_types.go +++ b/apis/elb/v1beta1/zz_elb_types.go @@ -433,7 +433,7 @@ type ELBStatus struct { type ELB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.listener) || has(self.initProvider.listener)",message="listener is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.listener) || (has(self.initProvider) && has(self.initProvider.listener))",message="spec.forProvider.listener is a required parameter" Spec ELBSpec `json:"spec"` Status ELBStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_generated.deepcopy.go b/apis/elb/v1beta1/zz_generated.deepcopy.go index ef53098279..4b8eb86b2d 100644 --- a/apis/elb/v1beta1/zz_generated.deepcopy.go +++ b/apis/elb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -910,7 +909,8 @@ func (in *ELBInitParameters) DeepCopyInto(out *ELBInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1092,7 +1092,8 @@ func (in *ELBObservation) DeepCopyInto(out *ELBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1107,7 +1108,8 @@ func (in *ELBObservation) DeepCopyInto(out *ELBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1271,7 +1273,8 @@ func (in *ELBParameters) DeepCopyInto(out *ELBParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1714,7 +1717,8 @@ func (in *LBSSLNegotiationPolicyInitParameters) DeepCopyInto(out *LBSSLNegotiati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1803,7 +1807,8 @@ func (in *LBSSLNegotiationPolicyObservation) DeepCopyInto(out *LBSSLNegotiationP if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1870,7 +1875,8 @@ func (in *LBSSLNegotiationPolicyParameters) DeepCopyInto(out *LBSSLNegotiationPo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2098,7 +2104,8 @@ func (in *ListenerPolicyInitParameters) DeepCopyInto(out *ListenerPolicyInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2186,7 +2193,8 @@ func (in *ListenerPolicyObservation) DeepCopyInto(out *ListenerPolicyObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2252,7 +2260,8 @@ func (in *ListenerPolicyParameters) DeepCopyInto(out *ListenerPolicyParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elb/v1beta1/zz_generated.managed.go b/apis/elb/v1beta1/zz_generated.managed.go index 2ae6c7d1f7..cb3d7f51db 100644 --- a/apis/elb/v1beta1/zz_generated.managed.go +++ b/apis/elb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AppCookieStickinessPolicy) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AppCookieStickinessPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AppCookieStickinessPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AppCookieStickinessPolicy. func (mg *AppCookieStickinessPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AppCookieStickinessPolicy) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AppCookieStickinessPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AppCookieStickinessPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AppCookieStickinessPolicy. func (mg *AppCookieStickinessPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Attachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Attachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Attachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Attachment. func (mg *Attachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Attachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Attachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Attachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Attachment. func (mg *Attachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *BackendServerPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BackendServerPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BackendServerPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BackendServerPolicy. func (mg *BackendServerPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *BackendServerPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BackendServerPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BackendServerPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BackendServerPolicy. func (mg *BackendServerPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ELB) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ELB. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ELB) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ELB. func (mg *ELB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ELB) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ELB. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ELB) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ELB. func (mg *ELB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *LBCookieStickinessPolicy) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBCookieStickinessPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBCookieStickinessPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBCookieStickinessPolicy. func (mg *LBCookieStickinessPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *LBCookieStickinessPolicy) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBCookieStickinessPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBCookieStickinessPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBCookieStickinessPolicy. func (mg *LBCookieStickinessPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *LBSSLNegotiationPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBSSLNegotiationPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBSSLNegotiationPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBSSLNegotiationPolicy. func (mg *LBSSLNegotiationPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *LBSSLNegotiationPolicy) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBSSLNegotiationPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBSSLNegotiationPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBSSLNegotiationPolicy. func (mg *LBSSLNegotiationPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ListenerPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ListenerPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ListenerPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ListenerPolicy. func (mg *ListenerPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ListenerPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ListenerPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ListenerPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ListenerPolicy. func (mg *ListenerPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *ProxyProtocolPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProxyProtocolPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProxyProtocolPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProxyProtocolPolicy. func (mg *ProxyProtocolPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *ProxyProtocolPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProxyProtocolPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProxyProtocolPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProxyProtocolPolicy. func (mg *ProxyProtocolPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go b/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go index a19e8c8edb..eb1836bd2a 100755 --- a/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go +++ b/apis/elb/v1beta1/zz_lbcookiestickinesspolicy_types.go @@ -124,8 +124,8 @@ type LBCookieStickinessPolicyStatus struct { type LBCookieStickinessPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lbPort) || has(self.initProvider.lbPort)",message="lbPort is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lbPort) || (has(self.initProvider) && has(self.initProvider.lbPort))",message="spec.forProvider.lbPort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LBCookieStickinessPolicySpec `json:"spec"` Status LBCookieStickinessPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go b/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go index ff288deaba..f25a0ac651 100755 --- a/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go +++ b/apis/elb/v1beta1/zz_lbsslnegotiationpolicy_types.go @@ -160,8 +160,8 @@ type LBSSLNegotiationPolicyStatus struct { type LBSSLNegotiationPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lbPort) || has(self.initProvider.lbPort)",message="lbPort is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.lbPort) || (has(self.initProvider) && has(self.initProvider.lbPort))",message="spec.forProvider.lbPort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LBSSLNegotiationPolicySpec `json:"spec"` Status LBSSLNegotiationPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_listenerpolicy_types.go b/apis/elb/v1beta1/zz_listenerpolicy_types.go index e63438f52b..f768ebb322 100755 --- a/apis/elb/v1beta1/zz_listenerpolicy_types.go +++ b/apis/elb/v1beta1/zz_listenerpolicy_types.go @@ -112,7 +112,7 @@ type ListenerPolicyStatus struct { type ListenerPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.loadBalancerPort) || has(self.initProvider.loadBalancerPort)",message="loadBalancerPort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.loadBalancerPort) || (has(self.initProvider) && has(self.initProvider.loadBalancerPort))",message="spec.forProvider.loadBalancerPort is a required parameter" Spec ListenerPolicySpec `json:"spec"` Status ListenerPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_policy_types.go b/apis/elb/v1beta1/zz_policy_types.go index 4706059a3a..7c404cdf4b 100755 --- a/apis/elb/v1beta1/zz_policy_types.go +++ b/apis/elb/v1beta1/zz_policy_types.go @@ -141,8 +141,8 @@ type PolicyStatus struct { type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyName) || has(self.initProvider.policyName)",message="policyName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyTypeName) || has(self.initProvider.policyTypeName)",message="policyTypeName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyName) || (has(self.initProvider) && has(self.initProvider.policyName))",message="spec.forProvider.policyName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policyTypeName) || (has(self.initProvider) && has(self.initProvider.policyTypeName))",message="spec.forProvider.policyTypeName is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` } diff --git a/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go b/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go index 8122cbeaf8..8d4d75b3da 100755 --- a/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go +++ b/apis/elb/v1beta1/zz_proxyprotocolpolicy_types.go @@ -97,7 +97,7 @@ type ProxyProtocolPolicyStatus struct { type ProxyProtocolPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePorts) || has(self.initProvider.instancePorts)",message="instancePorts is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePorts) || (has(self.initProvider) && has(self.initProvider.instancePorts))",message="spec.forProvider.instancePorts is a required parameter" Spec ProxyProtocolPolicySpec `json:"spec"` Status ProxyProtocolPolicyStatus `json:"status,omitempty"` } diff --git a/apis/elbv2/v1beta1/zz_generated.deepcopy.go b/apis/elbv2/v1beta1/zz_generated.deepcopy.go index afb62f1828..88d8ec341b 100644 --- a/apis/elbv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/elbv2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -120,7 +119,8 @@ func (in *ActionAuthenticateCognitoInitParameters) DeepCopyInto(out *ActionAuthe if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -170,7 +170,8 @@ func (in *ActionAuthenticateCognitoObservation) DeepCopyInto(out *ActionAuthenti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -235,7 +236,8 @@ func (in *ActionAuthenticateCognitoParameters) DeepCopyInto(out *ActionAuthentic if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -330,7 +332,8 @@ func (in *ActionAuthenticateOidcInitParameters) DeepCopyInto(out *ActionAuthenti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -405,7 +408,8 @@ func (in *ActionAuthenticateOidcObservation) DeepCopyInto(out *ActionAuthenticat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -480,7 +484,8 @@ func (in *ActionAuthenticateOidcParameters) DeepCopyInto(out *ActionAuthenticate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1068,7 +1073,8 @@ func (in *AuthenticateCognitoInitParameters) DeepCopyInto(out *AuthenticateCogni if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1133,7 +1139,8 @@ func (in *AuthenticateCognitoObservation) DeepCopyInto(out *AuthenticateCognitoO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1198,7 +1205,8 @@ func (in *AuthenticateCognitoParameters) DeepCopyInto(out *AuthenticateCognitoPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1263,7 +1271,8 @@ func (in *AuthenticateOidcInitParameters) DeepCopyInto(out *AuthenticateOidcInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1338,7 +1347,8 @@ func (in *AuthenticateOidcObservation) DeepCopyInto(out *AuthenticateOidcObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1413,7 +1423,8 @@ func (in *AuthenticateOidcParameters) DeepCopyInto(out *AuthenticateOidcParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2737,7 +2748,8 @@ func (in *LBInitParameters) DeepCopyInto(out *LBInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2863,7 +2875,8 @@ func (in *LBListenerInitParameters) DeepCopyInto(out *LBListenerInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2972,7 +2985,8 @@ func (in *LBListenerObservation) DeepCopyInto(out *LBListenerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2987,7 +3001,8 @@ func (in *LBListenerObservation) DeepCopyInto(out *LBListenerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3069,7 +3084,8 @@ func (in *LBListenerParameters) DeepCopyInto(out *LBListenerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3145,7 +3161,8 @@ func (in *LBListenerRuleInitParameters) DeepCopyInto(out *LBListenerRuleInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3241,7 +3258,8 @@ func (in *LBListenerRuleObservation) DeepCopyInto(out *LBListenerRuleObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3256,7 +3274,8 @@ func (in *LBListenerRuleObservation) DeepCopyInto(out *LBListenerRuleObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3325,7 +3344,8 @@ func (in *LBListenerRuleParameters) DeepCopyInto(out *LBListenerRuleParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3556,7 +3576,8 @@ func (in *LBObservation) DeepCopyInto(out *LBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3571,7 +3592,8 @@ func (in *LBObservation) DeepCopyInto(out *LBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3756,7 +3778,8 @@ func (in *LBParameters) DeepCopyInto(out *LBParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4146,7 +4169,8 @@ func (in *LBTargetGroupInitParameters) DeepCopyInto(out *LBTargetGroupInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4314,7 +4338,8 @@ func (in *LBTargetGroupObservation) DeepCopyInto(out *LBTargetGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4329,7 +4354,8 @@ func (in *LBTargetGroupObservation) DeepCopyInto(out *LBTargetGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4460,7 +4486,8 @@ func (in *LBTargetGroupParameters) DeepCopyInto(out *LBTargetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/elbv2/v1beta1/zz_generated.managed.go b/apis/elbv2/v1beta1/zz_generated.managed.go index b11c98913d..d78e20d621 100644 --- a/apis/elbv2/v1beta1/zz_generated.managed.go +++ b/apis/elbv2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LB) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LB. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LB) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LB. func (mg *LB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LB) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LB. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LB) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LB. func (mg *LB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *LBListener) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBListener. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBListener) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBListener. func (mg *LBListener) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *LBListener) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBListener. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBListener) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBListener. func (mg *LBListener) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *LBListenerRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBListenerRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBListenerRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBListenerRule. func (mg *LBListenerRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *LBListenerRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBListenerRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBListenerRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBListenerRule. func (mg *LBListenerRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *LBTargetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBTargetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBTargetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBTargetGroup. func (mg *LBTargetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *LBTargetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBTargetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBTargetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBTargetGroup. func (mg *LBTargetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *LBTargetGroupAttachment) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBTargetGroupAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBTargetGroupAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBTargetGroupAttachment. func (mg *LBTargetGroupAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *LBTargetGroupAttachment) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBTargetGroupAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBTargetGroupAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBTargetGroupAttachment. func (mg *LBTargetGroupAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/elbv2/v1beta1/zz_lblistener_types.go b/apis/elbv2/v1beta1/zz_lblistener_types.go index 40ac98ebd1..1f34121291 100755 --- a/apis/elbv2/v1beta1/zz_lblistener_types.go +++ b/apis/elbv2/v1beta1/zz_lblistener_types.go @@ -656,7 +656,7 @@ type LBListenerStatus struct { type LBListener struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || has(self.initProvider.defaultAction)",message="defaultAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || (has(self.initProvider) && has(self.initProvider.defaultAction))",message="spec.forProvider.defaultAction is a required parameter" Spec LBListenerSpec `json:"spec"` Status LBListenerStatus `json:"status,omitempty"` } diff --git a/apis/elbv2/v1beta1/zz_lblistenerrule_types.go b/apis/elbv2/v1beta1/zz_lblistenerrule_types.go index bf5ee5d51a..56b1a0b0fa 100755 --- a/apis/elbv2/v1beta1/zz_lblistenerrule_types.go +++ b/apis/elbv2/v1beta1/zz_lblistenerrule_types.go @@ -850,8 +850,8 @@ type LBListenerRuleStatus struct { type LBListenerRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.condition) || has(self.initProvider.condition)",message="condition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.condition) || (has(self.initProvider) && has(self.initProvider.condition))",message="spec.forProvider.condition is a required parameter" Spec LBListenerRuleSpec `json:"spec"` Status LBListenerRuleStatus `json:"status,omitempty"` } diff --git a/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go b/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go index 3425fd401a..3dfeaacde1 100755 --- a/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go +++ b/apis/elbv2/v1beta1/zz_lbtargetgroup_types.go @@ -448,7 +448,7 @@ type LBTargetGroupStatus struct { type LBTargetGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LBTargetGroupSpec `json:"spec"` Status LBTargetGroupStatus `json:"status,omitempty"` } diff --git a/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go b/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go index d5551dfc5c..5b31643766 100755 --- a/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go +++ b/apis/elbv2/v1beta1/zz_lbtargetgroupattachment_types.go @@ -112,7 +112,7 @@ type LBTargetGroupAttachmentStatus struct { type LBTargetGroupAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || has(self.initProvider.targetId)",message="targetId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || (has(self.initProvider) && has(self.initProvider.targetId))",message="spec.forProvider.targetId is a required parameter" Spec LBTargetGroupAttachmentSpec `json:"spec"` Status LBTargetGroupAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/emr/v1beta1/zz_generated.deepcopy.go b/apis/emr/v1beta1/zz_generated.deepcopy.go index 56460c8653..ab41a28d65 100644 --- a/apis/emr/v1beta1/zz_generated.deepcopy.go +++ b/apis/emr/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/emr/v1beta1/zz_generated.managed.go b/apis/emr/v1beta1/zz_generated.managed.go index f28f79eb13..a10cfc19f6 100644 --- a/apis/emr/v1beta1/zz_generated.managed.go +++ b/apis/emr/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *SecurityConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecurityConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecurityConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecurityConfiguration. func (mg *SecurityConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *SecurityConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecurityConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecurityConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecurityConfiguration. func (mg *SecurityConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/emr/v1beta1/zz_securityconfiguration_types.go b/apis/emr/v1beta1/zz_securityconfiguration_types.go index 257b652773..5363952235 100755 --- a/apis/emr/v1beta1/zz_securityconfiguration_types.go +++ b/apis/emr/v1beta1/zz_securityconfiguration_types.go @@ -79,7 +79,7 @@ type SecurityConfigurationStatus struct { type SecurityConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configuration) || has(self.initProvider.configuration)",message="configuration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configuration) || (has(self.initProvider) && has(self.initProvider.configuration))",message="spec.forProvider.configuration is a required parameter" Spec SecurityConfigurationSpec `json:"spec"` Status SecurityConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/emrserverless/v1beta1/zz_application_types.go b/apis/emrserverless/v1beta1/zz_application_types.go index 2642ef7a1d..7cd270f676 100755 --- a/apis/emrserverless/v1beta1/zz_application_types.go +++ b/apis/emrserverless/v1beta1/zz_application_types.go @@ -414,9 +414,9 @@ type ApplicationStatus struct { type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.releaseLabel) || has(self.initProvider.releaseLabel)",message="releaseLabel is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.releaseLabel) || (has(self.initProvider) && has(self.initProvider.releaseLabel))",message="spec.forProvider.releaseLabel is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` } diff --git a/apis/emrserverless/v1beta1/zz_generated.deepcopy.go b/apis/emrserverless/v1beta1/zz_generated.deepcopy.go index 712a17f48b..4f627a56a3 100644 --- a/apis/emrserverless/v1beta1/zz_generated.deepcopy.go +++ b/apis/emrserverless/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -108,7 +107,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -242,7 +242,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -257,7 +258,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -354,7 +356,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/emrserverless/v1beta1/zz_generated.managed.go b/apis/emrserverless/v1beta1/zz_generated.managed.go index 1655aafe91..17437a229f 100644 --- a/apis/emrserverless/v1beta1/zz_generated.managed.go +++ b/apis/emrserverless/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/evidently/v1beta1/zz_feature_types.go b/apis/evidently/v1beta1/zz_feature_types.go index a316e656ec..a1e4eb30b6 100755 --- a/apis/evidently/v1beta1/zz_feature_types.go +++ b/apis/evidently/v1beta1/zz_feature_types.go @@ -257,7 +257,7 @@ type FeatureStatus struct { type Feature struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.variations) || has(self.initProvider.variations)",message="variations is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.variations) || (has(self.initProvider) && has(self.initProvider.variations))",message="spec.forProvider.variations is a required parameter" Spec FeatureSpec `json:"spec"` Status FeatureStatus `json:"status,omitempty"` } diff --git a/apis/evidently/v1beta1/zz_generated.deepcopy.go b/apis/evidently/v1beta1/zz_generated.deepcopy.go index 14b2fb9118..9967ee0afd 100644 --- a/apis/evidently/v1beta1/zz_generated.deepcopy.go +++ b/apis/evidently/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -264,7 +263,8 @@ func (in *FeatureInitParameters) DeepCopyInto(out *FeatureInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -284,7 +284,8 @@ func (in *FeatureInitParameters) DeepCopyInto(out *FeatureInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -373,7 +374,8 @@ func (in *FeatureObservation) DeepCopyInto(out *FeatureObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -420,7 +422,8 @@ func (in *FeatureObservation) DeepCopyInto(out *FeatureObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -435,7 +438,8 @@ func (in *FeatureObservation) DeepCopyInto(out *FeatureObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -487,7 +491,8 @@ func (in *FeatureParameters) DeepCopyInto(out *FeatureParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -527,7 +532,8 @@ func (in *FeatureParameters) DeepCopyInto(out *FeatureParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -643,7 +649,8 @@ func (in *ProjectInitParameters) DeepCopyInto(out *ProjectInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -772,7 +779,8 @@ func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -787,7 +795,8 @@ func (in *ProjectObservation) DeepCopyInto(out *ProjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -839,7 +848,8 @@ func (in *ProjectParameters) DeepCopyInto(out *ProjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1016,7 +1026,8 @@ func (in *SegmentInitParameters) DeepCopyInto(out *SegmentInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1118,7 +1129,8 @@ func (in *SegmentObservation) DeepCopyInto(out *SegmentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1133,7 +1145,8 @@ func (in *SegmentObservation) DeepCopyInto(out *SegmentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1178,7 +1191,8 @@ func (in *SegmentParameters) DeepCopyInto(out *SegmentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/evidently/v1beta1/zz_generated.managed.go b/apis/evidently/v1beta1/zz_generated.managed.go index 6c51e175cd..f7fbbfe083 100644 --- a/apis/evidently/v1beta1/zz_generated.managed.go +++ b/apis/evidently/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Feature) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Feature. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Feature) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Feature. func (mg *Feature) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Feature) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Feature. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Feature) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Feature. func (mg *Feature) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Project) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Project. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Project) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Project. func (mg *Project) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Project) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Project. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Project) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Project. func (mg *Project) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Segment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Segment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Segment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Segment. func (mg *Segment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Segment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Segment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Segment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Segment. func (mg *Segment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/evidently/v1beta1/zz_project_types.go b/apis/evidently/v1beta1/zz_project_types.go index a923254afa..3135c13382 100755 --- a/apis/evidently/v1beta1/zz_project_types.go +++ b/apis/evidently/v1beta1/zz_project_types.go @@ -213,7 +213,7 @@ type ProjectStatus struct { type Project struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ProjectSpec `json:"spec"` Status ProjectStatus `json:"status,omitempty"` } diff --git a/apis/evidently/v1beta1/zz_segment_types.go b/apis/evidently/v1beta1/zz_segment_types.go index bb04d750d4..00a9a69eb0 100755 --- a/apis/evidently/v1beta1/zz_segment_types.go +++ b/apis/evidently/v1beta1/zz_segment_types.go @@ -114,7 +114,7 @@ type SegmentStatus struct { type Segment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || has(self.initProvider.pattern)",message="pattern is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.pattern) || (has(self.initProvider) && has(self.initProvider.pattern))",message="spec.forProvider.pattern is a required parameter" Spec SegmentSpec `json:"spec"` Status SegmentStatus `json:"status,omitempty"` } diff --git a/apis/firehose/v1beta1/zz_deliverystream_types.go b/apis/firehose/v1beta1/zz_deliverystream_types.go index 5c89a9dc91..7dd6cd91ca 100755 --- a/apis/firehose/v1beta1/zz_deliverystream_types.go +++ b/apis/firehose/v1beta1/zz_deliverystream_types.go @@ -2963,8 +2963,8 @@ type DeliveryStreamStatus struct { type DeliveryStream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec DeliveryStreamSpec `json:"spec"` Status DeliveryStreamStatus `json:"status,omitempty"` } diff --git a/apis/firehose/v1beta1/zz_generated.deepcopy.go b/apis/firehose/v1beta1/zz_generated.deepcopy.go index dd28d8745f..c3e1151b1c 100644 --- a/apis/firehose/v1beta1/zz_generated.deepcopy.go +++ b/apis/firehose/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -423,7 +422,8 @@ func (in *DeliveryStreamInitParameters) DeepCopyInto(out *DeliveryStreamInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -578,7 +578,8 @@ func (in *DeliveryStreamObservation) DeepCopyInto(out *DeliveryStreamObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -593,7 +594,8 @@ func (in *DeliveryStreamObservation) DeepCopyInto(out *DeliveryStreamObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -716,7 +718,8 @@ func (in *DeliveryStreamParameters) DeepCopyInto(out *DeliveryStreamParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2381,7 +2384,8 @@ func (in *OpenXJSONSerDeInitParameters) DeepCopyInto(out *OpenXJSONSerDeInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2421,7 +2425,8 @@ func (in *OpenXJSONSerDeObservation) DeepCopyInto(out *OpenXJSONSerDeObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2461,7 +2466,8 @@ func (in *OpenXJSONSerDeParameters) DeepCopyInto(out *OpenXJSONSerDeParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/firehose/v1beta1/zz_generated.managed.go b/apis/firehose/v1beta1/zz_generated.managed.go index 1756e65b5f..299ccfc0b9 100644 --- a/apis/firehose/v1beta1/zz_generated.managed.go +++ b/apis/firehose/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DeliveryStream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeliveryStream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeliveryStream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeliveryStream. func (mg *DeliveryStream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DeliveryStream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeliveryStream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeliveryStream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeliveryStream. func (mg *DeliveryStream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/fis/v1beta1/zz_experimenttemplate_types.go b/apis/fis/v1beta1/zz_experimenttemplate_types.go index 27d42ef945..33a98739b2 100755 --- a/apis/fis/v1beta1/zz_experimenttemplate_types.go +++ b/apis/fis/v1beta1/zz_experimenttemplate_types.go @@ -418,9 +418,9 @@ type ExperimentTemplateStatus struct { type ExperimentTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stopCondition) || has(self.initProvider.stopCondition)",message="stopCondition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.stopCondition) || (has(self.initProvider) && has(self.initProvider.stopCondition))",message="spec.forProvider.stopCondition is a required parameter" Spec ExperimentTemplateSpec `json:"spec"` Status ExperimentTemplateStatus `json:"status,omitempty"` } diff --git a/apis/fis/v1beta1/zz_generated.deepcopy.go b/apis/fis/v1beta1/zz_generated.deepcopy.go index ee7b85d8d4..7eef42f708 100644 --- a/apis/fis/v1beta1/zz_generated.deepcopy.go +++ b/apis/fis/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -236,7 +235,8 @@ func (in *ExperimentTemplateInitParameters) DeepCopyInto(out *ExperimentTemplate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -334,7 +334,8 @@ func (in *ExperimentTemplateObservation) DeepCopyInto(out *ExperimentTemplateObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -349,7 +350,8 @@ func (in *ExperimentTemplateObservation) DeepCopyInto(out *ExperimentTemplateObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -425,7 +427,8 @@ func (in *ExperimentTemplateParameters) DeepCopyInto(out *ExperimentTemplatePara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/fis/v1beta1/zz_generated.managed.go b/apis/fis/v1beta1/zz_generated.managed.go index 2890d4bf2a..25ef1bfbef 100644 --- a/apis/fis/v1beta1/zz_generated.managed.go +++ b/apis/fis/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ExperimentTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ExperimentTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ExperimentTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ExperimentTemplate. func (mg *ExperimentTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ExperimentTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ExperimentTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ExperimentTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ExperimentTemplate. func (mg *ExperimentTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go b/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go index c38a729397..c18fcf3fb0 100755 --- a/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go +++ b/apis/fsx/v1beta1/zz_datarepositoryassociation_types.go @@ -232,8 +232,8 @@ type DataRepositoryAssociationStatus struct { type DataRepositoryAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataRepositoryPath) || has(self.initProvider.dataRepositoryPath)",message="dataRepositoryPath is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fileSystemPath) || has(self.initProvider.fileSystemPath)",message="fileSystemPath is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataRepositoryPath) || (has(self.initProvider) && has(self.initProvider.dataRepositoryPath))",message="spec.forProvider.dataRepositoryPath is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fileSystemPath) || (has(self.initProvider) && has(self.initProvider.fileSystemPath))",message="spec.forProvider.fileSystemPath is a required parameter" Spec DataRepositoryAssociationSpec `json:"spec"` Status DataRepositoryAssociationStatus `json:"status,omitempty"` } diff --git a/apis/fsx/v1beta1/zz_generated.deepcopy.go b/apis/fsx/v1beta1/zz_generated.deepcopy.go index 44447ee85d..fdbad8a14e 100644 --- a/apis/fsx/v1beta1/zz_generated.deepcopy.go +++ b/apis/fsx/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -379,7 +378,8 @@ func (in *BackupInitParameters) DeepCopyInto(out *BackupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -471,7 +471,8 @@ func (in *BackupObservation) DeepCopyInto(out *BackupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -486,7 +487,8 @@ func (in *BackupObservation) DeepCopyInto(out *BackupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -546,7 +548,8 @@ func (in *BackupParameters) DeepCopyInto(out *BackupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -675,7 +678,8 @@ func (in *DataRepositoryAssociationInitParameters) DeepCopyInto(out *DataReposit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -789,7 +793,8 @@ func (in *DataRepositoryAssociationObservation) DeepCopyInto(out *DataRepository if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -804,7 +809,8 @@ func (in *DataRepositoryAssociationObservation) DeepCopyInto(out *DataRepository if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -886,7 +892,8 @@ func (in *DataRepositoryAssociationParameters) DeepCopyInto(out *DataRepositoryA if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1459,7 +1466,8 @@ func (in *LustreFileSystemInitParameters) DeepCopyInto(out *LustreFileSystemInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1678,7 +1686,8 @@ func (in *LustreFileSystemObservation) DeepCopyInto(out *LustreFileSystemObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1693,7 +1702,8 @@ func (in *LustreFileSystemObservation) DeepCopyInto(out *LustreFileSystemObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1888,7 +1898,8 @@ func (in *LustreFileSystemParameters) DeepCopyInto(out *LustreFileSystemParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2155,7 +2166,8 @@ func (in *OntapFileSystemInitParameters) DeepCopyInto(out *OntapFileSystemInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2345,7 +2357,8 @@ func (in *OntapFileSystemObservation) DeepCopyInto(out *OntapFileSystemObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2360,7 +2373,8 @@ func (in *OntapFileSystemObservation) DeepCopyInto(out *OntapFileSystemObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2539,7 +2553,8 @@ func (in *OntapFileSystemParameters) DeepCopyInto(out *OntapFileSystemParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2731,7 +2746,8 @@ func (in *OntapStorageVirtualMachineInitParameters) DeepCopyInto(out *OntapStora if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2837,7 +2853,8 @@ func (in *OntapStorageVirtualMachineObservation) DeepCopyInto(out *OntapStorageV if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2852,7 +2869,8 @@ func (in *OntapStorageVirtualMachineObservation) DeepCopyInto(out *OntapStorageV if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2929,7 +2947,8 @@ func (in *OntapStorageVirtualMachineParameters) DeepCopyInto(out *OntapStorageVi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3610,7 +3629,8 @@ func (in *WindowsFileSystemInitParameters) DeepCopyInto(out *WindowsFileSystemIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3825,7 +3845,8 @@ func (in *WindowsFileSystemObservation) DeepCopyInto(out *WindowsFileSystemObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3840,7 +3861,8 @@ func (in *WindowsFileSystemObservation) DeepCopyInto(out *WindowsFileSystemObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4036,7 +4058,8 @@ func (in *WindowsFileSystemParameters) DeepCopyInto(out *WindowsFileSystemParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/fsx/v1beta1/zz_generated.managed.go b/apis/fsx/v1beta1/zz_generated.managed.go index 1be9bfb557..0c80e5037e 100644 --- a/apis/fsx/v1beta1/zz_generated.managed.go +++ b/apis/fsx/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Backup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Backup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Backup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Backup. func (mg *Backup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Backup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Backup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Backup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Backup. func (mg *Backup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DataRepositoryAssociation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataRepositoryAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataRepositoryAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataRepositoryAssociation. func (mg *DataRepositoryAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DataRepositoryAssociation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataRepositoryAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataRepositoryAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataRepositoryAssociation. func (mg *DataRepositoryAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *LustreFileSystem) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LustreFileSystem. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LustreFileSystem) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LustreFileSystem. func (mg *LustreFileSystem) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *LustreFileSystem) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LustreFileSystem. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LustreFileSystem) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LustreFileSystem. func (mg *LustreFileSystem) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *OntapFileSystem) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OntapFileSystem. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OntapFileSystem) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OntapFileSystem. func (mg *OntapFileSystem) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *OntapFileSystem) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OntapFileSystem. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OntapFileSystem) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OntapFileSystem. func (mg *OntapFileSystem) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *OntapStorageVirtualMachine) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OntapStorageVirtualMachine. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OntapStorageVirtualMachine) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OntapStorageVirtualMachine. func (mg *OntapStorageVirtualMachine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *OntapStorageVirtualMachine) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OntapStorageVirtualMachine. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OntapStorageVirtualMachine) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OntapStorageVirtualMachine. func (mg *OntapStorageVirtualMachine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *WindowsFileSystem) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this WindowsFileSystem. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *WindowsFileSystem) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this WindowsFileSystem. func (mg *WindowsFileSystem) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *WindowsFileSystem) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this WindowsFileSystem. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *WindowsFileSystem) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this WindowsFileSystem. func (mg *WindowsFileSystem) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/fsx/v1beta1/zz_ontapfilesystem_types.go b/apis/fsx/v1beta1/zz_ontapfilesystem_types.go index a1e3600875..422ea89a92 100755 --- a/apis/fsx/v1beta1/zz_ontapfilesystem_types.go +++ b/apis/fsx/v1beta1/zz_ontapfilesystem_types.go @@ -344,8 +344,8 @@ type OntapFileSystemStatus struct { type OntapFileSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deploymentType) || has(self.initProvider.deploymentType)",message="deploymentType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.throughputCapacity) || has(self.initProvider.throughputCapacity)",message="throughputCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.deploymentType) || (has(self.initProvider) && has(self.initProvider.deploymentType))",message="spec.forProvider.deploymentType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.throughputCapacity) || (has(self.initProvider) && has(self.initProvider.throughputCapacity))",message="spec.forProvider.throughputCapacity is a required parameter" Spec OntapFileSystemSpec `json:"spec"` Status OntapFileSystemStatus `json:"status,omitempty"` } diff --git a/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go b/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go index 075f64e2f0..dbfca82371 100755 --- a/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go +++ b/apis/fsx/v1beta1/zz_ontapstoragevirtualmachine_types.go @@ -314,7 +314,7 @@ type OntapStorageVirtualMachineStatus struct { type OntapStorageVirtualMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec OntapStorageVirtualMachineSpec `json:"spec"` Status OntapStorageVirtualMachineStatus `json:"status,omitempty"` } diff --git a/apis/fsx/v1beta1/zz_windowsfilesystem_types.go b/apis/fsx/v1beta1/zz_windowsfilesystem_types.go index 21d3ff5c48..48065e936a 100755 --- a/apis/fsx/v1beta1/zz_windowsfilesystem_types.go +++ b/apis/fsx/v1beta1/zz_windowsfilesystem_types.go @@ -412,7 +412,7 @@ type WindowsFileSystemStatus struct { type WindowsFileSystem struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.throughputCapacity) || has(self.initProvider.throughputCapacity)",message="throughputCapacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.throughputCapacity) || (has(self.initProvider) && has(self.initProvider.throughputCapacity))",message="spec.forProvider.throughputCapacity is a required parameter" Spec WindowsFileSystemSpec `json:"spec"` Status WindowsFileSystemStatus `json:"status,omitempty"` } diff --git a/apis/gamelift/v1beta1/zz_alias_types.go b/apis/gamelift/v1beta1/zz_alias_types.go index 30437fc156..fcda19bf11 100755 --- a/apis/gamelift/v1beta1/zz_alias_types.go +++ b/apis/gamelift/v1beta1/zz_alias_types.go @@ -151,8 +151,8 @@ type AliasStatus struct { type Alias struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routingStrategy) || has(self.initProvider.routingStrategy)",message="routingStrategy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.routingStrategy) || (has(self.initProvider) && has(self.initProvider.routingStrategy))",message="spec.forProvider.routingStrategy is a required parameter" Spec AliasSpec `json:"spec"` Status AliasStatus `json:"status,omitempty"` } diff --git a/apis/gamelift/v1beta1/zz_build_types.go b/apis/gamelift/v1beta1/zz_build_types.go index 51e43d38a7..3953509add 100755 --- a/apis/gamelift/v1beta1/zz_build_types.go +++ b/apis/gamelift/v1beta1/zz_build_types.go @@ -191,9 +191,9 @@ type BuildStatus struct { type Build struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operatingSystem) || has(self.initProvider.operatingSystem)",message="operatingSystem is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageLocation) || has(self.initProvider.storageLocation)",message="storageLocation is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operatingSystem) || (has(self.initProvider) && has(self.initProvider.operatingSystem))",message="spec.forProvider.operatingSystem is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageLocation) || (has(self.initProvider) && has(self.initProvider.storageLocation))",message="spec.forProvider.storageLocation is a required parameter" Spec BuildSpec `json:"spec"` Status BuildStatus `json:"status,omitempty"` } diff --git a/apis/gamelift/v1beta1/zz_fleet_types.go b/apis/gamelift/v1beta1/zz_fleet_types.go index 418be8a2cb..17d7cebea4 100755 --- a/apis/gamelift/v1beta1/zz_fleet_types.go +++ b/apis/gamelift/v1beta1/zz_fleet_types.go @@ -411,8 +411,8 @@ type FleetStatus struct { type Fleet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ec2InstanceType) || has(self.initProvider.ec2InstanceType)",message="ec2InstanceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ec2InstanceType) || (has(self.initProvider) && has(self.initProvider.ec2InstanceType))",message="spec.forProvider.ec2InstanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec FleetSpec `json:"spec"` Status FleetStatus `json:"status,omitempty"` } diff --git a/apis/gamelift/v1beta1/zz_generated.deepcopy.go b/apis/gamelift/v1beta1/zz_generated.deepcopy.go index 95938785dc..a8a7405f7a 100644 --- a/apis/gamelift/v1beta1/zz_generated.deepcopy.go +++ b/apis/gamelift/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -69,7 +68,8 @@ func (in *AliasInitParameters) DeepCopyInto(out *AliasInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -158,7 +158,8 @@ func (in *AliasObservation) DeepCopyInto(out *AliasObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -173,7 +174,8 @@ func (in *AliasObservation) DeepCopyInto(out *AliasObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -225,7 +227,8 @@ func (in *AliasParameters) DeepCopyInto(out *AliasParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -334,7 +337,8 @@ func (in *BuildInitParameters) DeepCopyInto(out *BuildInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -428,7 +432,8 @@ func (in *BuildObservation) DeepCopyInto(out *BuildObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -443,7 +448,8 @@ func (in *BuildObservation) DeepCopyInto(out *BuildObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -500,7 +506,8 @@ func (in *BuildParameters) DeepCopyInto(out *BuildParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -831,7 +838,8 @@ func (in *FleetInitParameters) DeepCopyInto(out *FleetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1008,7 +1016,8 @@ func (in *FleetObservation) DeepCopyInto(out *FleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1023,7 +1032,8 @@ func (in *FleetObservation) DeepCopyInto(out *FleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1157,7 +1167,8 @@ func (in *FleetParameters) DeepCopyInto(out *FleetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1272,7 +1283,8 @@ func (in *GameSessionQueueInitParameters) DeepCopyInto(out *GameSessionQueueInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1377,7 +1389,8 @@ func (in *GameSessionQueueObservation) DeepCopyInto(out *GameSessionQueueObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1392,7 +1405,8 @@ func (in *GameSessionQueueObservation) DeepCopyInto(out *GameSessionQueueObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1470,7 +1484,8 @@ func (in *GameSessionQueueParameters) DeepCopyInto(out *GameSessionQueueParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1915,7 +1930,8 @@ func (in *ScriptInitParameters) DeepCopyInto(out *ScriptInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2009,7 +2025,8 @@ func (in *ScriptObservation) DeepCopyInto(out *ScriptObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2024,7 +2041,8 @@ func (in *ScriptObservation) DeepCopyInto(out *ScriptObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2081,7 +2099,8 @@ func (in *ScriptParameters) DeepCopyInto(out *ScriptParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/gamelift/v1beta1/zz_generated.managed.go b/apis/gamelift/v1beta1/zz_generated.managed.go index 7789542b6d..df87c28d58 100644 --- a/apis/gamelift/v1beta1/zz_generated.managed.go +++ b/apis/gamelift/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Alias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Alias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Alias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Alias. func (mg *Alias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Alias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Alias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Alias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Alias. func (mg *Alias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Build) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Build. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Build) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Build. func (mg *Build) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Build) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Build. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Build) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Build. func (mg *Build) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Fleet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Fleet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Fleet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Fleet. func (mg *Fleet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Fleet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Fleet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Fleet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Fleet. func (mg *Fleet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *GameSessionQueue) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GameSessionQueue. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GameSessionQueue) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GameSessionQueue. func (mg *GameSessionQueue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *GameSessionQueue) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GameSessionQueue. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GameSessionQueue) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GameSessionQueue. func (mg *GameSessionQueue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Script) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Script. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Script) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Script. func (mg *Script) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Script) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Script. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Script) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Script. func (mg *Script) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/gamelift/v1beta1/zz_script_types.go b/apis/gamelift/v1beta1/zz_script_types.go index 11a869c49c..fc37f35c89 100755 --- a/apis/gamelift/v1beta1/zz_script_types.go +++ b/apis/gamelift/v1beta1/zz_script_types.go @@ -191,7 +191,7 @@ type ScriptStatus struct { type Script struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ScriptSpec `json:"spec"` Status ScriptStatus `json:"status,omitempty"` } diff --git a/apis/glacier/v1beta1/zz_generated.deepcopy.go b/apis/glacier/v1beta1/zz_generated.deepcopy.go index 089b9de425..771716cbe3 100644 --- a/apis/glacier/v1beta1/zz_generated.deepcopy.go +++ b/apis/glacier/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -162,7 +161,8 @@ func (in *VaultInitParameters) DeepCopyInto(out *VaultInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -465,7 +465,8 @@ func (in *VaultObservation) DeepCopyInto(out *VaultObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -480,7 +481,8 @@ func (in *VaultObservation) DeepCopyInto(out *VaultObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -527,7 +529,8 @@ func (in *VaultParameters) DeepCopyInto(out *VaultParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/glacier/v1beta1/zz_generated.managed.go b/apis/glacier/v1beta1/zz_generated.managed.go index d5ce205059..23b99dec4b 100644 --- a/apis/glacier/v1beta1/zz_generated.managed.go +++ b/apis/glacier/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Vault) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Vault. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Vault) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Vault. func (mg *Vault) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Vault) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Vault. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Vault) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Vault. func (mg *Vault) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *VaultLock) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VaultLock. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VaultLock) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VaultLock. func (mg *VaultLock) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *VaultLock) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VaultLock. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VaultLock) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VaultLock. func (mg *VaultLock) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/glacier/v1beta1/zz_vaultlock_types.go b/apis/glacier/v1beta1/zz_vaultlock_types.go index 33a189c59e..6dc7881591 100755 --- a/apis/glacier/v1beta1/zz_vaultlock_types.go +++ b/apis/glacier/v1beta1/zz_vaultlock_types.go @@ -112,8 +112,8 @@ type VaultLockStatus struct { type VaultLock struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.completeLock) || has(self.initProvider.completeLock)",message="completeLock is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.completeLock) || (has(self.initProvider) && has(self.initProvider.completeLock))",message="spec.forProvider.completeLock is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec VaultLockSpec `json:"spec"` Status VaultLockStatus `json:"status,omitempty"` } diff --git a/apis/globalaccelerator/v1beta1/zz_accelerator_types.go b/apis/globalaccelerator/v1beta1/zz_accelerator_types.go index e5759dd9ae..6ce03b09bb 100755 --- a/apis/globalaccelerator/v1beta1/zz_accelerator_types.go +++ b/apis/globalaccelerator/v1beta1/zz_accelerator_types.go @@ -197,7 +197,7 @@ type AcceleratorStatus struct { type Accelerator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AcceleratorSpec `json:"spec"` Status AcceleratorStatus `json:"status,omitempty"` } diff --git a/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go b/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go index 20b947c278..8307918c8e 100644 --- a/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go +++ b/apis/globalaccelerator/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -85,7 +84,8 @@ func (in *AcceleratorInitParameters) DeepCopyInto(out *AcceleratorInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -207,7 +207,8 @@ func (in *AcceleratorObservation) DeepCopyInto(out *AcceleratorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -222,7 +223,8 @@ func (in *AcceleratorObservation) DeepCopyInto(out *AcceleratorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -290,7 +292,8 @@ func (in *AcceleratorParameters) DeepCopyInto(out *AcceleratorParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/globalaccelerator/v1beta1/zz_generated.managed.go b/apis/globalaccelerator/v1beta1/zz_generated.managed.go index e95d8e39ef..e37e0b6501 100644 --- a/apis/globalaccelerator/v1beta1/zz_generated.managed.go +++ b/apis/globalaccelerator/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Accelerator) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Accelerator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Accelerator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Accelerator. func (mg *Accelerator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Accelerator) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Accelerator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Accelerator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Accelerator. func (mg *Accelerator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *EndpointGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EndpointGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EndpointGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EndpointGroup. func (mg *EndpointGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *EndpointGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EndpointGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EndpointGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EndpointGroup. func (mg *EndpointGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Listener) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Listener. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Listener) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Listener. func (mg *Listener) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Listener) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Listener. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Listener) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Listener. func (mg *Listener) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/globalaccelerator/v1beta1/zz_listener_types.go b/apis/globalaccelerator/v1beta1/zz_listener_types.go index 8c909e67be..67a2e013a0 100755 --- a/apis/globalaccelerator/v1beta1/zz_listener_types.go +++ b/apis/globalaccelerator/v1beta1/zz_listener_types.go @@ -141,8 +141,8 @@ type ListenerStatus struct { type Listener struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.portRange) || has(self.initProvider.portRange)",message="portRange is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.portRange) || (has(self.initProvider) && has(self.initProvider.portRange))",message="spec.forProvider.portRange is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" Spec ListenerSpec `json:"spec"` Status ListenerStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go b/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go index 1d5af7c37e..3bc0d50b4c 100755 --- a/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go +++ b/apis/glue/v1beta1/zz_datacatalogencryptionsettings_types.go @@ -187,7 +187,7 @@ type DataCatalogEncryptionSettingsStatus struct { type DataCatalogEncryptionSettings struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataCatalogEncryptionSettings) || has(self.initProvider.dataCatalogEncryptionSettings)",message="dataCatalogEncryptionSettings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataCatalogEncryptionSettings) || (has(self.initProvider) && has(self.initProvider.dataCatalogEncryptionSettings))",message="spec.forProvider.dataCatalogEncryptionSettings is a required parameter" Spec DataCatalogEncryptionSettingsSpec `json:"spec"` Status DataCatalogEncryptionSettingsStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_generated.deepcopy.go b/apis/glue/v1beta1/zz_generated.deepcopy.go index 1757fdb0c6..7e5917eb0f 100644 --- a/apis/glue/v1beta1/zz_generated.deepcopy.go +++ b/apis/glue/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -25,7 +24,8 @@ func (in *ActionsInitParameters) DeepCopyInto(out *ActionsInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -132,7 +132,8 @@ func (in *ActionsObservation) DeepCopyInto(out *ActionsObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -189,7 +190,8 @@ func (in *ActionsParameters) DeepCopyInto(out *ActionsParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -310,7 +312,8 @@ func (in *CatalogDatabaseInitParameters) DeepCopyInto(out *CatalogDatabaseInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -325,7 +328,8 @@ func (in *CatalogDatabaseInitParameters) DeepCopyInto(out *CatalogDatabaseInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -426,7 +430,8 @@ func (in *CatalogDatabaseObservation) DeepCopyInto(out *CatalogDatabaseObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -441,7 +446,8 @@ func (in *CatalogDatabaseObservation) DeepCopyInto(out *CatalogDatabaseObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -456,7 +462,8 @@ func (in *CatalogDatabaseObservation) DeepCopyInto(out *CatalogDatabaseObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -515,7 +522,8 @@ func (in *CatalogDatabaseParameters) DeepCopyInto(out *CatalogDatabaseParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -535,7 +543,8 @@ func (in *CatalogDatabaseParameters) DeepCopyInto(out *CatalogDatabaseParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -644,7 +653,8 @@ func (in *CatalogTableInitParameters) DeepCopyInto(out *CatalogTableInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -784,7 +794,8 @@ func (in *CatalogTableObservation) DeepCopyInto(out *CatalogTableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -892,7 +903,8 @@ func (in *CatalogTableParameters) DeepCopyInto(out *CatalogTableParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1476,7 +1488,8 @@ func (in *ColumnsInitParameters) DeepCopyInto(out *ColumnsInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1521,7 +1534,8 @@ func (in *ColumnsObservation) DeepCopyInto(out *ColumnsObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1566,7 +1580,8 @@ func (in *ColumnsParameters) DeepCopyInto(out *ColumnsParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1876,7 +1891,8 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1981,7 +1997,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1996,7 +2013,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2069,7 +2087,8 @@ func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2347,7 +2366,8 @@ func (in *CrawlerInitParameters) DeepCopyInto(out *CrawlerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2535,7 +2555,8 @@ func (in *CrawlerObservation) DeepCopyInto(out *CrawlerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2550,7 +2571,8 @@ func (in *CrawlerObservation) DeepCopyInto(out *CrawlerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2721,7 +2743,8 @@ func (in *CrawlerParameters) DeepCopyInto(out *CrawlerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4315,7 +4338,8 @@ func (in *JobInitParameters) DeepCopyInto(out *JobInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4362,7 +4386,8 @@ func (in *JobInitParameters) DeepCopyInto(out *JobInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4394,7 +4419,8 @@ func (in *JobInitParameters) DeepCopyInto(out *JobInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4489,7 +4515,8 @@ func (in *JobObservation) DeepCopyInto(out *JobObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4541,7 +4568,8 @@ func (in *JobObservation) DeepCopyInto(out *JobObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4578,7 +4606,8 @@ func (in *JobObservation) DeepCopyInto(out *JobObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4593,7 +4622,8 @@ func (in *JobObservation) DeepCopyInto(out *JobObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4651,7 +4681,8 @@ func (in *JobParameters) DeepCopyInto(out *JobParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4698,7 +4729,8 @@ func (in *JobParameters) DeepCopyInto(out *JobParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4750,7 +4782,8 @@ func (in *JobParameters) DeepCopyInto(out *JobParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5654,7 +5687,8 @@ func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5731,7 +5765,8 @@ func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5746,7 +5781,8 @@ func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5786,7 +5822,8 @@ func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6555,7 +6592,8 @@ func (in *SchemaInitParameters) DeepCopyInto(out *SchemaInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6677,7 +6715,8 @@ func (in *SchemaObservation) DeepCopyInto(out *SchemaObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6692,7 +6731,8 @@ func (in *SchemaObservation) DeepCopyInto(out *SchemaObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6767,7 +6807,8 @@ func (in *SchemaParameters) DeepCopyInto(out *SchemaParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7103,7 +7144,8 @@ func (in *SerDeInfoInitParameters) DeepCopyInto(out *SerDeInfoInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7143,7 +7185,8 @@ func (in *SerDeInfoObservation) DeepCopyInto(out *SerDeInfoObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7183,7 +7226,8 @@ func (in *SerDeInfoParameters) DeepCopyInto(out *SerDeInfoParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7229,7 +7273,8 @@ func (in *SkewedInfoInitParameters) DeepCopyInto(out *SkewedInfoInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7281,7 +7326,8 @@ func (in *SkewedInfoObservation) DeepCopyInto(out *SkewedInfoObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7333,7 +7379,8 @@ func (in *SkewedInfoParameters) DeepCopyInto(out *SkewedInfoParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7492,7 +7539,8 @@ func (in *StorageDescriptorInitParameters) DeepCopyInto(out *StorageDescriptorIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7598,7 +7646,8 @@ func (in *StorageDescriptorObservation) DeepCopyInto(out *StorageDescriptorObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7704,7 +7753,8 @@ func (in *StorageDescriptorParameters) DeepCopyInto(out *StorageDescriptorParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7985,7 +8035,8 @@ func (in *TriggerInitParameters) DeepCopyInto(out *TriggerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8113,7 +8164,8 @@ func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8128,7 +8180,8 @@ func (in *TriggerObservation) DeepCopyInto(out *TriggerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8214,7 +8267,8 @@ func (in *TriggerParameters) DeepCopyInto(out *TriggerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8571,7 +8625,8 @@ func (in *WorkflowInitParameters) DeepCopyInto(out *WorkflowInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8596,7 +8651,8 @@ func (in *WorkflowInitParameters) DeepCopyInto(out *WorkflowInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8663,7 +8719,8 @@ func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8693,7 +8750,8 @@ func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8708,7 +8766,8 @@ func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8738,7 +8797,8 @@ func (in *WorkflowParameters) DeepCopyInto(out *WorkflowParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8768,7 +8828,8 @@ func (in *WorkflowParameters) DeepCopyInto(out *WorkflowParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/glue/v1beta1/zz_generated.managed.go b/apis/glue/v1beta1/zz_generated.managed.go index dccef446d2..a237e9e86a 100644 --- a/apis/glue/v1beta1/zz_generated.managed.go +++ b/apis/glue/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *CatalogDatabase) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CatalogDatabase. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CatalogDatabase) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CatalogDatabase. func (mg *CatalogDatabase) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *CatalogDatabase) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CatalogDatabase. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CatalogDatabase) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CatalogDatabase. func (mg *CatalogDatabase) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CatalogTable) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CatalogTable. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CatalogTable) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CatalogTable. func (mg *CatalogTable) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CatalogTable) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CatalogTable. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CatalogTable) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CatalogTable. func (mg *CatalogTable) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Classifier) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Classifier. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Classifier) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Classifier. func (mg *Classifier) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Classifier) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Classifier. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Classifier) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Classifier. func (mg *Classifier) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Crawler) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Crawler. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Crawler) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Crawler. func (mg *Crawler) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Crawler) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Crawler. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Crawler) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Crawler. func (mg *Crawler) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *DataCatalogEncryptionSettings) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataCatalogEncryptionSettings. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataCatalogEncryptionSettings) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataCatalogEncryptionSettings. func (mg *DataCatalogEncryptionSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *DataCatalogEncryptionSettings) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataCatalogEncryptionSettings. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataCatalogEncryptionSettings) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataCatalogEncryptionSettings. func (mg *DataCatalogEncryptionSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Job) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Job. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Job) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Job. func (mg *Job) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Job) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Job. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Job) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Job. func (mg *Job) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Registry) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Registry. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Registry) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Registry. func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Registry) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Registry. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Registry) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Registry. func (mg *Registry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourcePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourcePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourcePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourcePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *Schema) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Schema. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Schema) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Schema. func (mg *Schema) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *Schema) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Schema. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Schema) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Schema. func (mg *Schema) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *SecurityConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecurityConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecurityConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecurityConfiguration. func (mg *SecurityConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *SecurityConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecurityConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecurityConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecurityConfiguration. func (mg *SecurityConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *Trigger) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Trigger. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Trigger) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Trigger. func (mg *Trigger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *Trigger) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Trigger. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Trigger) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Trigger. func (mg *Trigger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *UserDefinedFunction) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserDefinedFunction. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserDefinedFunction) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserDefinedFunction. func (mg *UserDefinedFunction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *UserDefinedFunction) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserDefinedFunction. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserDefinedFunction) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserDefinedFunction. func (mg *UserDefinedFunction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *Workflow) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workflow. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workflow) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workflow. func (mg *Workflow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *Workflow) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workflow. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workflow) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workflow. func (mg *Workflow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/glue/v1beta1/zz_job_types.go b/apis/glue/v1beta1/zz_job_types.go index 671fb49d2b..7943825370 100755 --- a/apis/glue/v1beta1/zz_job_types.go +++ b/apis/glue/v1beta1/zz_job_types.go @@ -326,7 +326,7 @@ type JobStatus struct { type Job struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.command) || has(self.initProvider.command)",message="command is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.command) || (has(self.initProvider) && has(self.initProvider.command))",message="spec.forProvider.command is a required parameter" Spec JobSpec `json:"spec"` Status JobStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_resourcepolicy_types.go b/apis/glue/v1beta1/zz_resourcepolicy_types.go index e199f81b23..660d7bf92c 100755 --- a/apis/glue/v1beta1/zz_resourcepolicy_types.go +++ b/apis/glue/v1beta1/zz_resourcepolicy_types.go @@ -85,7 +85,7 @@ type ResourcePolicyStatus struct { type ResourcePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec ResourcePolicySpec `json:"spec"` Status ResourcePolicyStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_schema_types.go b/apis/glue/v1beta1/zz_schema_types.go index c5cfb619e0..f4ec6af024 100755 --- a/apis/glue/v1beta1/zz_schema_types.go +++ b/apis/glue/v1beta1/zz_schema_types.go @@ -161,10 +161,10 @@ type SchemaStatus struct { type Schema struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compatibility) || has(self.initProvider.compatibility)",message="compatibility is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataFormat) || has(self.initProvider.dataFormat)",message="dataFormat is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaDefinition) || has(self.initProvider.schemaDefinition)",message="schemaDefinition is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaName) || has(self.initProvider.schemaName)",message="schemaName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.compatibility) || (has(self.initProvider) && has(self.initProvider.compatibility))",message="spec.forProvider.compatibility is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataFormat) || (has(self.initProvider) && has(self.initProvider.dataFormat))",message="spec.forProvider.dataFormat is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaDefinition) || (has(self.initProvider) && has(self.initProvider.schemaDefinition))",message="spec.forProvider.schemaDefinition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaName) || (has(self.initProvider) && has(self.initProvider.schemaName))",message="spec.forProvider.schemaName is a required parameter" Spec SchemaSpec `json:"spec"` Status SchemaStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_securityconfiguration_types.go b/apis/glue/v1beta1/zz_securityconfiguration_types.go index bdb738e8a6..28374078d3 100755 --- a/apis/glue/v1beta1/zz_securityconfiguration_types.go +++ b/apis/glue/v1beta1/zz_securityconfiguration_types.go @@ -215,7 +215,7 @@ type SecurityConfigurationStatus struct { type SecurityConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encryptionConfiguration) || has(self.initProvider.encryptionConfiguration)",message="encryptionConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encryptionConfiguration) || (has(self.initProvider) && has(self.initProvider.encryptionConfiguration))",message="spec.forProvider.encryptionConfiguration is a required parameter" Spec SecurityConfigurationSpec `json:"spec"` Status SecurityConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_trigger_types.go b/apis/glue/v1beta1/zz_trigger_types.go index 2b33cc8bd2..0302063ef8 100755 --- a/apis/glue/v1beta1/zz_trigger_types.go +++ b/apis/glue/v1beta1/zz_trigger_types.go @@ -404,8 +404,8 @@ type TriggerStatus struct { type Trigger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actions) || has(self.initProvider.actions)",message="actions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.actions) || (has(self.initProvider) && has(self.initProvider.actions))",message="spec.forProvider.actions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec TriggerSpec `json:"spec"` Status TriggerStatus `json:"status,omitempty"` } diff --git a/apis/glue/v1beta1/zz_userdefinedfunction_types.go b/apis/glue/v1beta1/zz_userdefinedfunction_types.go index da69c87c73..e47a6c23ee 100755 --- a/apis/glue/v1beta1/zz_userdefinedfunction_types.go +++ b/apis/glue/v1beta1/zz_userdefinedfunction_types.go @@ -164,9 +164,9 @@ type UserDefinedFunctionStatus struct { type UserDefinedFunction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.className) || has(self.initProvider.className)",message="className is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerName) || has(self.initProvider.ownerName)",message="ownerName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerType) || has(self.initProvider.ownerType)",message="ownerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.className) || (has(self.initProvider) && has(self.initProvider.className))",message="spec.forProvider.className is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerName) || (has(self.initProvider) && has(self.initProvider.ownerName))",message="spec.forProvider.ownerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ownerType) || (has(self.initProvider) && has(self.initProvider.ownerType))",message="spec.forProvider.ownerType is a required parameter" Spec UserDefinedFunctionSpec `json:"spec"` Status UserDefinedFunctionStatus `json:"status,omitempty"` } diff --git a/apis/grafana/v1beta1/zz_generated.deepcopy.go b/apis/grafana/v1beta1/zz_generated.deepcopy.go index 215ee4e691..4998ddde50 100644 --- a/apis/grafana/v1beta1/zz_generated.deepcopy.go +++ b/apis/grafana/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1028,7 +1027,8 @@ func (in *WorkspaceInitParameters) DeepCopyInto(out *WorkspaceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1213,7 +1213,8 @@ func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1228,7 +1229,8 @@ func (in *WorkspaceObservation) DeepCopyInto(out *WorkspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1376,7 +1378,8 @@ func (in *WorkspaceParameters) DeepCopyInto(out *WorkspaceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/grafana/v1beta1/zz_generated.managed.go b/apis/grafana/v1beta1/zz_generated.managed.go index 937ce8d3e2..77bbb74c6b 100644 --- a/apis/grafana/v1beta1/zz_generated.managed.go +++ b/apis/grafana/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LicenseAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LicenseAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LicenseAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LicenseAssociation. func (mg *LicenseAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LicenseAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LicenseAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LicenseAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LicenseAssociation. func (mg *LicenseAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RoleAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RoleAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RoleAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RoleAssociation. func (mg *RoleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RoleAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RoleAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RoleAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RoleAssociation. func (mg *RoleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Workspace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workspace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workspace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workspace. func (mg *Workspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Workspace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workspace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workspace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workspace. func (mg *Workspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *WorkspaceAPIKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this WorkspaceAPIKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *WorkspaceAPIKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this WorkspaceAPIKey. func (mg *WorkspaceAPIKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *WorkspaceAPIKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this WorkspaceAPIKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *WorkspaceAPIKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this WorkspaceAPIKey. func (mg *WorkspaceAPIKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *WorkspaceSAMLConfiguration) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this WorkspaceSAMLConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *WorkspaceSAMLConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this WorkspaceSAMLConfiguration. func (mg *WorkspaceSAMLConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *WorkspaceSAMLConfiguration) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this WorkspaceSAMLConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *WorkspaceSAMLConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this WorkspaceSAMLConfiguration. func (mg *WorkspaceSAMLConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/grafana/v1beta1/zz_licenseassociation_types.go b/apis/grafana/v1beta1/zz_licenseassociation_types.go index 9878d24a30..fbf49d16c2 100755 --- a/apis/grafana/v1beta1/zz_licenseassociation_types.go +++ b/apis/grafana/v1beta1/zz_licenseassociation_types.go @@ -98,7 +98,7 @@ type LicenseAssociationStatus struct { type LicenseAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseType) || has(self.initProvider.licenseType)",message="licenseType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseType) || (has(self.initProvider) && has(self.initProvider.licenseType))",message="spec.forProvider.licenseType is a required parameter" Spec LicenseAssociationSpec `json:"spec"` Status LicenseAssociationStatus `json:"status,omitempty"` } diff --git a/apis/grafana/v1beta1/zz_roleassociation_types.go b/apis/grafana/v1beta1/zz_roleassociation_types.go index f855dd6cdc..6f6e23aebf 100755 --- a/apis/grafana/v1beta1/zz_roleassociation_types.go +++ b/apis/grafana/v1beta1/zz_roleassociation_types.go @@ -111,7 +111,7 @@ type RoleAssociationStatus struct { type RoleAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || has(self.initProvider.role)",message="role is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.role) || (has(self.initProvider) && has(self.initProvider.role))",message="spec.forProvider.role is a required parameter" Spec RoleAssociationSpec `json:"spec"` Status RoleAssociationStatus `json:"status,omitempty"` } diff --git a/apis/grafana/v1beta1/zz_workspace_types.go b/apis/grafana/v1beta1/zz_workspace_types.go index c9b610926a..0350686cd5 100755 --- a/apis/grafana/v1beta1/zz_workspace_types.go +++ b/apis/grafana/v1beta1/zz_workspace_types.go @@ -301,9 +301,9 @@ type WorkspaceStatus struct { type Workspace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountAccessType) || has(self.initProvider.accountAccessType)",message="accountAccessType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationProviders) || has(self.initProvider.authenticationProviders)",message="authenticationProviders is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissionType) || has(self.initProvider.permissionType)",message="permissionType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountAccessType) || (has(self.initProvider) && has(self.initProvider.accountAccessType))",message="spec.forProvider.accountAccessType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationProviders) || (has(self.initProvider) && has(self.initProvider.authenticationProviders))",message="spec.forProvider.authenticationProviders is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissionType) || (has(self.initProvider) && has(self.initProvider.permissionType))",message="spec.forProvider.permissionType is a required parameter" Spec WorkspaceSpec `json:"spec"` Status WorkspaceStatus `json:"status,omitempty"` } diff --git a/apis/grafana/v1beta1/zz_workspaceapikey_types.go b/apis/grafana/v1beta1/zz_workspaceapikey_types.go index dd18ad4ac8..234758ce4d 100755 --- a/apis/grafana/v1beta1/zz_workspaceapikey_types.go +++ b/apis/grafana/v1beta1/zz_workspaceapikey_types.go @@ -114,9 +114,9 @@ type WorkspaceAPIKeyStatus struct { type WorkspaceAPIKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyName) || has(self.initProvider.keyName)",message="keyName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyRole) || has(self.initProvider.keyRole)",message="keyRole is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secondsToLive) || has(self.initProvider.secondsToLive)",message="secondsToLive is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyName) || (has(self.initProvider) && has(self.initProvider.keyName))",message="spec.forProvider.keyName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.keyRole) || (has(self.initProvider) && has(self.initProvider.keyRole))",message="spec.forProvider.keyRole is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.secondsToLive) || (has(self.initProvider) && has(self.initProvider.secondsToLive))",message="spec.forProvider.secondsToLive is a required parameter" Spec WorkspaceAPIKeySpec `json:"spec"` Status WorkspaceAPIKeyStatus `json:"status,omitempty"` } diff --git a/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go b/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go index 1183081e09..d17b011af4 100755 --- a/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go +++ b/apis/grafana/v1beta1/zz_workspacesamlconfiguration_types.go @@ -204,7 +204,7 @@ type WorkspaceSAMLConfigurationStatus struct { type WorkspaceSAMLConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.editorRoleValues) || has(self.initProvider.editorRoleValues)",message="editorRoleValues is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.editorRoleValues) || (has(self.initProvider) && has(self.initProvider.editorRoleValues))",message="spec.forProvider.editorRoleValues is a required parameter" Spec WorkspaceSAMLConfigurationSpec `json:"spec"` Status WorkspaceSAMLConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/guardduty/v1beta1/zz_filter_types.go b/apis/guardduty/v1beta1/zz_filter_types.go index 076e8b3f42..43a77b17cd 100755 --- a/apis/guardduty/v1beta1/zz_filter_types.go +++ b/apis/guardduty/v1beta1/zz_filter_types.go @@ -232,9 +232,9 @@ type FilterStatus struct { type Filter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.findingCriteria) || has(self.initProvider.findingCriteria)",message="findingCriteria is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rank) || has(self.initProvider.rank)",message="rank is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.findingCriteria) || (has(self.initProvider) && has(self.initProvider.findingCriteria))",message="spec.forProvider.findingCriteria is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rank) || (has(self.initProvider) && has(self.initProvider.rank))",message="spec.forProvider.rank is a required parameter" Spec FilterSpec `json:"spec"` Status FilterStatus `json:"status,omitempty"` } diff --git a/apis/guardduty/v1beta1/zz_generated.deepcopy.go b/apis/guardduty/v1beta1/zz_generated.deepcopy.go index 124533b904..71947cb859 100644 --- a/apis/guardduty/v1beta1/zz_generated.deepcopy.go +++ b/apis/guardduty/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -423,7 +422,8 @@ func (in *DetectorInitParameters) DeepCopyInto(out *DetectorInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -517,7 +517,8 @@ func (in *DetectorObservation) DeepCopyInto(out *DetectorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -532,7 +533,8 @@ func (in *DetectorObservation) DeepCopyInto(out *DetectorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -584,7 +586,8 @@ func (in *DetectorParameters) DeepCopyInto(out *DetectorParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -758,7 +761,8 @@ func (in *FilterInitParameters) DeepCopyInto(out *FilterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -857,7 +861,8 @@ func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -872,7 +877,8 @@ func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -944,7 +950,8 @@ func (in *FilterParameters) DeepCopyInto(out *FilterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/guardduty/v1beta1/zz_generated.managed.go b/apis/guardduty/v1beta1/zz_generated.managed.go index f316e71212..79c63e913d 100644 --- a/apis/guardduty/v1beta1/zz_generated.managed.go +++ b/apis/guardduty/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Detector) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Detector. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Detector) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Detector. func (mg *Detector) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Detector) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Detector. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Detector) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Detector. func (mg *Detector) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Filter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Filter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Filter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Filter. func (mg *Filter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Filter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Filter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Filter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Filter. func (mg *Filter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Member) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Member. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Member) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Member. func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Member) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Member. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Member) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Member. func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/guardduty/v1beta1/zz_member_types.go b/apis/guardduty/v1beta1/zz_member_types.go index f7fe42cd70..36146f48d8 100755 --- a/apis/guardduty/v1beta1/zz_member_types.go +++ b/apis/guardduty/v1beta1/zz_member_types.go @@ -143,7 +143,7 @@ type MemberStatus struct { type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || has(self.initProvider.email)",message="email is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" Spec MemberSpec `json:"spec"` Status MemberStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_generated.deepcopy.go b/apis/iam/v1beta1/zz_generated.deepcopy.go index 5fee3b25b3..c1c18fd484 100644 --- a/apis/iam/v1beta1/zz_generated.deepcopy.go +++ b/apis/iam/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1340,7 +1339,8 @@ func (in *InstanceProfileInitParameters) DeepCopyInto(out *InstanceProfileInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1427,7 +1427,8 @@ func (in *InstanceProfileObservation) DeepCopyInto(out *InstanceProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1442,7 +1443,8 @@ func (in *InstanceProfileObservation) DeepCopyInto(out *InstanceProfileObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1497,7 +1499,8 @@ func (in *InstanceProfileParameters) DeepCopyInto(out *InstanceProfileParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1600,7 +1603,8 @@ func (in *OpenIDConnectProviderInitParameters) DeepCopyInto(out *OpenIDConnectPr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1699,7 +1703,8 @@ func (in *OpenIDConnectProviderObservation) DeepCopyInto(out *OpenIDConnectProvi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1714,7 +1719,8 @@ func (in *OpenIDConnectProviderObservation) DeepCopyInto(out *OpenIDConnectProvi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1771,7 +1777,8 @@ func (in *OpenIDConnectProviderParameters) DeepCopyInto(out *OpenIDConnectProvid if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1894,7 +1901,8 @@ func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1986,7 +1994,8 @@ func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2001,7 +2010,8 @@ func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2046,7 +2056,8 @@ func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2186,7 +2197,8 @@ func (in *RoleInitParameters) DeepCopyInto(out *RoleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2373,7 +2385,8 @@ func (in *RoleObservation) DeepCopyInto(out *RoleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2388,7 +2401,8 @@ func (in *RoleObservation) DeepCopyInto(out *RoleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2471,7 +2485,8 @@ func (in *RoleParameters) DeepCopyInto(out *RoleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2931,7 +2946,8 @@ func (in *SAMLProviderInitParameters) DeepCopyInto(out *SAMLProviderInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3008,7 +3024,8 @@ func (in *SAMLProviderObservation) DeepCopyInto(out *SAMLProviderObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3023,7 +3040,8 @@ func (in *SAMLProviderObservation) DeepCopyInto(out *SAMLProviderObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3063,7 +3081,8 @@ func (in *SAMLProviderParameters) DeepCopyInto(out *SAMLProviderParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3170,7 +3189,8 @@ func (in *ServerCertificateInitParameters) DeepCopyInto(out *ServerCertificateIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3262,7 +3282,8 @@ func (in *ServerCertificateObservation) DeepCopyInto(out *ServerCertificateObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3277,7 +3298,8 @@ func (in *ServerCertificateObservation) DeepCopyInto(out *ServerCertificateObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3328,7 +3350,8 @@ func (in *ServerCertificateParameters) DeepCopyInto(out *ServerCertificateParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3435,7 +3458,8 @@ func (in *ServiceLinkedRoleInitParameters) DeepCopyInto(out *ServiceLinkedRoleIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3537,7 +3561,8 @@ func (in *ServiceLinkedRoleObservation) DeepCopyInto(out *ServiceLinkedRoleObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3552,7 +3577,8 @@ func (in *ServiceLinkedRoleObservation) DeepCopyInto(out *ServiceLinkedRoleObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3602,7 +3628,8 @@ func (in *ServiceLinkedRoleParameters) DeepCopyInto(out *ServiceLinkedRoleParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4305,7 +4332,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4616,7 +4644,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4631,7 +4660,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4681,7 +4711,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5181,7 +5212,8 @@ func (in *VirtualMfaDeviceInitParameters) DeepCopyInto(out *VirtualMfaDeviceInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5273,7 +5305,8 @@ func (in *VirtualMfaDeviceObservation) DeepCopyInto(out *VirtualMfaDeviceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5288,7 +5321,8 @@ func (in *VirtualMfaDeviceObservation) DeepCopyInto(out *VirtualMfaDeviceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5328,7 +5362,8 @@ func (in *VirtualMfaDeviceParameters) DeepCopyInto(out *VirtualMfaDeviceParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/iam/v1beta1/zz_generated.managed.go b/apis/iam/v1beta1/zz_generated.managed.go index 3bfc57366a..ea3606bcc6 100644 --- a/apis/iam/v1beta1/zz_generated.managed.go +++ b/apis/iam/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AccessKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccessKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccessKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccessKey. func (mg *AccessKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AccessKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccessKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccessKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccessKey. func (mg *AccessKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AccountAlias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccountAlias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccountAlias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccountAlias. func (mg *AccountAlias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AccountAlias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccountAlias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccountAlias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccountAlias. func (mg *AccountAlias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *AccountPasswordPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccountPasswordPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccountPasswordPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccountPasswordPolicy. func (mg *AccountPasswordPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *AccountPasswordPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccountPasswordPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccountPasswordPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccountPasswordPolicy. func (mg *AccountPasswordPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Group) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Group. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Group) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Group. func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Group) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Group. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Group) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Group. func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *GroupMembership) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GroupMembership. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GroupMembership) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GroupMembership. func (mg *GroupMembership) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *GroupMembership) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GroupMembership. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GroupMembership) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GroupMembership. func (mg *GroupMembership) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *GroupPolicyAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GroupPolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GroupPolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GroupPolicyAttachment. func (mg *GroupPolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *GroupPolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GroupPolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GroupPolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GroupPolicyAttachment. func (mg *GroupPolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *InstanceProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstanceProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstanceProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstanceProfile. func (mg *InstanceProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *InstanceProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstanceProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstanceProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstanceProfile. func (mg *InstanceProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *OpenIDConnectProvider) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OpenIDConnectProvider. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OpenIDConnectProvider) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OpenIDConnectProvider. func (mg *OpenIDConnectProvider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *OpenIDConnectProvider) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OpenIDConnectProvider. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OpenIDConnectProvider) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OpenIDConnectProvider. func (mg *OpenIDConnectProvider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *Role) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Role. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Role) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Role. func (mg *Role) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *Role) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Role. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Role) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Role. func (mg *Role) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *RolePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RolePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RolePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RolePolicy. func (mg *RolePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *RolePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RolePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RolePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RolePolicy. func (mg *RolePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *RolePolicyAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RolePolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RolePolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RolePolicyAttachment. func (mg *RolePolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *RolePolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RolePolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RolePolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RolePolicyAttachment. func (mg *RolePolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *SAMLProvider) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SAMLProvider. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SAMLProvider) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SAMLProvider. func (mg *SAMLProvider) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *SAMLProvider) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SAMLProvider. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SAMLProvider) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SAMLProvider. func (mg *SAMLProvider) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *ServerCertificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServerCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServerCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServerCertificate. func (mg *ServerCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *ServerCertificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServerCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServerCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServerCertificate. func (mg *ServerCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *ServiceLinkedRole) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServiceLinkedRole. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServiceLinkedRole) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServiceLinkedRole. func (mg *ServiceLinkedRole) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *ServiceLinkedRole) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServiceLinkedRole. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServiceLinkedRole) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServiceLinkedRole. func (mg *ServiceLinkedRole) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *ServiceSpecificCredential) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServiceSpecificCredential. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServiceSpecificCredential) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServiceSpecificCredential. func (mg *ServiceSpecificCredential) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *ServiceSpecificCredential) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServiceSpecificCredential. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServiceSpecificCredential) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServiceSpecificCredential. func (mg *ServiceSpecificCredential) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *SigningCertificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SigningCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SigningCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SigningCertificate. func (mg *SigningCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *SigningCertificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SigningCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SigningCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SigningCertificate. func (mg *SigningCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *UserGroupMembership) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserGroupMembership. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserGroupMembership) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserGroupMembership. func (mg *UserGroupMembership) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *UserGroupMembership) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserGroupMembership. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserGroupMembership) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserGroupMembership. func (mg *UserGroupMembership) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *UserLoginProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserLoginProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserLoginProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserLoginProfile. func (mg *UserLoginProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *UserLoginProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserLoginProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserLoginProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserLoginProfile. func (mg *UserLoginProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *UserPolicyAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserPolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserPolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserPolicyAttachment. func (mg *UserPolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *UserPolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserPolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserPolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserPolicyAttachment. func (mg *UserPolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1623,14 +1287,6 @@ func (mg *UserSSHKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserSSHKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserSSHKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserSSHKey. func (mg *UserSSHKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1661,14 +1317,6 @@ func (mg *UserSSHKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserSSHKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserSSHKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserSSHKey. func (mg *UserSSHKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1699,14 +1347,6 @@ func (mg *VirtualMfaDevice) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VirtualMfaDevice. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VirtualMfaDevice) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VirtualMfaDevice. func (mg *VirtualMfaDevice) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1737,14 +1377,6 @@ func (mg *VirtualMfaDevice) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VirtualMfaDevice. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VirtualMfaDevice) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VirtualMfaDevice. func (mg *VirtualMfaDevice) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/iam/v1beta1/zz_groupmembership_types.go b/apis/iam/v1beta1/zz_groupmembership_types.go index 9b3f536c07..e19502846d 100755 --- a/apis/iam/v1beta1/zz_groupmembership_types.go +++ b/apis/iam/v1beta1/zz_groupmembership_types.go @@ -104,7 +104,7 @@ type GroupMembershipStatus struct { type GroupMembership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec GroupMembershipSpec `json:"spec"` Status GroupMembershipStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_openidconnectprovider_types.go b/apis/iam/v1beta1/zz_openidconnectprovider_types.go index 1e749a2a35..bac377bb2e 100755 --- a/apis/iam/v1beta1/zz_openidconnectprovider_types.go +++ b/apis/iam/v1beta1/zz_openidconnectprovider_types.go @@ -106,9 +106,9 @@ type OpenIDConnectProviderStatus struct { type OpenIDConnectProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clientIdList) || has(self.initProvider.clientIdList)",message="clientIdList is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thumbprintList) || has(self.initProvider.thumbprintList)",message="thumbprintList is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.url) || has(self.initProvider.url)",message="url is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clientIdList) || (has(self.initProvider) && has(self.initProvider.clientIdList))",message="spec.forProvider.clientIdList is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thumbprintList) || (has(self.initProvider) && has(self.initProvider.thumbprintList))",message="spec.forProvider.thumbprintList is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.url) || (has(self.initProvider) && has(self.initProvider.url))",message="spec.forProvider.url is a required parameter" Spec OpenIDConnectProviderSpec `json:"spec"` Status OpenIDConnectProviderStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_policy_types.go b/apis/iam/v1beta1/zz_policy_types.go index 39bff8c402..953345a7d4 100755 --- a/apis/iam/v1beta1/zz_policy_types.go +++ b/apis/iam/v1beta1/zz_policy_types.go @@ -113,7 +113,7 @@ type PolicyStatus struct { type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_role_types.go b/apis/iam/v1beta1/zz_role_types.go index 44ce956a46..af849726b3 100755 --- a/apis/iam/v1beta1/zz_role_types.go +++ b/apis/iam/v1beta1/zz_role_types.go @@ -208,7 +208,7 @@ type RoleStatus struct { type Role struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.assumeRolePolicy) || has(self.initProvider.assumeRolePolicy)",message="assumeRolePolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.assumeRolePolicy) || (has(self.initProvider) && has(self.initProvider.assumeRolePolicy))",message="spec.forProvider.assumeRolePolicy is a required parameter" Spec RoleSpec `json:"spec"` Status RoleStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_rolepolicy_types.go b/apis/iam/v1beta1/zz_rolepolicy_types.go index 4b9da3cb6f..f5c10d6054 100755 --- a/apis/iam/v1beta1/zz_rolepolicy_types.go +++ b/apis/iam/v1beta1/zz_rolepolicy_types.go @@ -88,7 +88,7 @@ type RolePolicyStatus struct { type RolePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec RolePolicySpec `json:"spec"` Status RolePolicyStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_samlprovider_types.go b/apis/iam/v1beta1/zz_samlprovider_types.go index 9275ace27f..181bdbcffc 100755 --- a/apis/iam/v1beta1/zz_samlprovider_types.go +++ b/apis/iam/v1beta1/zz_samlprovider_types.go @@ -89,7 +89,7 @@ type SAMLProviderStatus struct { type SAMLProvider struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.samlMetadataDocument) || has(self.initProvider.samlMetadataDocument)",message="samlMetadataDocument is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.samlMetadataDocument) || (has(self.initProvider) && has(self.initProvider.samlMetadataDocument))",message="spec.forProvider.samlMetadataDocument is a required parameter" Spec SAMLProviderSpec `json:"spec"` Status SAMLProviderStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_servercertificate_types.go b/apis/iam/v1beta1/zz_servercertificate_types.go index fa9bab09d8..259b31ecfe 100755 --- a/apis/iam/v1beta1/zz_servercertificate_types.go +++ b/apis/iam/v1beta1/zz_servercertificate_types.go @@ -129,8 +129,8 @@ type ServerCertificateStatus struct { type ServerCertificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateBody) || has(self.initProvider.certificateBody)",message="certificateBody is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.privateKeySecretRef)",message="privateKeySecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateBody) || (has(self.initProvider) && has(self.initProvider.certificateBody))",message="spec.forProvider.certificateBody is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.privateKeySecretRef)",message="spec.forProvider.privateKeySecretRef is a required parameter" Spec ServerCertificateSpec `json:"spec"` Status ServerCertificateStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_servicelinkedrole_types.go b/apis/iam/v1beta1/zz_servicelinkedrole_types.go index feceb9a6d9..f0b49c6b39 100755 --- a/apis/iam/v1beta1/zz_servicelinkedrole_types.go +++ b/apis/iam/v1beta1/zz_servicelinkedrole_types.go @@ -119,7 +119,7 @@ type ServiceLinkedRoleStatus struct { type ServiceLinkedRole struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.awsServiceName) || has(self.initProvider.awsServiceName)",message="awsServiceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.awsServiceName) || (has(self.initProvider) && has(self.initProvider.awsServiceName))",message="spec.forProvider.awsServiceName is a required parameter" Spec ServiceLinkedRoleSpec `json:"spec"` Status ServiceLinkedRoleStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_servicespecificcredential_types.go b/apis/iam/v1beta1/zz_servicespecificcredential_types.go index 40acb00c20..ea05a4924a 100755 --- a/apis/iam/v1beta1/zz_servicespecificcredential_types.go +++ b/apis/iam/v1beta1/zz_servicespecificcredential_types.go @@ -103,7 +103,7 @@ type ServiceSpecificCredentialStatus struct { type ServiceSpecificCredential struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || has(self.initProvider.serviceName)",message="serviceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" Spec ServiceSpecificCredentialSpec `json:"spec"` Status ServiceSpecificCredentialStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_signingcertificate_types.go b/apis/iam/v1beta1/zz_signingcertificate_types.go index e157901800..75632f7920 100755 --- a/apis/iam/v1beta1/zz_signingcertificate_types.go +++ b/apis/iam/v1beta1/zz_signingcertificate_types.go @@ -94,8 +94,8 @@ type SigningCertificateStatus struct { type SigningCertificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateBody) || has(self.initProvider.certificateBody)",message="certificateBody is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userName) || has(self.initProvider.userName)",message="userName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.certificateBody) || (has(self.initProvider) && has(self.initProvider.certificateBody))",message="spec.forProvider.certificateBody is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userName) || (has(self.initProvider) && has(self.initProvider.userName))",message="spec.forProvider.userName is a required parameter" Spec SigningCertificateSpec `json:"spec"` Status SigningCertificateStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_usersshkey_types.go b/apis/iam/v1beta1/zz_usersshkey_types.go index 47ababeb1a..b25ddf0d94 100755 --- a/apis/iam/v1beta1/zz_usersshkey_types.go +++ b/apis/iam/v1beta1/zz_usersshkey_types.go @@ -112,8 +112,8 @@ type UserSSHKeyStatus struct { type UserSSHKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encoding) || has(self.initProvider.encoding)",message="encoding is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publicKey) || has(self.initProvider.publicKey)",message="publicKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encoding) || (has(self.initProvider) && has(self.initProvider.encoding))",message="spec.forProvider.encoding is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.publicKey) || (has(self.initProvider) && has(self.initProvider.publicKey))",message="spec.forProvider.publicKey is a required parameter" Spec UserSSHKeySpec `json:"spec"` Status UserSSHKeyStatus `json:"status,omitempty"` } diff --git a/apis/iam/v1beta1/zz_virtualmfadevice_types.go b/apis/iam/v1beta1/zz_virtualmfadevice_types.go index 00d7d1fd1b..a1d6ef1706 100755 --- a/apis/iam/v1beta1/zz_virtualmfadevice_types.go +++ b/apis/iam/v1beta1/zz_virtualmfadevice_types.go @@ -102,7 +102,7 @@ type VirtualMfaDeviceStatus struct { type VirtualMfaDevice struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.virtualMfaDeviceName) || has(self.initProvider.virtualMfaDeviceName)",message="virtualMfaDeviceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.virtualMfaDeviceName) || (has(self.initProvider) && has(self.initProvider.virtualMfaDeviceName))",message="spec.forProvider.virtualMfaDeviceName is a required parameter" Spec VirtualMfaDeviceSpec `json:"spec"` Status VirtualMfaDeviceStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_component_types.go b/apis/imagebuilder/v1beta1/zz_component_types.go index ad4c83360d..e8fafb1914 100755 --- a/apis/imagebuilder/v1beta1/zz_component_types.go +++ b/apis/imagebuilder/v1beta1/zz_component_types.go @@ -199,9 +199,9 @@ type ComponentStatus struct { type Component struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platform) || has(self.initProvider.platform)",message="platform is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platform) || (has(self.initProvider) && has(self.initProvider.platform))",message="spec.forProvider.platform is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec ComponentSpec `json:"spec"` Status ComponentStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go b/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go index 293b2df852..23e7cbe7e2 100755 --- a/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go +++ b/apis/imagebuilder/v1beta1/zz_containerrecipe_types.go @@ -496,12 +496,12 @@ type ContainerRecipeStatus struct { type ContainerRecipe struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.component) || has(self.initProvider.component)",message="component is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.containerType) || has(self.initProvider.containerType)",message="containerType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentImage) || has(self.initProvider.parentImage)",message="parentImage is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetRepository) || has(self.initProvider.targetRepository)",message="targetRepository is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.component) || (has(self.initProvider) && has(self.initProvider.component))",message="spec.forProvider.component is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.containerType) || (has(self.initProvider) && has(self.initProvider.containerType))",message="spec.forProvider.containerType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentImage) || (has(self.initProvider) && has(self.initProvider.parentImage))",message="spec.forProvider.parentImage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetRepository) || (has(self.initProvider) && has(self.initProvider.targetRepository))",message="spec.forProvider.targetRepository is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec ContainerRecipeSpec `json:"spec"` Status ContainerRecipeStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_distributionconfiguration_types.go b/apis/imagebuilder/v1beta1/zz_distributionconfiguration_types.go index c325e26c5f..fd89594ef0 100755 --- a/apis/imagebuilder/v1beta1/zz_distributionconfiguration_types.go +++ b/apis/imagebuilder/v1beta1/zz_distributionconfiguration_types.go @@ -526,8 +526,8 @@ type DistributionConfigurationStatus struct { type DistributionConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.distribution) || has(self.initProvider.distribution)",message="distribution is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.distribution) || (has(self.initProvider) && has(self.initProvider.distribution))",message="spec.forProvider.distribution is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec DistributionConfigurationSpec `json:"spec"` Status DistributionConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go b/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go index 66419ce5a7..a4e3f964dc 100644 --- a/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go +++ b/apis/imagebuilder/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -25,7 +24,8 @@ func (in *AMIDistributionConfigurationInitParameters) DeepCopyInto(out *AMIDistr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -88,7 +88,8 @@ func (in *AMIDistributionConfigurationObservation) DeepCopyInto(out *AMIDistribu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -151,7 +152,8 @@ func (in *AMIDistributionConfigurationParameters) DeepCopyInto(out *AMIDistribut if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -628,7 +630,8 @@ func (in *ComponentInitParameters) DeepCopyInto(out *ComponentInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -771,7 +774,8 @@ func (in *ComponentObservation) DeepCopyInto(out *ComponentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -786,7 +790,8 @@ func (in *ComponentObservation) DeepCopyInto(out *ComponentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -967,7 +972,8 @@ func (in *ComponentParameters) DeepCopyInto(out *ComponentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1393,7 +1399,8 @@ func (in *ContainerRecipeInitParameters) DeepCopyInto(out *ContainerRecipeInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1556,7 +1563,8 @@ func (in *ContainerRecipeObservation) DeepCopyInto(out *ContainerRecipeObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1571,7 +1579,8 @@ func (in *ContainerRecipeObservation) DeepCopyInto(out *ContainerRecipeObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1687,7 +1696,8 @@ func (in *ContainerRecipeParameters) DeepCopyInto(out *ContainerRecipeParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1874,7 +1884,8 @@ func (in *DistributionConfigurationInitParameters) DeepCopyInto(out *Distributio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1973,7 +1984,8 @@ func (in *DistributionConfigurationObservation) DeepCopyInto(out *DistributionCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1988,7 +2000,8 @@ func (in *DistributionConfigurationObservation) DeepCopyInto(out *DistributionCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2040,7 +2053,8 @@ func (in *DistributionConfigurationParameters) DeepCopyInto(out *DistributionCon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2618,7 +2632,8 @@ func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2749,7 +2764,8 @@ func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2764,7 +2780,8 @@ func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2866,7 +2883,8 @@ func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3042,7 +3060,8 @@ func (in *ImagePipelineInitParameters) DeepCopyInto(out *ImagePipelineInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3193,7 +3212,8 @@ func (in *ImagePipelineObservation) DeepCopyInto(out *ImagePipelineObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3208,7 +3228,8 @@ func (in *ImagePipelineObservation) DeepCopyInto(out *ImagePipelineObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3317,7 +3338,8 @@ func (in *ImagePipelineParameters) DeepCopyInto(out *ImagePipelineParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3642,7 +3664,8 @@ func (in *ImageRecipeInitParameters) DeepCopyInto(out *ImageRecipeInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3780,7 +3803,8 @@ func (in *ImageRecipeObservation) DeepCopyInto(out *ImageRecipeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3795,7 +3819,8 @@ func (in *ImageRecipeObservation) DeepCopyInto(out *ImageRecipeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3881,7 +3906,8 @@ func (in *ImageRecipeParameters) DeepCopyInto(out *ImageRecipeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4133,7 +4159,8 @@ func (in *InfrastructureConfigurationInitParameters) DeepCopyInto(out *Infrastru if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4148,7 +4175,8 @@ func (in *InfrastructureConfigurationInitParameters) DeepCopyInto(out *Infrastru if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4280,7 +4308,8 @@ func (in *InfrastructureConfigurationObservation) DeepCopyInto(out *Infrastructu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4316,7 +4345,8 @@ func (in *InfrastructureConfigurationObservation) DeepCopyInto(out *Infrastructu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4331,7 +4361,8 @@ func (in *InfrastructureConfigurationObservation) DeepCopyInto(out *Infrastructu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4436,7 +4467,8 @@ func (in *InfrastructureConfigurationParameters) DeepCopyInto(out *Infrastructur if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4504,7 +4536,8 @@ func (in *InfrastructureConfigurationParameters) DeepCopyInto(out *Infrastructur if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/imagebuilder/v1beta1/zz_generated.managed.go b/apis/imagebuilder/v1beta1/zz_generated.managed.go index 1e262687a0..89724f7e33 100644 --- a/apis/imagebuilder/v1beta1/zz_generated.managed.go +++ b/apis/imagebuilder/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Component) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Component. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Component) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Component. func (mg *Component) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Component) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Component. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Component) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Component. func (mg *Component) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ContainerRecipe) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContainerRecipe. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContainerRecipe) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContainerRecipe. func (mg *ContainerRecipe) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ContainerRecipe) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContainerRecipe. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContainerRecipe) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContainerRecipe. func (mg *ContainerRecipe) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DistributionConfiguration) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DistributionConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DistributionConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DistributionConfiguration. func (mg *DistributionConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DistributionConfiguration) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DistributionConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DistributionConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DistributionConfiguration. func (mg *DistributionConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Image) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Image. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Image) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Image. func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Image) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Image. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Image) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Image. func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ImagePipeline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ImagePipeline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ImagePipeline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ImagePipeline. func (mg *ImagePipeline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ImagePipeline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ImagePipeline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ImagePipeline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ImagePipeline. func (mg *ImagePipeline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ImageRecipe) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ImageRecipe. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ImageRecipe) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ImageRecipe. func (mg *ImageRecipe) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ImageRecipe) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ImageRecipe. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ImageRecipe) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ImageRecipe. func (mg *ImageRecipe) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *InfrastructureConfiguration) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InfrastructureConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InfrastructureConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InfrastructureConfiguration. func (mg *InfrastructureConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *InfrastructureConfiguration) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InfrastructureConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InfrastructureConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InfrastructureConfiguration. func (mg *InfrastructureConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go b/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go index 2673b0c186..0884587e34 100755 --- a/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go +++ b/apis/imagebuilder/v1beta1/zz_imagepipeline_types.go @@ -278,7 +278,7 @@ type ImagePipelineStatus struct { type ImagePipeline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ImagePipelineSpec `json:"spec"` Status ImagePipelineStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go b/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go index cef6855249..70f5715165 100755 --- a/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go +++ b/apis/imagebuilder/v1beta1/zz_imagerecipe_types.go @@ -402,10 +402,10 @@ type ImageRecipeStatus struct { type ImageRecipe struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.component) || has(self.initProvider.component)",message="component is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentImage) || has(self.initProvider.parentImage)",message="parentImage is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.component) || (has(self.initProvider) && has(self.initProvider.component))",message="spec.forProvider.component is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentImage) || (has(self.initProvider) && has(self.initProvider.parentImage))",message="spec.forProvider.parentImage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec ImageRecipeSpec `json:"spec"` Status ImageRecipeStatus `json:"status,omitempty"` } diff --git a/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go b/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go index 8affd30c8c..4150d80c98 100755 --- a/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go +++ b/apis/imagebuilder/v1beta1/zz_infrastructureconfiguration_types.go @@ -324,7 +324,7 @@ type InfrastructureConfigurationStatus struct { type InfrastructureConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec InfrastructureConfigurationSpec `json:"spec"` Status InfrastructureConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/inspector/v1beta1/zz_assessmenttarget_types.go b/apis/inspector/v1beta1/zz_assessmenttarget_types.go index e72c8be113..619ddb904a 100755 --- a/apis/inspector/v1beta1/zz_assessmenttarget_types.go +++ b/apis/inspector/v1beta1/zz_assessmenttarget_types.go @@ -95,7 +95,7 @@ type AssessmentTargetStatus struct { type AssessmentTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AssessmentTargetSpec `json:"spec"` Status AssessmentTargetStatus `json:"status,omitempty"` } diff --git a/apis/inspector/v1beta1/zz_assessmenttemplate_types.go b/apis/inspector/v1beta1/zz_assessmenttemplate_types.go index 639abdc1a6..395312e027 100755 --- a/apis/inspector/v1beta1/zz_assessmenttemplate_types.go +++ b/apis/inspector/v1beta1/zz_assessmenttemplate_types.go @@ -174,9 +174,9 @@ type AssessmentTemplateStatus struct { type AssessmentTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.duration) || has(self.initProvider.duration)",message="duration is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rulesPackageArns) || has(self.initProvider.rulesPackageArns)",message="rulesPackageArns is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.duration) || (has(self.initProvider) && has(self.initProvider.duration))",message="spec.forProvider.duration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rulesPackageArns) || (has(self.initProvider) && has(self.initProvider.rulesPackageArns))",message="spec.forProvider.rulesPackageArns is a required parameter" Spec AssessmentTemplateSpec `json:"spec"` Status AssessmentTemplateStatus `json:"status,omitempty"` } diff --git a/apis/inspector/v1beta1/zz_generated.deepcopy.go b/apis/inspector/v1beta1/zz_generated.deepcopy.go index d3b1a11fd9..a4a88f75a4 100644 --- a/apis/inspector/v1beta1/zz_generated.deepcopy.go +++ b/apis/inspector/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -269,7 +268,8 @@ func (in *AssessmentTemplateInitParameters) DeepCopyInto(out *AssessmentTemplate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -369,7 +369,8 @@ func (in *AssessmentTemplateObservation) DeepCopyInto(out *AssessmentTemplateObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -384,7 +385,8 @@ func (in *AssessmentTemplateObservation) DeepCopyInto(out *AssessmentTemplateObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -452,7 +454,8 @@ func (in *AssessmentTemplateParameters) DeepCopyInto(out *AssessmentTemplatePara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -639,7 +642,8 @@ func (in *ResourceGroupInitParameters) DeepCopyInto(out *ResourceGroupInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -711,7 +715,8 @@ func (in *ResourceGroupObservation) DeepCopyInto(out *ResourceGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -746,7 +751,8 @@ func (in *ResourceGroupParameters) DeepCopyInto(out *ResourceGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/inspector/v1beta1/zz_generated.managed.go b/apis/inspector/v1beta1/zz_generated.managed.go index 52ce532b56..f45e121f7a 100644 --- a/apis/inspector/v1beta1/zz_generated.managed.go +++ b/apis/inspector/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AssessmentTarget) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AssessmentTarget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AssessmentTarget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AssessmentTarget. func (mg *AssessmentTarget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AssessmentTarget) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AssessmentTarget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AssessmentTarget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AssessmentTarget. func (mg *AssessmentTarget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AssessmentTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AssessmentTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AssessmentTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AssessmentTemplate. func (mg *AssessmentTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AssessmentTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AssessmentTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AssessmentTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AssessmentTemplate. func (mg *AssessmentTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ResourceGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceGroup. func (mg *ResourceGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ResourceGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceGroup. func (mg *ResourceGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/inspector/v1beta1/zz_resourcegroup_types.go b/apis/inspector/v1beta1/zz_resourcegroup_types.go index f714e2633b..dba5d9182f 100755 --- a/apis/inspector/v1beta1/zz_resourcegroup_types.go +++ b/apis/inspector/v1beta1/zz_resourcegroup_types.go @@ -78,7 +78,7 @@ type ResourceGroupStatus struct { type ResourceGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tags) || has(self.initProvider.tags)",message="tags is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tags) || (has(self.initProvider) && has(self.initProvider.tags))",message="spec.forProvider.tags is a required parameter" Spec ResourceGroupSpec `json:"spec"` Status ResourceGroupStatus `json:"status,omitempty"` } diff --git a/apis/inspector2/v1beta1/zz_enabler_types.go b/apis/inspector2/v1beta1/zz_enabler_types.go index 4d51b1a0ff..7835f5d449 100755 --- a/apis/inspector2/v1beta1/zz_enabler_types.go +++ b/apis/inspector2/v1beta1/zz_enabler_types.go @@ -94,8 +94,8 @@ type EnablerStatus struct { type Enabler struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountIds) || has(self.initProvider.accountIds)",message="accountIds is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceTypes) || has(self.initProvider.resourceTypes)",message="resourceTypes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountIds) || (has(self.initProvider) && has(self.initProvider.accountIds))",message="spec.forProvider.accountIds is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceTypes) || (has(self.initProvider) && has(self.initProvider.resourceTypes))",message="spec.forProvider.resourceTypes is a required parameter" Spec EnablerSpec `json:"spec"` Status EnablerStatus `json:"status,omitempty"` } diff --git a/apis/inspector2/v1beta1/zz_generated.deepcopy.go b/apis/inspector2/v1beta1/zz_generated.deepcopy.go index 06f5f03824..adfa1cf857 100644 --- a/apis/inspector2/v1beta1/zz_generated.deepcopy.go +++ b/apis/inspector2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/inspector2/v1beta1/zz_generated.managed.go b/apis/inspector2/v1beta1/zz_generated.managed.go index 3a4c9226d1..8f6288f375 100644 --- a/apis/inspector2/v1beta1/zz_generated.managed.go +++ b/apis/inspector2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Enabler) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Enabler. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Enabler) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Enabler. func (mg *Enabler) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Enabler) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Enabler. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Enabler) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Enabler. func (mg *Enabler) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/iot/v1beta1/zz_certificate_types.go b/apis/iot/v1beta1/zz_certificate_types.go index e8796bf82c..666a60c064 100755 --- a/apis/iot/v1beta1/zz_certificate_types.go +++ b/apis/iot/v1beta1/zz_certificate_types.go @@ -113,7 +113,7 @@ type CertificateStatus struct { type Certificate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.active) || has(self.initProvider.active)",message="active is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.active) || (has(self.initProvider) && has(self.initProvider.active))",message="spec.forProvider.active is a required parameter" Spec CertificateSpec `json:"spec"` Status CertificateStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_generated.deepcopy.go b/apis/iot/v1beta1/zz_generated.deepcopy.go index fe55f6abe1..520357a281 100644 --- a/apis/iot/v1beta1/zz_generated.deepcopy.go +++ b/apis/iot/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -25,7 +24,8 @@ func (in *AttributePayloadInitParameters) DeepCopyInto(out *AttributePayloadInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -55,7 +55,8 @@ func (in *AttributePayloadObservation) DeepCopyInto(out *AttributePayloadObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -85,7 +86,8 @@ func (in *AttributePayloadParameters) DeepCopyInto(out *AttributePayloadParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3122,7 +3124,8 @@ func (in *KafkaInitParameters) DeepCopyInto(out *KafkaInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3172,7 +3175,8 @@ func (in *KafkaObservation) DeepCopyInto(out *KafkaObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3222,7 +3226,8 @@ func (in *KafkaParameters) DeepCopyInto(out *KafkaParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4321,7 +4326,8 @@ func (in *ProvisioningTemplateInitParameters) DeepCopyInto(out *ProvisioningTemp if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4425,7 +4431,8 @@ func (in *ProvisioningTemplateObservation) DeepCopyInto(out *ProvisioningTemplat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4440,7 +4447,8 @@ func (in *ProvisioningTemplateObservation) DeepCopyInto(out *ProvisioningTemplat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4512,7 +4520,8 @@ func (in *ProvisioningTemplateParameters) DeepCopyInto(out *ProvisioningTemplate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5539,7 +5548,8 @@ func (in *ThingGroupInitParameters) DeepCopyInto(out *ThingGroupInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5824,7 +5834,8 @@ func (in *ThingGroupObservation) DeepCopyInto(out *ThingGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5839,7 +5850,8 @@ func (in *ThingGroupObservation) DeepCopyInto(out *ThingGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5901,7 +5913,8 @@ func (in *ThingGroupParameters) DeepCopyInto(out *ThingGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6263,7 +6276,8 @@ func (in *ThingInitParameters) DeepCopyInto(out *ThingInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6335,7 +6349,8 @@ func (in *ThingObservation) DeepCopyInto(out *ThingObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6385,7 +6400,8 @@ func (in *ThingParameters) DeepCopyInto(out *ThingParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6693,7 +6709,8 @@ func (in *ThingTypeInitParameters) DeepCopyInto(out *ThingTypeInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6782,7 +6799,8 @@ func (in *ThingTypeObservation) DeepCopyInto(out *ThingTypeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6797,7 +6815,8 @@ func (in *ThingTypeObservation) DeepCopyInto(out *ThingTypeObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6849,7 +6868,8 @@ func (in *ThingTypeParameters) DeepCopyInto(out *ThingTypeParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7745,7 +7765,8 @@ func (in *TopicRuleInitParameters) DeepCopyInto(out *TopicRuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7977,7 +7998,8 @@ func (in *TopicRuleKafkaInitParameters) DeepCopyInto(out *TopicRuleKafkaInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8027,7 +8049,8 @@ func (in *TopicRuleKafkaObservation) DeepCopyInto(out *TopicRuleKafkaObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8077,7 +8100,8 @@ func (in *TopicRuleKafkaParameters) DeepCopyInto(out *TopicRuleKafkaParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8472,7 +8496,8 @@ func (in *TopicRuleObservation) DeepCopyInto(out *TopicRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8487,7 +8512,8 @@ func (in *TopicRuleObservation) DeepCopyInto(out *TopicRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8682,7 +8708,8 @@ func (in *TopicRuleParameters) DeepCopyInto(out *TopicRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/iot/v1beta1/zz_generated.managed.go b/apis/iot/v1beta1/zz_generated.managed.go index 94190f13cf..b6374dd47c 100644 --- a/apis/iot/v1beta1/zz_generated.managed.go +++ b/apis/iot/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Certificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Certificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Certificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *IndexingConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IndexingConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IndexingConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IndexingConfiguration. func (mg *IndexingConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *IndexingConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IndexingConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IndexingConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IndexingConfiguration. func (mg *IndexingConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *LoggingOptions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LoggingOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LoggingOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LoggingOptions. func (mg *LoggingOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *LoggingOptions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LoggingOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LoggingOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LoggingOptions. func (mg *LoggingOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *PolicyAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PolicyAttachment. func (mg *PolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *PolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PolicyAttachment. func (mg *PolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ProvisioningTemplate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProvisioningTemplate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProvisioningTemplate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProvisioningTemplate. func (mg *ProvisioningTemplate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ProvisioningTemplate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProvisioningTemplate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProvisioningTemplate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProvisioningTemplate. func (mg *ProvisioningTemplate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *RoleAlias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RoleAlias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RoleAlias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RoleAlias. func (mg *RoleAlias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *RoleAlias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RoleAlias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RoleAlias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RoleAlias. func (mg *RoleAlias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Thing) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Thing. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Thing) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Thing. func (mg *Thing) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Thing) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Thing. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Thing) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Thing. func (mg *Thing) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *ThingGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ThingGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ThingGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ThingGroup. func (mg *ThingGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *ThingGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ThingGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ThingGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ThingGroup. func (mg *ThingGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *ThingGroupMembership) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ThingGroupMembership. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ThingGroupMembership) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ThingGroupMembership. func (mg *ThingGroupMembership) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *ThingGroupMembership) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ThingGroupMembership. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ThingGroupMembership) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ThingGroupMembership. func (mg *ThingGroupMembership) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *ThingPrincipalAttachment) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ThingPrincipalAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ThingPrincipalAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ThingPrincipalAttachment. func (mg *ThingPrincipalAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *ThingPrincipalAttachment) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ThingPrincipalAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ThingPrincipalAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ThingPrincipalAttachment. func (mg *ThingPrincipalAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *ThingType) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ThingType. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ThingType) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ThingType. func (mg *ThingType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *ThingType) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ThingType. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ThingType) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ThingType. func (mg *ThingType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *TopicRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TopicRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TopicRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TopicRule. func (mg *TopicRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *TopicRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TopicRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TopicRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TopicRule. func (mg *TopicRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/iot/v1beta1/zz_loggingoptions_types.go b/apis/iot/v1beta1/zz_loggingoptions_types.go index 46c871c128..5488b06db5 100755 --- a/apis/iot/v1beta1/zz_loggingoptions_types.go +++ b/apis/iot/v1beta1/zz_loggingoptions_types.go @@ -102,7 +102,7 @@ type LoggingOptionsStatus struct { type LoggingOptions struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultLogLevel) || has(self.initProvider.defaultLogLevel)",message="defaultLogLevel is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultLogLevel) || (has(self.initProvider) && has(self.initProvider.defaultLogLevel))",message="spec.forProvider.defaultLogLevel is a required parameter" Spec LoggingOptionsSpec `json:"spec"` Status LoggingOptionsStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_policy_types.go b/apis/iot/v1beta1/zz_policy_types.go index 32a9c19c4e..484a6e73fa 100755 --- a/apis/iot/v1beta1/zz_policy_types.go +++ b/apis/iot/v1beta1/zz_policy_types.go @@ -81,7 +81,7 @@ type PolicyStatus struct { type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_provisioningtemplate_types.go b/apis/iot/v1beta1/zz_provisioningtemplate_types.go index 11bc594e6e..095aef75fe 100755 --- a/apis/iot/v1beta1/zz_provisioningtemplate_types.go +++ b/apis/iot/v1beta1/zz_provisioningtemplate_types.go @@ -170,7 +170,7 @@ type ProvisioningTemplateStatus struct { type ProvisioningTemplate struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.templateBody) || has(self.initProvider.templateBody)",message="templateBody is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.templateBody) || (has(self.initProvider) && has(self.initProvider.templateBody))",message="spec.forProvider.templateBody is a required parameter" Spec ProvisioningTemplateSpec `json:"spec"` Status ProvisioningTemplateStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_rolealias_types.go b/apis/iot/v1beta1/zz_rolealias_types.go index 99a022a4e5..5e88d96597 100755 --- a/apis/iot/v1beta1/zz_rolealias_types.go +++ b/apis/iot/v1beta1/zz_rolealias_types.go @@ -105,7 +105,7 @@ type RoleAliasStatus struct { type RoleAlias struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.alias) || has(self.initProvider.alias)",message="alias is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.alias) || (has(self.initProvider) && has(self.initProvider.alias))",message="spec.forProvider.alias is a required parameter" Spec RoleAliasSpec `json:"spec"` Status RoleAliasStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_thinggroupmembership_types.go b/apis/iot/v1beta1/zz_thinggroupmembership_types.go index 448f628c5e..39f984f420 100755 --- a/apis/iot/v1beta1/zz_thinggroupmembership_types.go +++ b/apis/iot/v1beta1/zz_thinggroupmembership_types.go @@ -96,8 +96,8 @@ type ThingGroupMembershipStatus struct { type ThingGroupMembership struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thingGroupName) || has(self.initProvider.thingGroupName)",message="thingGroupName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thingName) || has(self.initProvider.thingName)",message="thingName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thingGroupName) || (has(self.initProvider) && has(self.initProvider.thingGroupName))",message="spec.forProvider.thingGroupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.thingName) || (has(self.initProvider) && has(self.initProvider.thingName))",message="spec.forProvider.thingName is a required parameter" Spec ThingGroupMembershipSpec `json:"spec"` Status ThingGroupMembershipStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_thingtype_types.go b/apis/iot/v1beta1/zz_thingtype_types.go index 8e686c2261..082645c3b2 100755 --- a/apis/iot/v1beta1/zz_thingtype_types.go +++ b/apis/iot/v1beta1/zz_thingtype_types.go @@ -140,7 +140,7 @@ type ThingTypeStatus struct { type ThingType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ThingTypeSpec `json:"spec"` Status ThingTypeStatus `json:"status,omitempty"` } diff --git a/apis/iot/v1beta1/zz_topicrule_types.go b/apis/iot/v1beta1/zz_topicrule_types.go index ae51097c75..83c7f61998 100755 --- a/apis/iot/v1beta1/zz_topicrule_types.go +++ b/apis/iot/v1beta1/zz_topicrule_types.go @@ -2446,9 +2446,9 @@ type TopicRuleStatus struct { type TopicRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || has(self.initProvider.enabled)",message="enabled is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sql) || has(self.initProvider.sql)",message="sql is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sqlVersion) || has(self.initProvider.sqlVersion)",message="sqlVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || (has(self.initProvider) && has(self.initProvider.enabled))",message="spec.forProvider.enabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sql) || (has(self.initProvider) && has(self.initProvider.sql))",message="spec.forProvider.sql is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sqlVersion) || (has(self.initProvider) && has(self.initProvider.sqlVersion))",message="spec.forProvider.sqlVersion is a required parameter" Spec TopicRuleSpec `json:"spec"` Status TopicRuleStatus `json:"status,omitempty"` } diff --git a/apis/ivs/v1beta1/zz_generated.deepcopy.go b/apis/ivs/v1beta1/zz_generated.deepcopy.go index ac03f38869..19cb12d1eb 100644 --- a/apis/ivs/v1beta1/zz_generated.deepcopy.go +++ b/apis/ivs/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -71,7 +70,8 @@ func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -178,7 +178,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -193,7 +194,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -253,7 +255,8 @@ func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -433,7 +436,8 @@ func (in *RecordingConfigurationInitParameters) DeepCopyInto(out *RecordingConfi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -534,7 +538,8 @@ func (in *RecordingConfigurationObservation) DeepCopyInto(out *RecordingConfigur if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -549,7 +554,8 @@ func (in *RecordingConfigurationObservation) DeepCopyInto(out *RecordingConfigur if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -608,7 +614,8 @@ func (in *RecordingConfigurationParameters) DeepCopyInto(out *RecordingConfigura if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ivs/v1beta1/zz_generated.managed.go b/apis/ivs/v1beta1/zz_generated.managed.go index 5491fa41b2..3f89836cdd 100644 --- a/apis/ivs/v1beta1/zz_generated.managed.go +++ b/apis/ivs/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Channel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Channel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Channel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Channel. func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Channel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Channel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Channel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Channel. func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RecordingConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RecordingConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RecordingConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RecordingConfiguration. func (mg *RecordingConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RecordingConfiguration) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RecordingConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RecordingConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RecordingConfiguration. func (mg *RecordingConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ivs/v1beta1/zz_recordingconfiguration_types.go b/apis/ivs/v1beta1/zz_recordingconfiguration_types.go index b8568ced64..e7b12b241d 100755 --- a/apis/ivs/v1beta1/zz_recordingconfiguration_types.go +++ b/apis/ivs/v1beta1/zz_recordingconfiguration_types.go @@ -191,7 +191,7 @@ type RecordingConfigurationStatus struct { type RecordingConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationConfiguration) || has(self.initProvider.destinationConfiguration)",message="destinationConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinationConfiguration) || (has(self.initProvider) && has(self.initProvider.destinationConfiguration))",message="spec.forProvider.destinationConfiguration is a required parameter" Spec RecordingConfigurationSpec `json:"spec"` Status RecordingConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/kafka/v1beta1/zz_cluster_types.go b/apis/kafka/v1beta1/zz_cluster_types.go index a104622a85..2cc229ae82 100755 --- a/apis/kafka/v1beta1/zz_cluster_types.go +++ b/apis/kafka/v1beta1/zz_cluster_types.go @@ -864,10 +864,10 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.brokerNodeGroupInfo) || has(self.initProvider.brokerNodeGroupInfo)",message="brokerNodeGroupInfo is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clusterName) || has(self.initProvider.clusterName)",message="clusterName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kafkaVersion) || has(self.initProvider.kafkaVersion)",message="kafkaVersion is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.numberOfBrokerNodes) || has(self.initProvider.numberOfBrokerNodes)",message="numberOfBrokerNodes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.brokerNodeGroupInfo) || (has(self.initProvider) && has(self.initProvider.brokerNodeGroupInfo))",message="spec.forProvider.brokerNodeGroupInfo is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.clusterName) || (has(self.initProvider) && has(self.initProvider.clusterName))",message="spec.forProvider.clusterName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kafkaVersion) || (has(self.initProvider) && has(self.initProvider.kafkaVersion))",message="spec.forProvider.kafkaVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.numberOfBrokerNodes) || (has(self.initProvider) && has(self.initProvider.numberOfBrokerNodes))",message="spec.forProvider.numberOfBrokerNodes is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/kafka/v1beta1/zz_configuration_types.go b/apis/kafka/v1beta1/zz_configuration_types.go index 62e6a15b1a..ffc72bfa24 100755 --- a/apis/kafka/v1beta1/zz_configuration_types.go +++ b/apis/kafka/v1beta1/zz_configuration_types.go @@ -111,8 +111,8 @@ type ConfigurationStatus struct { type Configuration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serverProperties) || has(self.initProvider.serverProperties)",message="serverProperties is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serverProperties) || (has(self.initProvider) && has(self.initProvider.serverProperties))",message="spec.forProvider.serverProperties is a required parameter" Spec ConfigurationSpec `json:"spec"` Status ConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/kafka/v1beta1/zz_generated.deepcopy.go b/apis/kafka/v1beta1/zz_generated.deepcopy.go index b46f99742a..318c19db93 100644 --- a/apis/kafka/v1beta1/zz_generated.deepcopy.go +++ b/apis/kafka/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -609,7 +608,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -788,7 +788,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -803,7 +804,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -915,7 +917,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kafka/v1beta1/zz_generated.managed.go b/apis/kafka/v1beta1/zz_generated.managed.go index 293661c575..b7667918b2 100644 --- a/apis/kafka/v1beta1/zz_generated.managed.go +++ b/apis/kafka/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Configuration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Configuration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Configuration. func (mg *Configuration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Configuration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Configuration. func (mg *Configuration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ScramSecretAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ScramSecretAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ScramSecretAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ScramSecretAssociation. func (mg *ScramSecretAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ScramSecretAssociation) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ScramSecretAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ScramSecretAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ScramSecretAssociation. func (mg *ScramSecretAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kendra/v1beta1/zz_datasource_types.go b/apis/kendra/v1beta1/zz_datasource_types.go index 42dfe954de..077e7e81bd 100755 --- a/apis/kendra/v1beta1/zz_datasource_types.go +++ b/apis/kendra/v1beta1/zz_datasource_types.go @@ -1140,8 +1140,8 @@ type DataSourceStatus struct { type DataSource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec DataSourceSpec `json:"spec"` Status DataSourceStatus `json:"status,omitempty"` } diff --git a/apis/kendra/v1beta1/zz_experience_types.go b/apis/kendra/v1beta1/zz_experience_types.go index 7af1383c5d..c80313f430 100755 --- a/apis/kendra/v1beta1/zz_experience_types.go +++ b/apis/kendra/v1beta1/zz_experience_types.go @@ -244,7 +244,7 @@ type ExperienceStatus struct { type Experience struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ExperienceSpec `json:"spec"` Status ExperienceStatus `json:"status,omitempty"` } diff --git a/apis/kendra/v1beta1/zz_generated.deepcopy.go b/apis/kendra/v1beta1/zz_generated.deepcopy.go index 8d1ff8ec7b..0ae8a2a957 100644 --- a/apis/kendra/v1beta1/zz_generated.deepcopy.go +++ b/apis/kendra/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -937,7 +936,8 @@ func (in *DataSourceInitParameters) DeepCopyInto(out *DataSourceInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1078,7 +1078,8 @@ func (in *DataSourceObservation) DeepCopyInto(out *DataSourceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1093,7 +1094,8 @@ func (in *DataSourceObservation) DeepCopyInto(out *DataSourceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1202,7 +1204,8 @@ func (in *DataSourceParameters) DeepCopyInto(out *DataSourceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1966,7 +1969,8 @@ func (in *IndexInitParameters) DeepCopyInto(out *IndexInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2120,7 +2124,8 @@ func (in *IndexObservation) DeepCopyInto(out *IndexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2135,7 +2140,8 @@ func (in *IndexObservation) DeepCopyInto(out *IndexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2245,7 +2251,8 @@ func (in *IndexParameters) DeepCopyInto(out *IndexParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3484,7 +3491,8 @@ func (in *QuerySuggestionsBlockListInitParameters) DeepCopyInto(out *QuerySugges if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3593,7 +3601,8 @@ func (in *QuerySuggestionsBlockListObservation) DeepCopyInto(out *QuerySuggestio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3608,7 +3617,8 @@ func (in *QuerySuggestionsBlockListObservation) DeepCopyInto(out *QuerySuggestio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3690,7 +3700,8 @@ func (in *QuerySuggestionsBlockListParameters) DeepCopyInto(out *QuerySuggestion if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3775,7 +3786,8 @@ func (in *RelevanceInitParameters) DeepCopyInto(out *RelevanceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -3825,7 +3837,8 @@ func (in *RelevanceObservation) DeepCopyInto(out *RelevanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -3875,7 +3888,8 @@ func (in *RelevanceParameters) DeepCopyInto(out *RelevanceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -4843,7 +4857,8 @@ func (in *ThesaurusInitParameters) DeepCopyInto(out *ThesaurusInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4947,7 +4962,8 @@ func (in *ThesaurusObservation) DeepCopyInto(out *ThesaurusObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4962,7 +4978,8 @@ func (in *ThesaurusObservation) DeepCopyInto(out *ThesaurusObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5049,7 +5066,8 @@ func (in *ThesaurusParameters) DeepCopyInto(out *ThesaurusParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kendra/v1beta1/zz_generated.managed.go b/apis/kendra/v1beta1/zz_generated.managed.go index cc260e1738..91b19e272a 100644 --- a/apis/kendra/v1beta1/zz_generated.managed.go +++ b/apis/kendra/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DataSource) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataSource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataSource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataSource. func (mg *DataSource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DataSource) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataSource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataSource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataSource. func (mg *DataSource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Experience) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Experience. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Experience) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Experience. func (mg *Experience) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Experience) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Experience. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Experience) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Experience. func (mg *Experience) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Index) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Index. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Index) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Index. func (mg *Index) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Index) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Index. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Index) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Index. func (mg *Index) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *QuerySuggestionsBlockList) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this QuerySuggestionsBlockList. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *QuerySuggestionsBlockList) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this QuerySuggestionsBlockList. func (mg *QuerySuggestionsBlockList) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *QuerySuggestionsBlockList) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this QuerySuggestionsBlockList. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *QuerySuggestionsBlockList) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this QuerySuggestionsBlockList. func (mg *QuerySuggestionsBlockList) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Thesaurus) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Thesaurus. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Thesaurus) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Thesaurus. func (mg *Thesaurus) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Thesaurus) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Thesaurus. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Thesaurus) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Thesaurus. func (mg *Thesaurus) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kendra/v1beta1/zz_index_types.go b/apis/kendra/v1beta1/zz_index_types.go index 4507120ee1..471c3e2e45 100755 --- a/apis/kendra/v1beta1/zz_index_types.go +++ b/apis/kendra/v1beta1/zz_index_types.go @@ -607,7 +607,7 @@ type IndexStatus struct { type Index struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec IndexSpec `json:"spec"` Status IndexStatus `json:"status,omitempty"` } diff --git a/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go b/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go index 74e095a153..c0d6a89b2b 100755 --- a/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go +++ b/apis/kendra/v1beta1/zz_querysuggestionsblocklist_types.go @@ -186,8 +186,8 @@ type QuerySuggestionsBlockListStatus struct { type QuerySuggestionsBlockList struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceS3Path) || has(self.initProvider.sourceS3Path)",message="sourceS3Path is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceS3Path) || (has(self.initProvider) && has(self.initProvider.sourceS3Path))",message="spec.forProvider.sourceS3Path is a required parameter" Spec QuerySuggestionsBlockListSpec `json:"spec"` Status QuerySuggestionsBlockListStatus `json:"status,omitempty"` } diff --git a/apis/kendra/v1beta1/zz_thesaurus_types.go b/apis/kendra/v1beta1/zz_thesaurus_types.go index ecd8e6fa86..53e5f2da6d 100755 --- a/apis/kendra/v1beta1/zz_thesaurus_types.go +++ b/apis/kendra/v1beta1/zz_thesaurus_types.go @@ -195,8 +195,8 @@ type ThesaurusStatus struct { type Thesaurus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceS3Path) || has(self.initProvider.sourceS3Path)",message="sourceS3Path is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sourceS3Path) || (has(self.initProvider) && has(self.initProvider.sourceS3Path))",message="spec.forProvider.sourceS3Path is a required parameter" Spec ThesaurusSpec `json:"spec"` Status ThesaurusStatus `json:"status,omitempty"` } diff --git a/apis/keyspaces/v1beta1/zz_generated.deepcopy.go b/apis/keyspaces/v1beta1/zz_generated.deepcopy.go index 5a1e58d4c5..6f7c9c7f86 100644 --- a/apis/keyspaces/v1beta1/zz_generated.deepcopy.go +++ b/apis/keyspaces/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -427,7 +426,8 @@ func (in *KeyspaceInitParameters) DeepCopyInto(out *KeyspaceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -499,7 +499,8 @@ func (in *KeyspaceObservation) DeepCopyInto(out *KeyspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -514,7 +515,8 @@ func (in *KeyspaceObservation) DeepCopyInto(out *KeyspaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -549,7 +551,8 @@ func (in *KeyspaceParameters) DeepCopyInto(out *KeyspaceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1062,7 +1065,8 @@ func (in *TableInitParameters) DeepCopyInto(out *TableInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1191,7 +1195,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1206,7 +1211,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1308,7 +1314,8 @@ func (in *TableParameters) DeepCopyInto(out *TableParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/keyspaces/v1beta1/zz_generated.managed.go b/apis/keyspaces/v1beta1/zz_generated.managed.go index 9ff7316a02..07c6186957 100644 --- a/apis/keyspaces/v1beta1/zz_generated.managed.go +++ b/apis/keyspaces/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Keyspace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Keyspace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Keyspace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Keyspace. func (mg *Keyspace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Keyspace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Keyspace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Keyspace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Keyspace. func (mg *Keyspace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Table) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Table. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Table) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Table. func (mg *Table) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Table) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Table. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Table) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Table. func (mg *Table) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/keyspaces/v1beta1/zz_table_types.go b/apis/keyspaces/v1beta1/zz_table_types.go index e1844c25b7..df10a43683 100755 --- a/apis/keyspaces/v1beta1/zz_table_types.go +++ b/apis/keyspaces/v1beta1/zz_table_types.go @@ -447,8 +447,8 @@ type TableStatus struct { type Table struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaDefinition) || has(self.initProvider.schemaDefinition)",message="schemaDefinition is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tableName) || has(self.initProvider.tableName)",message="tableName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schemaDefinition) || (has(self.initProvider) && has(self.initProvider.schemaDefinition))",message="spec.forProvider.schemaDefinition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tableName) || (has(self.initProvider) && has(self.initProvider.tableName))",message="spec.forProvider.tableName is a required parameter" Spec TableSpec `json:"spec"` Status TableStatus `json:"status,omitempty"` } diff --git a/apis/kinesis/v1beta1/zz_generated.deepcopy.go b/apis/kinesis/v1beta1/zz_generated.deepcopy.go index ef341d394d..4db4664b23 100644 --- a/apis/kinesis/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesis/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -284,7 +283,8 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -459,7 +459,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -474,7 +475,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -562,7 +564,8 @@ func (in *StreamParameters) DeepCopyInto(out *StreamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kinesis/v1beta1/zz_generated.managed.go b/apis/kinesis/v1beta1/zz_generated.managed.go index 0feb04d9a1..387b613537 100644 --- a/apis/kinesis/v1beta1/zz_generated.managed.go +++ b/apis/kinesis/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Stream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stream. func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Stream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stream. func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *StreamConsumer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StreamConsumer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StreamConsumer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StreamConsumer. func (mg *StreamConsumer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *StreamConsumer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StreamConsumer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StreamConsumer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StreamConsumer. func (mg *StreamConsumer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kinesis/v1beta1/zz_streamconsumer_types.go b/apis/kinesis/v1beta1/zz_streamconsumer_types.go index aaf87f5483..013e8b43a4 100755 --- a/apis/kinesis/v1beta1/zz_streamconsumer_types.go +++ b/apis/kinesis/v1beta1/zz_streamconsumer_types.go @@ -99,7 +99,7 @@ type StreamConsumerStatus struct { type StreamConsumer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StreamConsumerSpec `json:"spec"` Status StreamConsumerStatus `json:"status,omitempty"` } diff --git a/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go b/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go index 76b8c1bf93..62a9e683af 100644 --- a/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisanalytics/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -93,7 +92,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -223,7 +223,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -238,7 +239,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -321,7 +323,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kinesisanalytics/v1beta1/zz_generated.managed.go b/apis/kinesisanalytics/v1beta1/zz_generated.managed.go index 1655aafe91..17437a229f 100644 --- a/apis/kinesisanalytics/v1beta1/zz_generated.managed.go +++ b/apis/kinesisanalytics/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go b/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go index d7ef27a252..2b6ad2d2ce 100755 --- a/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_application_types.go @@ -1589,7 +1589,7 @@ type ApplicationStatus struct { type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.runtimeEnvironment) || has(self.initProvider.runtimeEnvironment)",message="runtimeEnvironment is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.runtimeEnvironment) || (has(self.initProvider) && has(self.initProvider.runtimeEnvironment))",message="spec.forProvider.runtimeEnvironment is a required parameter" Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` } diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go b/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go index 7307c02247..1459ee74db 100644 --- a/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -357,7 +356,8 @@ func (in *ApplicationInitParameters) DeepCopyInto(out *ApplicationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -483,7 +483,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -498,7 +499,8 @@ func (in *ApplicationObservation) DeepCopyInto(out *ApplicationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -587,7 +589,8 @@ func (in *ApplicationParameters) DeepCopyInto(out *ApplicationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3081,7 +3084,8 @@ func (in *PropertyGroupInitParameters) DeepCopyInto(out *PropertyGroupInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3116,7 +3120,8 @@ func (in *PropertyGroupObservation) DeepCopyInto(out *PropertyGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3151,7 +3156,8 @@ func (in *PropertyGroupParameters) DeepCopyInto(out *PropertyGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kinesisanalyticsv2/v1beta1/zz_generated.managed.go b/apis/kinesisanalyticsv2/v1beta1/zz_generated.managed.go index e74cb89a2b..e9ffc40dec 100644 --- a/apis/kinesisanalyticsv2/v1beta1/zz_generated.managed.go +++ b/apis/kinesisanalyticsv2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ApplicationSnapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ApplicationSnapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ApplicationSnapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ApplicationSnapshot. func (mg *ApplicationSnapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ApplicationSnapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ApplicationSnapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ApplicationSnapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ApplicationSnapshot. func (mg *ApplicationSnapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go b/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go index ab48dd9404..c34c37f565 100644 --- a/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go +++ b/apis/kinesisvideo/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -72,7 +71,8 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -174,7 +174,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -189,7 +190,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -264,7 +266,8 @@ func (in *StreamParameters) DeepCopyInto(out *StreamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kinesisvideo/v1beta1/zz_generated.managed.go b/apis/kinesisvideo/v1beta1/zz_generated.managed.go index a742538f87..3e371eaeb7 100644 --- a/apis/kinesisvideo/v1beta1/zz_generated.managed.go +++ b/apis/kinesisvideo/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Stream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stream. func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Stream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stream. func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kinesisvideo/v1beta1/zz_stream_types.go b/apis/kinesisvideo/v1beta1/zz_stream_types.go index cecbe97e25..dff7159a29 100755 --- a/apis/kinesisvideo/v1beta1/zz_stream_types.go +++ b/apis/kinesisvideo/v1beta1/zz_stream_types.go @@ -147,7 +147,7 @@ type StreamStatus struct { type Stream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StreamSpec `json:"spec"` Status StreamStatus `json:"status,omitempty"` } diff --git a/apis/kms/v1beta1/zz_ciphertext_types.go b/apis/kms/v1beta1/zz_ciphertext_types.go index fe19c87ca8..d00f04f4c0 100755 --- a/apis/kms/v1beta1/zz_ciphertext_types.go +++ b/apis/kms/v1beta1/zz_ciphertext_types.go @@ -98,7 +98,7 @@ type CiphertextStatus struct { type Ciphertext struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.plaintextSecretRef)",message="plaintextSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.plaintextSecretRef)",message="spec.forProvider.plaintextSecretRef is a required parameter" Spec CiphertextSpec `json:"spec"` Status CiphertextStatus `json:"status,omitempty"` } diff --git a/apis/kms/v1beta1/zz_generated.deepcopy.go b/apis/kms/v1beta1/zz_generated.deepcopy.go index 711374c6e6..af2fe5fa7d 100644 --- a/apis/kms/v1beta1/zz_generated.deepcopy.go +++ b/apis/kms/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -231,7 +230,8 @@ func (in *CiphertextInitParameters) DeepCopyInto(out *CiphertextInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -298,7 +298,8 @@ func (in *CiphertextObservation) DeepCopyInto(out *CiphertextObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -338,7 +339,8 @@ func (in *CiphertextParameters) DeepCopyInto(out *CiphertextParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -424,7 +426,8 @@ func (in *ConstraintsInitParameters) DeepCopyInto(out *ConstraintsInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -439,7 +442,8 @@ func (in *ConstraintsInitParameters) DeepCopyInto(out *ConstraintsInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -469,7 +473,8 @@ func (in *ConstraintsObservation) DeepCopyInto(out *ConstraintsObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -484,7 +489,8 @@ func (in *ConstraintsObservation) DeepCopyInto(out *ConstraintsObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -514,7 +520,8 @@ func (in *ConstraintsParameters) DeepCopyInto(out *ConstraintsParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -529,7 +536,8 @@ func (in *ConstraintsParameters) DeepCopyInto(out *ConstraintsParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -616,7 +624,8 @@ func (in *ExternalKeyInitParameters) DeepCopyInto(out *ExternalKeyInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -738,7 +747,8 @@ func (in *ExternalKeyObservation) DeepCopyInto(out *ExternalKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -753,7 +763,8 @@ func (in *ExternalKeyObservation) DeepCopyInto(out *ExternalKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -828,7 +839,8 @@ func (in *ExternalKeyParameters) DeepCopyInto(out *ExternalKeyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1306,7 +1318,8 @@ func (in *KeyInitParameters) DeepCopyInto(out *KeyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1433,7 +1446,8 @@ func (in *KeyObservation) DeepCopyInto(out *KeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1448,7 +1462,8 @@ func (in *KeyObservation) DeepCopyInto(out *KeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1533,7 +1548,8 @@ func (in *KeyParameters) DeepCopyInto(out *KeyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1650,7 +1666,8 @@ func (in *ReplicaExternalKeyInitParameters) DeepCopyInto(out *ReplicaExternalKey if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1777,7 +1794,8 @@ func (in *ReplicaExternalKeyObservation) DeepCopyInto(out *ReplicaExternalKeyObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1792,7 +1810,8 @@ func (in *ReplicaExternalKeyObservation) DeepCopyInto(out *ReplicaExternalKeyObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1877,7 +1896,8 @@ func (in *ReplicaExternalKeyParameters) DeepCopyInto(out *ReplicaExternalKeyPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1999,7 +2019,8 @@ func (in *ReplicaKeyInitParameters) DeepCopyInto(out *ReplicaKeyInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2121,7 +2142,8 @@ func (in *ReplicaKeyObservation) DeepCopyInto(out *ReplicaKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2136,7 +2158,8 @@ func (in *ReplicaKeyObservation) DeepCopyInto(out *ReplicaKeyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2211,7 +2234,8 @@ func (in *ReplicaKeyParameters) DeepCopyInto(out *ReplicaKeyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/kms/v1beta1/zz_generated.managed.go b/apis/kms/v1beta1/zz_generated.managed.go index 70a4e27515..b1340d4385 100644 --- a/apis/kms/v1beta1/zz_generated.managed.go +++ b/apis/kms/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Alias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Alias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Alias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Alias. func (mg *Alias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Alias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Alias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Alias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Alias. func (mg *Alias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Ciphertext) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Ciphertext. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Ciphertext) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Ciphertext. func (mg *Ciphertext) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Ciphertext) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Ciphertext. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Ciphertext) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Ciphertext. func (mg *Ciphertext) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ExternalKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ExternalKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ExternalKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ExternalKey. func (mg *ExternalKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ExternalKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ExternalKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ExternalKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ExternalKey. func (mg *ExternalKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Grant) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Grant. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Grant) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Grant. func (mg *Grant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Grant) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Grant. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Grant) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Grant. func (mg *Grant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Key) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Key. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Key) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Key. func (mg *Key) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Key) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Key. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Key) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Key. func (mg *Key) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ReplicaExternalKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicaExternalKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicaExternalKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicaExternalKey. func (mg *ReplicaExternalKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ReplicaExternalKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicaExternalKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicaExternalKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicaExternalKey. func (mg *ReplicaExternalKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ReplicaKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReplicaKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReplicaKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReplicaKey. func (mg *ReplicaKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ReplicaKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReplicaKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReplicaKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReplicaKey. func (mg *ReplicaKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/kms/v1beta1/zz_grant_types.go b/apis/kms/v1beta1/zz_grant_types.go index 3e770a9b5e..7501b4a12a 100755 --- a/apis/kms/v1beta1/zz_grant_types.go +++ b/apis/kms/v1beta1/zz_grant_types.go @@ -197,7 +197,7 @@ type GrantStatus struct { type Grant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operations) || has(self.initProvider.operations)",message="operations is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.operations) || (has(self.initProvider) && has(self.initProvider.operations))",message="spec.forProvider.operations is a required parameter" Spec GrantSpec `json:"spec"` Status GrantStatus `json:"status,omitempty"` } diff --git a/apis/lakeformation/v1beta1/zz_generated.deepcopy.go b/apis/lakeformation/v1beta1/zz_generated.deepcopy.go index 8ea1bd4ee4..9539c7d27d 100644 --- a/apis/lakeformation/v1beta1/zz_generated.deepcopy.go +++ b/apis/lakeformation/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/lakeformation/v1beta1/zz_generated.managed.go b/apis/lakeformation/v1beta1/zz_generated.managed.go index 51d59a24b4..edbe44eb99 100644 --- a/apis/lakeformation/v1beta1/zz_generated.managed.go +++ b/apis/lakeformation/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DataLakeSettings) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DataLakeSettings. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DataLakeSettings) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DataLakeSettings. func (mg *DataLakeSettings) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DataLakeSettings) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DataLakeSettings. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DataLakeSettings) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DataLakeSettings. func (mg *DataLakeSettings) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Permissions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Permissions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Permissions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Permissions. func (mg *Permissions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Permissions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Permissions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Permissions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Permissions. func (mg *Permissions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Resource) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Resource. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Resource) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Resource. func (mg *Resource) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Resource) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Resource. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Resource) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Resource. func (mg *Resource) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/lakeformation/v1beta1/zz_permissions_types.go b/apis/lakeformation/v1beta1/zz_permissions_types.go index 1fee93ad92..5a3c49a17d 100755 --- a/apis/lakeformation/v1beta1/zz_permissions_types.go +++ b/apis/lakeformation/v1beta1/zz_permissions_types.go @@ -477,8 +477,8 @@ type PermissionsStatus struct { type Permissions struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissions) || has(self.initProvider.permissions)",message="permissions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissions) || (has(self.initProvider) && has(self.initProvider.permissions))",message="spec.forProvider.permissions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" Spec PermissionsSpec `json:"spec"` Status PermissionsStatus `json:"status,omitempty"` } diff --git a/apis/lakeformation/v1beta1/zz_resource_types.go b/apis/lakeformation/v1beta1/zz_resource_types.go index 4edcc14657..b7c7f4d25b 100755 --- a/apis/lakeformation/v1beta1/zz_resource_types.go +++ b/apis/lakeformation/v1beta1/zz_resource_types.go @@ -95,7 +95,7 @@ type ResourceStatus struct { type Resource struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.arn) || has(self.initProvider.arn)",message="arn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.arn) || (has(self.initProvider) && has(self.initProvider.arn))",message="spec.forProvider.arn is a required parameter" Spec ResourceSpec `json:"spec"` Status ResourceStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_alias_types.go b/apis/lambda/v1beta1/zz_alias_types.go index a35d7e7f75..a3a527a8dd 100755 --- a/apis/lambda/v1beta1/zz_alias_types.go +++ b/apis/lambda/v1beta1/zz_alias_types.go @@ -136,7 +136,7 @@ type AliasStatus struct { type Alias struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionVersion) || has(self.initProvider.functionVersion)",message="functionVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionVersion) || (has(self.initProvider) && has(self.initProvider.functionVersion))",message="spec.forProvider.functionVersion is a required parameter" Spec AliasSpec `json:"spec"` Status AliasStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_codesigningconfig_types.go b/apis/lambda/v1beta1/zz_codesigningconfig_types.go index 50e6315225..422a933982 100755 --- a/apis/lambda/v1beta1/zz_codesigningconfig_types.go +++ b/apis/lambda/v1beta1/zz_codesigningconfig_types.go @@ -149,7 +149,7 @@ type CodeSigningConfigStatus struct { type CodeSigningConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.allowedPublishers) || has(self.initProvider.allowedPublishers)",message="allowedPublishers is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.allowedPublishers) || (has(self.initProvider) && has(self.initProvider.allowedPublishers))",message="spec.forProvider.allowedPublishers is a required parameter" Spec CodeSigningConfigSpec `json:"spec"` Status CodeSigningConfigStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go b/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go index 5c023d5798..1416d2168f 100755 --- a/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go +++ b/apis/lambda/v1beta1/zz_functioneventinvokeconfig_types.go @@ -197,7 +197,7 @@ type FunctionEventInvokeConfigStatus struct { type FunctionEventInvokeConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionName) || has(self.initProvider.functionName)",message="functionName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionName) || (has(self.initProvider) && has(self.initProvider.functionName))",message="spec.forProvider.functionName is a required parameter" Spec FunctionEventInvokeConfigSpec `json:"spec"` Status FunctionEventInvokeConfigStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_functionurl_types.go b/apis/lambda/v1beta1/zz_functionurl_types.go index fc699068d7..35df33a2b9 100755 --- a/apis/lambda/v1beta1/zz_functionurl_types.go +++ b/apis/lambda/v1beta1/zz_functionurl_types.go @@ -199,7 +199,7 @@ type FunctionURLStatus struct { type FunctionURL struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizationType) || has(self.initProvider.authorizationType)",message="authorizationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authorizationType) || (has(self.initProvider) && has(self.initProvider.authorizationType))",message="spec.forProvider.authorizationType is a required parameter" Spec FunctionURLSpec `json:"spec"` Status FunctionURLStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_generated.deepcopy.go b/apis/lambda/v1beta1/zz_generated.deepcopy.go index 259a0e897a..3ab11e6369 100644 --- a/apis/lambda/v1beta1/zz_generated.deepcopy.go +++ b/apis/lambda/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1101,7 +1100,8 @@ func (in *EnvironmentInitParameters) DeepCopyInto(out *EnvironmentInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1131,7 +1131,8 @@ func (in *EnvironmentObservation) DeepCopyInto(out *EnvironmentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1161,7 +1162,8 @@ func (in *EnvironmentParameters) DeepCopyInto(out *EnvironmentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2562,7 +2564,8 @@ func (in *FunctionInitParameters) DeepCopyInto(out *FunctionInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2846,7 +2849,8 @@ func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2861,7 +2865,8 @@ func (in *FunctionObservation) DeepCopyInto(out *FunctionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3122,7 +3127,8 @@ func (in *FunctionParameters) DeepCopyInto(out *FunctionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3619,7 +3625,8 @@ func (in *InvocationInitParameters) DeepCopyInto(out *InvocationInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3706,7 +3713,8 @@ func (in *InvocationObservation) DeepCopyInto(out *InvocationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3766,7 +3774,8 @@ func (in *InvocationParameters) DeepCopyInto(out *InvocationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5168,7 +5177,8 @@ func (in *RoutingConfigInitParameters) DeepCopyInto(out *RoutingConfigInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -5198,7 +5208,8 @@ func (in *RoutingConfigObservation) DeepCopyInto(out *RoutingConfigObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -5228,7 +5239,8 @@ func (in *RoutingConfigParameters) DeepCopyInto(out *RoutingConfigParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(float64) **out = **in } @@ -5318,7 +5330,8 @@ func (in *SelfManagedEventSourceInitParameters) DeepCopyInto(out *SelfManagedEve if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5348,7 +5361,8 @@ func (in *SelfManagedEventSourceObservation) DeepCopyInto(out *SelfManagedEventS if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5378,7 +5392,8 @@ func (in *SelfManagedEventSourceParameters) DeepCopyInto(out *SelfManagedEventSo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/lambda/v1beta1/zz_generated.managed.go b/apis/lambda/v1beta1/zz_generated.managed.go index 8d364cb10b..a14938b27f 100644 --- a/apis/lambda/v1beta1/zz_generated.managed.go +++ b/apis/lambda/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Alias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Alias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Alias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Alias. func (mg *Alias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Alias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Alias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Alias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Alias. func (mg *Alias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CodeSigningConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CodeSigningConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CodeSigningConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CodeSigningConfig. func (mg *CodeSigningConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CodeSigningConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CodeSigningConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CodeSigningConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CodeSigningConfig. func (mg *CodeSigningConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *EventSourceMapping) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSourceMapping. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSourceMapping) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSourceMapping. func (mg *EventSourceMapping) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *EventSourceMapping) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSourceMapping. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSourceMapping) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSourceMapping. func (mg *EventSourceMapping) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Function) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Function. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Function) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Function. func (mg *Function) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Function) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Function. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Function) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Function. func (mg *Function) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *FunctionEventInvokeConfig) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FunctionEventInvokeConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FunctionEventInvokeConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FunctionEventInvokeConfig. func (mg *FunctionEventInvokeConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *FunctionEventInvokeConfig) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FunctionEventInvokeConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FunctionEventInvokeConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FunctionEventInvokeConfig. func (mg *FunctionEventInvokeConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *FunctionURL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FunctionURL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FunctionURL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FunctionURL. func (mg *FunctionURL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *FunctionURL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FunctionURL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FunctionURL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FunctionURL. func (mg *FunctionURL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Invocation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Invocation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Invocation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Invocation. func (mg *Invocation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Invocation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Invocation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Invocation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Invocation. func (mg *Invocation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *LayerVersion) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LayerVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LayerVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LayerVersion. func (mg *LayerVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *LayerVersion) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LayerVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LayerVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LayerVersion. func (mg *LayerVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *LayerVersionPermission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LayerVersionPermission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LayerVersionPermission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LayerVersionPermission. func (mg *LayerVersionPermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *LayerVersionPermission) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LayerVersionPermission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LayerVersionPermission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LayerVersionPermission. func (mg *LayerVersionPermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *Permission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Permission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Permission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Permission. func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Permission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Permission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Permission. func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *ProvisionedConcurrencyConfig) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProvisionedConcurrencyConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProvisionedConcurrencyConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProvisionedConcurrencyConfig. func (mg *ProvisionedConcurrencyConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *ProvisionedConcurrencyConfig) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProvisionedConcurrencyConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProvisionedConcurrencyConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProvisionedConcurrencyConfig. func (mg *ProvisionedConcurrencyConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/lambda/v1beta1/zz_invocation_types.go b/apis/lambda/v1beta1/zz_invocation_types.go index 9c48d38b14..83ebe6727f 100755 --- a/apis/lambda/v1beta1/zz_invocation_types.go +++ b/apis/lambda/v1beta1/zz_invocation_types.go @@ -114,7 +114,7 @@ type InvocationStatus struct { type Invocation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.input) || has(self.initProvider.input)",message="input is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.input) || (has(self.initProvider) && has(self.initProvider.input))",message="spec.forProvider.input is a required parameter" Spec InvocationSpec `json:"spec"` Status InvocationStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_layerversion_types.go b/apis/lambda/v1beta1/zz_layerversion_types.go index 0086fe825a..b38803a7e9 100755 --- a/apis/lambda/v1beta1/zz_layerversion_types.go +++ b/apis/lambda/v1beta1/zz_layerversion_types.go @@ -196,7 +196,7 @@ type LayerVersionStatus struct { type LayerVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.layerName) || has(self.initProvider.layerName)",message="layerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.layerName) || (has(self.initProvider) && has(self.initProvider.layerName))",message="spec.forProvider.layerName is a required parameter" Spec LayerVersionSpec `json:"spec"` Status LayerVersionStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_layerversionpermission_types.go b/apis/lambda/v1beta1/zz_layerversionpermission_types.go index 710d6aab85..83bc44375b 100755 --- a/apis/lambda/v1beta1/zz_layerversionpermission_types.go +++ b/apis/lambda/v1beta1/zz_layerversionpermission_types.go @@ -132,11 +132,11 @@ type LayerVersionPermissionStatus struct { type LayerVersionPermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.layerName) || has(self.initProvider.layerName)",message="layerName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statementId) || has(self.initProvider.statementId)",message="statementId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.versionNumber) || has(self.initProvider.versionNumber)",message="versionNumber is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.layerName) || (has(self.initProvider) && has(self.initProvider.layerName))",message="spec.forProvider.layerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statementId) || (has(self.initProvider) && has(self.initProvider.statementId))",message="spec.forProvider.statementId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.versionNumber) || (has(self.initProvider) && has(self.initProvider.versionNumber))",message="spec.forProvider.versionNumber is a required parameter" Spec LayerVersionPermissionSpec `json:"spec"` Status LayerVersionPermissionStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_permission_types.go b/apis/lambda/v1beta1/zz_permission_types.go index e021a4159c..2e958f84ce 100755 --- a/apis/lambda/v1beta1/zz_permission_types.go +++ b/apis/lambda/v1beta1/zz_permission_types.go @@ -199,8 +199,8 @@ type PermissionStatus struct { type Permission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" Spec PermissionSpec `json:"spec"` Status PermissionStatus `json:"status,omitempty"` } diff --git a/apis/lambda/v1beta1/zz_provisionedconcurrencyconfig_types.go b/apis/lambda/v1beta1/zz_provisionedconcurrencyconfig_types.go index 34c31e47e1..e6d7004fcc 100755 --- a/apis/lambda/v1beta1/zz_provisionedconcurrencyconfig_types.go +++ b/apis/lambda/v1beta1/zz_provisionedconcurrencyconfig_types.go @@ -96,9 +96,9 @@ type ProvisionedConcurrencyConfigStatus struct { type ProvisionedConcurrencyConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionName) || has(self.initProvider.functionName)",message="functionName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.provisionedConcurrentExecutions) || has(self.initProvider.provisionedConcurrentExecutions)",message="provisionedConcurrentExecutions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.qualifier) || has(self.initProvider.qualifier)",message="qualifier is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.functionName) || (has(self.initProvider) && has(self.initProvider.functionName))",message="spec.forProvider.functionName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.provisionedConcurrentExecutions) || (has(self.initProvider) && has(self.initProvider.provisionedConcurrentExecutions))",message="spec.forProvider.provisionedConcurrentExecutions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.qualifier) || (has(self.initProvider) && has(self.initProvider.qualifier))",message="spec.forProvider.qualifier is a required parameter" Spec ProvisionedConcurrencyConfigSpec `json:"spec"` Status ProvisionedConcurrencyConfigStatus `json:"status,omitempty"` } diff --git a/apis/lexmodels/v1beta1/zz_bot_types.go b/apis/lexmodels/v1beta1/zz_bot_types.go index d4f68d064a..c892a39771 100755 --- a/apis/lexmodels/v1beta1/zz_bot_types.go +++ b/apis/lexmodels/v1beta1/zz_bot_types.go @@ -424,9 +424,9 @@ type BotStatus struct { type Bot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.abortStatement) || has(self.initProvider.abortStatement)",message="abortStatement is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.childDirected) || has(self.initProvider.childDirected)",message="childDirected is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.intent) || has(self.initProvider.intent)",message="intent is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.abortStatement) || (has(self.initProvider) && has(self.initProvider.abortStatement))",message="spec.forProvider.abortStatement is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.childDirected) || (has(self.initProvider) && has(self.initProvider.childDirected))",message="spec.forProvider.childDirected is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.intent) || (has(self.initProvider) && has(self.initProvider.intent))",message="spec.forProvider.intent is a required parameter" Spec BotSpec `json:"spec"` Status BotStatus `json:"status,omitempty"` } diff --git a/apis/lexmodels/v1beta1/zz_botalias_types.go b/apis/lexmodels/v1beta1/zz_botalias_types.go index 3f6c379e48..dbfea9a3e4 100755 --- a/apis/lexmodels/v1beta1/zz_botalias_types.go +++ b/apis/lexmodels/v1beta1/zz_botalias_types.go @@ -198,8 +198,8 @@ type BotAliasStatus struct { type BotAlias struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.botName) || has(self.initProvider.botName)",message="botName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.botVersion) || has(self.initProvider.botVersion)",message="botVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.botName) || (has(self.initProvider) && has(self.initProvider.botName))",message="spec.forProvider.botName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.botVersion) || (has(self.initProvider) && has(self.initProvider.botVersion))",message="spec.forProvider.botVersion is a required parameter" Spec BotAliasSpec `json:"spec"` Status BotAliasStatus `json:"status,omitempty"` } diff --git a/apis/lexmodels/v1beta1/zz_generated.deepcopy.go b/apis/lexmodels/v1beta1/zz_generated.deepcopy.go index fe04eb0d4f..ac98818882 100644 --- a/apis/lexmodels/v1beta1/zz_generated.deepcopy.go +++ b/apis/lexmodels/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/lexmodels/v1beta1/zz_generated.managed.go b/apis/lexmodels/v1beta1/zz_generated.managed.go index 9a1670027e..42ea869807 100644 --- a/apis/lexmodels/v1beta1/zz_generated.managed.go +++ b/apis/lexmodels/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Bot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Bot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Bot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Bot. func (mg *Bot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Bot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Bot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Bot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Bot. func (mg *Bot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *BotAlias) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BotAlias. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BotAlias) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BotAlias. func (mg *BotAlias) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *BotAlias) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BotAlias. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BotAlias) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BotAlias. func (mg *BotAlias) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Intent) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Intent. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Intent) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Intent. func (mg *Intent) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Intent) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Intent. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Intent) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Intent. func (mg *Intent) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *SlotType) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SlotType. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SlotType) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SlotType. func (mg *SlotType) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *SlotType) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SlotType. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SlotType) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SlotType. func (mg *SlotType) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/lexmodels/v1beta1/zz_intent_types.go b/apis/lexmodels/v1beta1/zz_intent_types.go index 464d6e6706..b79d75dedf 100755 --- a/apis/lexmodels/v1beta1/zz_intent_types.go +++ b/apis/lexmodels/v1beta1/zz_intent_types.go @@ -1051,7 +1051,7 @@ type IntentStatus struct { type Intent struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fulfillmentActivity) || has(self.initProvider.fulfillmentActivity)",message="fulfillmentActivity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fulfillmentActivity) || (has(self.initProvider) && has(self.initProvider.fulfillmentActivity))",message="spec.forProvider.fulfillmentActivity is a required parameter" Spec IntentSpec `json:"spec"` Status IntentStatus `json:"status,omitempty"` } diff --git a/apis/lexmodels/v1beta1/zz_slottype_types.go b/apis/lexmodels/v1beta1/zz_slottype_types.go index e68789577f..c30b248b96 100755 --- a/apis/lexmodels/v1beta1/zz_slottype_types.go +++ b/apis/lexmodels/v1beta1/zz_slottype_types.go @@ -168,7 +168,7 @@ type SlotTypeStatus struct { type SlotType struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enumerationValue) || has(self.initProvider.enumerationValue)",message="enumerationValue is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enumerationValue) || (has(self.initProvider) && has(self.initProvider.enumerationValue))",message="spec.forProvider.enumerationValue is a required parameter" Spec SlotTypeSpec `json:"spec"` Status SlotTypeStatus `json:"status,omitempty"` } diff --git a/apis/licensemanager/v1beta1/zz_generated.deepcopy.go b/apis/licensemanager/v1beta1/zz_generated.deepcopy.go index 342fa33061..aeeab7dce4 100644 --- a/apis/licensemanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/licensemanager/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -277,7 +276,8 @@ func (in *LicenseConfigurationInitParameters) DeepCopyInto(out *LicenseConfigura if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -390,7 +390,8 @@ func (in *LicenseConfigurationObservation) DeepCopyInto(out *LicenseConfiguratio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -405,7 +406,8 @@ func (in *LicenseConfigurationObservation) DeepCopyInto(out *LicenseConfiguratio if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -476,7 +478,8 @@ func (in *LicenseConfigurationParameters) DeepCopyInto(out *LicenseConfiguration if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/licensemanager/v1beta1/zz_generated.managed.go b/apis/licensemanager/v1beta1/zz_generated.managed.go index f809d53967..29e9137c91 100644 --- a/apis/licensemanager/v1beta1/zz_generated.managed.go +++ b/apis/licensemanager/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Association) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Association. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Association) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Association. func (mg *Association) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Association) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Association. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Association) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Association. func (mg *Association) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *LicenseConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LicenseConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LicenseConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LicenseConfiguration. func (mg *LicenseConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *LicenseConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LicenseConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LicenseConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LicenseConfiguration. func (mg *LicenseConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/licensemanager/v1beta1/zz_licenseconfiguration_types.go b/apis/licensemanager/v1beta1/zz_licenseconfiguration_types.go index 259277fb2d..be2b592c6a 100755 --- a/apis/licensemanager/v1beta1/zz_licenseconfiguration_types.go +++ b/apis/licensemanager/v1beta1/zz_licenseconfiguration_types.go @@ -145,8 +145,8 @@ type LicenseConfigurationStatus struct { type LicenseConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseCountingType) || has(self.initProvider.licenseCountingType)",message="licenseCountingType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.licenseCountingType) || (has(self.initProvider) && has(self.initProvider.licenseCountingType))",message="spec.forProvider.licenseCountingType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec LicenseConfigurationSpec `json:"spec"` Status LicenseConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_bucket_types.go b/apis/lightsail/v1beta1/zz_bucket_types.go index e56f30a87a..b6b0902612 100755 --- a/apis/lightsail/v1beta1/zz_bucket_types.go +++ b/apis/lightsail/v1beta1/zz_bucket_types.go @@ -104,7 +104,7 @@ type BucketStatus struct { type Bucket struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bundleId) || has(self.initProvider.bundleId)",message="bundleId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bundleId) || (has(self.initProvider) && has(self.initProvider.bundleId))",message="spec.forProvider.bundleId is a required parameter" Spec BucketSpec `json:"spec"` Status BucketStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_containerservice_types.go b/apis/lightsail/v1beta1/zz_containerservice_types.go index 9e30be674d..d807143b19 100755 --- a/apis/lightsail/v1beta1/zz_containerservice_types.go +++ b/apis/lightsail/v1beta1/zz_containerservice_types.go @@ -267,8 +267,8 @@ type ContainerServiceStatus struct { type ContainerService struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.power) || has(self.initProvider.power)",message="power is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scale) || has(self.initProvider.scale)",message="scale is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.power) || (has(self.initProvider) && has(self.initProvider.power))",message="spec.forProvider.power is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scale) || (has(self.initProvider) && has(self.initProvider.scale))",message="spec.forProvider.scale is a required parameter" Spec ContainerServiceSpec `json:"spec"` Status ContainerServiceStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_disk_types.go b/apis/lightsail/v1beta1/zz_disk_types.go index f03cc309ee..c383acd48d 100755 --- a/apis/lightsail/v1beta1/zz_disk_types.go +++ b/apis/lightsail/v1beta1/zz_disk_types.go @@ -108,8 +108,8 @@ type DiskStatus struct { type Disk struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sizeInGb) || has(self.initProvider.sizeInGb)",message="sizeInGb is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sizeInGb) || (has(self.initProvider) && has(self.initProvider.sizeInGb))",message="spec.forProvider.sizeInGb is a required parameter" Spec DiskSpec `json:"spec"` Status DiskStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_diskattachment_types.go b/apis/lightsail/v1beta1/zz_diskattachment_types.go index 74df9a66a4..652ae34d66 100755 --- a/apis/lightsail/v1beta1/zz_diskattachment_types.go +++ b/apis/lightsail/v1beta1/zz_diskattachment_types.go @@ -108,7 +108,7 @@ type DiskAttachmentStatus struct { type DiskAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.diskPath) || has(self.initProvider.diskPath)",message="diskPath is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.diskPath) || (has(self.initProvider) && has(self.initProvider.diskPath))",message="spec.forProvider.diskPath is a required parameter" Spec DiskAttachmentSpec `json:"spec"` Status DiskAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_domain_types.go b/apis/lightsail/v1beta1/zz_domain_types.go index db6d157f9e..67d699eaa3 100755 --- a/apis/lightsail/v1beta1/zz_domain_types.go +++ b/apis/lightsail/v1beta1/zz_domain_types.go @@ -79,7 +79,7 @@ type DomainStatus struct { type Domain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || has(self.initProvider.domainName)",message="domainName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter" Spec DomainSpec `json:"spec"` Status DomainStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_domainentry_types.go b/apis/lightsail/v1beta1/zz_domainentry_types.go index f932c070d4..acb18b97d3 100755 --- a/apis/lightsail/v1beta1/zz_domainentry_types.go +++ b/apis/lightsail/v1beta1/zz_domainentry_types.go @@ -110,7 +110,7 @@ type DomainEntryStatus struct { type DomainEntry struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || has(self.initProvider.target)",message="target is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter" Spec DomainEntrySpec `json:"spec"` Status DomainEntryStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_generated.deepcopy.go b/apis/lightsail/v1beta1/zz_generated.deepcopy.go index 3ec7e900a7..277870ee7f 100644 --- a/apis/lightsail/v1beta1/zz_generated.deepcopy.go +++ b/apis/lightsail/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -147,7 +146,8 @@ func (in *BucketInitParameters) DeepCopyInto(out *BucketInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -239,7 +239,8 @@ func (in *BucketObservation) DeepCopyInto(out *BucketObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -254,7 +255,8 @@ func (in *BucketObservation) DeepCopyInto(out *BucketObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -299,7 +301,8 @@ func (in *BucketParameters) DeepCopyInto(out *BucketParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -407,7 +410,8 @@ func (in *CertificateInitParameters) DeepCopyInto(out *CertificateInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -507,7 +511,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -522,7 +527,8 @@ func (in *CertificateObservation) DeepCopyInto(out *CertificateObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -573,7 +579,8 @@ func (in *CertificateParameters) DeepCopyInto(out *CertificateParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -694,7 +701,8 @@ func (in *ContainerServiceInitParameters) DeepCopyInto(out *ContainerServiceInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -830,7 +838,8 @@ func (in *ContainerServiceObservation) DeepCopyInto(out *ContainerServiceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -845,7 +854,8 @@ func (in *ContainerServiceObservation) DeepCopyInto(out *ContainerServiceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -914,7 +924,8 @@ func (in *ContainerServiceParameters) DeepCopyInto(out *ContainerServiceParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1220,7 +1231,8 @@ func (in *DiskInitParameters) DeepCopyInto(out *DiskInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1312,7 +1324,8 @@ func (in *DiskObservation) DeepCopyInto(out *DiskObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1327,7 +1340,8 @@ func (in *DiskObservation) DeepCopyInto(out *DiskObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1372,7 +1386,8 @@ func (in *DiskParameters) DeepCopyInto(out *DiskParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2069,7 +2084,8 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2224,7 +2240,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2239,7 +2256,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2316,7 +2334,8 @@ func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3265,7 +3284,8 @@ func (in *LBInitParameters) DeepCopyInto(out *LBInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3383,7 +3403,8 @@ func (in *LBObservation) DeepCopyInto(out *LBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3398,7 +3419,8 @@ func (in *LBObservation) DeepCopyInto(out *LBObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3448,7 +3470,8 @@ func (in *LBParameters) DeepCopyInto(out *LBParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/lightsail/v1beta1/zz_generated.managed.go b/apis/lightsail/v1beta1/zz_generated.managed.go index 9f22783b53..e5447a4948 100644 --- a/apis/lightsail/v1beta1/zz_generated.managed.go +++ b/apis/lightsail/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Bucket) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Bucket. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Bucket) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Bucket. func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Bucket) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Bucket. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Bucket) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Bucket. func (mg *Bucket) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Certificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Certificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Certificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Certificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Certificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Certificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Certificate. func (mg *Certificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ContainerService) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContainerService. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContainerService) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContainerService. func (mg *ContainerService) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ContainerService) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContainerService. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContainerService) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContainerService. func (mg *ContainerService) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Disk) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Disk. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Disk) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Disk. func (mg *Disk) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Disk) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Disk. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Disk) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Disk. func (mg *Disk) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *DiskAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DiskAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DiskAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DiskAttachment. func (mg *DiskAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *DiskAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DiskAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DiskAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DiskAttachment. func (mg *DiskAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *DomainEntry) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainEntry. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainEntry) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainEntry. func (mg *DomainEntry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *DomainEntry) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainEntry. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainEntry) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainEntry. func (mg *DomainEntry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Instance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Instance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Instance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Instance. func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Instance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Instance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Instance. func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *InstancePublicPorts) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstancePublicPorts. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstancePublicPorts) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstancePublicPorts. func (mg *InstancePublicPorts) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *InstancePublicPorts) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstancePublicPorts. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstancePublicPorts) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstancePublicPorts. func (mg *InstancePublicPorts) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *KeyPair) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this KeyPair. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *KeyPair) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this KeyPair. func (mg *KeyPair) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *KeyPair) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this KeyPair. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *KeyPair) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this KeyPair. func (mg *KeyPair) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *LB) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LB. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LB) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LB. func (mg *LB) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *LB) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LB. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LB) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LB. func (mg *LB) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *LBAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBAttachment. func (mg *LBAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *LBAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBAttachment. func (mg *LBAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *LBCertificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBCertificate. func (mg *LBCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *LBCertificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBCertificate. func (mg *LBCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *LBStickinessPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LBStickinessPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LBStickinessPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LBStickinessPolicy. func (mg *LBStickinessPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *LBStickinessPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LBStickinessPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LBStickinessPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LBStickinessPolicy. func (mg *LBStickinessPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *StaticIP) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StaticIP. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StaticIP) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StaticIP. func (mg *StaticIP) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *StaticIP) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StaticIP. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StaticIP) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StaticIP. func (mg *StaticIP) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *StaticIPAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StaticIPAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StaticIPAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StaticIPAttachment. func (mg *StaticIPAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *StaticIPAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StaticIPAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StaticIPAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StaticIPAttachment. func (mg *StaticIPAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/lightsail/v1beta1/zz_instance_types.go b/apis/lightsail/v1beta1/zz_instance_types.go index d02053fd18..c8f4e497bf 100755 --- a/apis/lightsail/v1beta1/zz_instance_types.go +++ b/apis/lightsail/v1beta1/zz_instance_types.go @@ -224,9 +224,9 @@ type InstanceStatus struct { type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || has(self.initProvider.availabilityZone)",message="availabilityZone is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.blueprintId) || has(self.initProvider.blueprintId)",message="blueprintId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bundleId) || has(self.initProvider.bundleId)",message="bundleId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZone) || (has(self.initProvider) && has(self.initProvider.availabilityZone))",message="spec.forProvider.availabilityZone is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.blueprintId) || (has(self.initProvider) && has(self.initProvider.blueprintId))",message="spec.forProvider.blueprintId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bundleId) || (has(self.initProvider) && has(self.initProvider.bundleId))",message="spec.forProvider.bundleId is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_instancepublicports_types.go b/apis/lightsail/v1beta1/zz_instancepublicports_types.go index 1c6597e356..468a16c3db 100755 --- a/apis/lightsail/v1beta1/zz_instancepublicports_types.go +++ b/apis/lightsail/v1beta1/zz_instancepublicports_types.go @@ -158,7 +158,7 @@ type InstancePublicPortsStatus struct { type InstancePublicPorts struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.portInfo) || has(self.initProvider.portInfo)",message="portInfo is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.portInfo) || (has(self.initProvider) && has(self.initProvider.portInfo))",message="spec.forProvider.portInfo is a required parameter" Spec InstancePublicPortsSpec `json:"spec"` Status InstancePublicPortsStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_lb_types.go b/apis/lightsail/v1beta1/zz_lb_types.go index 97d355f5b4..29ba4b9f58 100755 --- a/apis/lightsail/v1beta1/zz_lb_types.go +++ b/apis/lightsail/v1beta1/zz_lb_types.go @@ -124,7 +124,7 @@ type LBStatus struct { type LB struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePort) || has(self.initProvider.instancePort)",message="instancePort is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instancePort) || (has(self.initProvider) && has(self.initProvider.instancePort))",message="spec.forProvider.instancePort is a required parameter" Spec LBSpec `json:"spec"` Status LBStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_lbstickinesspolicy_types.go b/apis/lightsail/v1beta1/zz_lbstickinesspolicy_types.go index ced22fe734..88a9018458 100755 --- a/apis/lightsail/v1beta1/zz_lbstickinesspolicy_types.go +++ b/apis/lightsail/v1beta1/zz_lbstickinesspolicy_types.go @@ -86,8 +86,8 @@ type LBStickinessPolicyStatus struct { type LBStickinessPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookieDuration) || has(self.initProvider.cookieDuration)",message="cookieDuration is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || has(self.initProvider.enabled)",message="enabled is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cookieDuration) || (has(self.initProvider) && has(self.initProvider.cookieDuration))",message="spec.forProvider.cookieDuration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.enabled) || (has(self.initProvider) && has(self.initProvider.enabled))",message="spec.forProvider.enabled is a required parameter" Spec LBStickinessPolicySpec `json:"spec"` Status LBStickinessPolicyStatus `json:"status,omitempty"` } diff --git a/apis/lightsail/v1beta1/zz_staticip_types.go b/apis/lightsail/v1beta1/zz_staticip_types.go index 1ba0a7daa9..68c515d7cf 100755 --- a/apis/lightsail/v1beta1/zz_staticip_types.go +++ b/apis/lightsail/v1beta1/zz_staticip_types.go @@ -84,7 +84,7 @@ type StaticIPStatus struct { type StaticIP struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StaticIPSpec `json:"spec"` Status StaticIPStatus `json:"status,omitempty"` } diff --git a/apis/location/v1beta1/zz_generated.deepcopy.go b/apis/location/v1beta1/zz_generated.deepcopy.go index 4f7ba9db44..30b868422a 100644 --- a/apis/location/v1beta1/zz_generated.deepcopy.go +++ b/apis/location/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -117,7 +116,8 @@ func (in *GeofenceCollectionInitParameters) DeepCopyInto(out *GeofenceCollection if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -204,7 +204,8 @@ func (in *GeofenceCollectionObservation) DeepCopyInto(out *GeofenceCollectionObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -219,7 +220,8 @@ func (in *GeofenceCollectionObservation) DeepCopyInto(out *GeofenceCollectionObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -279,7 +281,8 @@ func (in *GeofenceCollectionParameters) DeepCopyInto(out *GeofenceCollectionPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -388,7 +391,8 @@ func (in *PlaceIndexInitParameters) DeepCopyInto(out *PlaceIndexInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -482,7 +486,8 @@ func (in *PlaceIndexObservation) DeepCopyInto(out *PlaceIndexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -497,7 +502,8 @@ func (in *PlaceIndexObservation) DeepCopyInto(out *PlaceIndexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -554,7 +560,8 @@ func (in *PlaceIndexParameters) DeepCopyInto(out *PlaceIndexParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -656,7 +663,8 @@ func (in *RouteCalculatorInitParameters) DeepCopyInto(out *RouteCalculatorInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -743,7 +751,8 @@ func (in *RouteCalculatorObservation) DeepCopyInto(out *RouteCalculatorObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -758,7 +767,8 @@ func (in *RouteCalculatorObservation) DeepCopyInto(out *RouteCalculatorObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -808,7 +818,8 @@ func (in *RouteCalculatorParameters) DeepCopyInto(out *RouteCalculatorParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1099,7 +1110,8 @@ func (in *TrackerInitParameters) DeepCopyInto(out *TrackerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1186,7 +1198,8 @@ func (in *TrackerObservation) DeepCopyInto(out *TrackerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1201,7 +1214,8 @@ func (in *TrackerObservation) DeepCopyInto(out *TrackerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1271,7 +1285,8 @@ func (in *TrackerParameters) DeepCopyInto(out *TrackerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/location/v1beta1/zz_generated.managed.go b/apis/location/v1beta1/zz_generated.managed.go index 2424e3dc68..1758461aee 100644 --- a/apis/location/v1beta1/zz_generated.managed.go +++ b/apis/location/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *GeofenceCollection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GeofenceCollection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GeofenceCollection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GeofenceCollection. func (mg *GeofenceCollection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *GeofenceCollection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GeofenceCollection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GeofenceCollection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GeofenceCollection. func (mg *GeofenceCollection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *PlaceIndex) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PlaceIndex. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PlaceIndex) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PlaceIndex. func (mg *PlaceIndex) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *PlaceIndex) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PlaceIndex. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PlaceIndex) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PlaceIndex. func (mg *PlaceIndex) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RouteCalculator) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RouteCalculator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RouteCalculator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RouteCalculator. func (mg *RouteCalculator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RouteCalculator) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RouteCalculator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RouteCalculator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RouteCalculator. func (mg *RouteCalculator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Tracker) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Tracker. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Tracker) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Tracker. func (mg *Tracker) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Tracker) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Tracker. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Tracker) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Tracker. func (mg *Tracker) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *TrackerAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TrackerAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TrackerAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TrackerAssociation. func (mg *TrackerAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *TrackerAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TrackerAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TrackerAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TrackerAssociation. func (mg *TrackerAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/location/v1beta1/zz_placeindex_types.go b/apis/location/v1beta1/zz_placeindex_types.go index d72d5c1510..4beed7ecc2 100755 --- a/apis/location/v1beta1/zz_placeindex_types.go +++ b/apis/location/v1beta1/zz_placeindex_types.go @@ -136,7 +136,7 @@ type PlaceIndexStatus struct { type PlaceIndex struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataSource) || has(self.initProvider.dataSource)",message="dataSource is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataSource) || (has(self.initProvider) && has(self.initProvider.dataSource))",message="spec.forProvider.dataSource is a required parameter" Spec PlaceIndexSpec `json:"spec"` Status PlaceIndexStatus `json:"status,omitempty"` } diff --git a/apis/location/v1beta1/zz_routecalculator_types.go b/apis/location/v1beta1/zz_routecalculator_types.go index 84c6fc199e..a25a79b491 100755 --- a/apis/location/v1beta1/zz_routecalculator_types.go +++ b/apis/location/v1beta1/zz_routecalculator_types.go @@ -107,7 +107,7 @@ type RouteCalculatorStatus struct { type RouteCalculator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataSource) || has(self.initProvider.dataSource)",message="dataSource is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dataSource) || (has(self.initProvider) && has(self.initProvider.dataSource))",message="spec.forProvider.dataSource is a required parameter" Spec RouteCalculatorSpec `json:"spec"` Status RouteCalculatorStatus `json:"status,omitempty"` } diff --git a/apis/macie2/v1beta1/zz_classificationjob_types.go b/apis/macie2/v1beta1/zz_classificationjob_types.go index 1b1eb84e3e..d7010475a9 100755 --- a/apis/macie2/v1beta1/zz_classificationjob_types.go +++ b/apis/macie2/v1beta1/zz_classificationjob_types.go @@ -978,8 +978,8 @@ type ClassificationJobStatus struct { type ClassificationJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.jobType) || has(self.initProvider.jobType)",message="jobType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3JobDefinition) || has(self.initProvider.s3JobDefinition)",message="s3JobDefinition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.jobType) || (has(self.initProvider) && has(self.initProvider.jobType))",message="spec.forProvider.jobType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3JobDefinition) || (has(self.initProvider) && has(self.initProvider.s3JobDefinition))",message="spec.forProvider.s3JobDefinition is a required parameter" Spec ClassificationJobSpec `json:"spec"` Status ClassificationJobStatus `json:"status,omitempty"` } diff --git a/apis/macie2/v1beta1/zz_findingsfilter_types.go b/apis/macie2/v1beta1/zz_findingsfilter_types.go index ab0d16f3eb..31600d963d 100755 --- a/apis/macie2/v1beta1/zz_findingsfilter_types.go +++ b/apis/macie2/v1beta1/zz_findingsfilter_types.go @@ -239,8 +239,8 @@ type FindingsFilterStatus struct { type FindingsFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.findingCriteria) || has(self.initProvider.findingCriteria)",message="findingCriteria is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.findingCriteria) || (has(self.initProvider) && has(self.initProvider.findingCriteria))",message="spec.forProvider.findingCriteria is a required parameter" Spec FindingsFilterSpec `json:"spec"` Status FindingsFilterStatus `json:"status,omitempty"` } diff --git a/apis/macie2/v1beta1/zz_generated.deepcopy.go b/apis/macie2/v1beta1/zz_generated.deepcopy.go index 2425ea5701..e63ba90b9a 100644 --- a/apis/macie2/v1beta1/zz_generated.deepcopy.go +++ b/apis/macie2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1050,7 +1049,8 @@ func (in *ClassificationJobInitParameters) DeepCopyInto(out *ClassificationJobIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1187,7 +1187,8 @@ func (in *ClassificationJobObservation) DeepCopyInto(out *ClassificationJobObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1202,7 +1203,8 @@ func (in *ClassificationJobObservation) DeepCopyInto(out *ClassificationJobObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1299,7 +1301,8 @@ func (in *ClassificationJobParameters) DeepCopyInto(out *ClassificationJobParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1652,7 +1655,8 @@ func (in *CustomDataIdentifierInitParameters) DeepCopyInto(out *CustomDataIdenti if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1771,7 +1775,8 @@ func (in *CustomDataIdentifierObservation) DeepCopyInto(out *CustomDataIdentifie if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1786,7 +1791,8 @@ func (in *CustomDataIdentifierObservation) DeepCopyInto(out *CustomDataIdentifie if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1863,7 +1869,8 @@ func (in *CustomDataIdentifierParameters) DeepCopyInto(out *CustomDataIdentifier if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2201,7 +2208,8 @@ func (in *FindingsFilterInitParameters) DeepCopyInto(out *FindingsFilterInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2300,7 +2308,8 @@ func (in *FindingsFilterObservation) DeepCopyInto(out *FindingsFilterObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2315,7 +2324,8 @@ func (in *FindingsFilterObservation) DeepCopyInto(out *FindingsFilterObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2377,7 +2387,8 @@ func (in *FindingsFilterParameters) DeepCopyInto(out *FindingsFilterParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2821,7 +2832,8 @@ func (in *MemberInitParameters) DeepCopyInto(out *MemberInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2943,7 +2955,8 @@ func (in *MemberObservation) DeepCopyInto(out *MemberObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2958,7 +2971,8 @@ func (in *MemberObservation) DeepCopyInto(out *MemberObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3028,7 +3042,8 @@ func (in *MemberParameters) DeepCopyInto(out *MemberParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/macie2/v1beta1/zz_generated.managed.go b/apis/macie2/v1beta1/zz_generated.managed.go index a682042b36..6cc485a85a 100644 --- a/apis/macie2/v1beta1/zz_generated.managed.go +++ b/apis/macie2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Account) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Account. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Account) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Account. func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Account. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Account) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Account. func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ClassificationJob) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClassificationJob. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClassificationJob) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClassificationJob. func (mg *ClassificationJob) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ClassificationJob) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClassificationJob. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClassificationJob) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClassificationJob. func (mg *ClassificationJob) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *CustomDataIdentifier) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CustomDataIdentifier. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CustomDataIdentifier) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CustomDataIdentifier. func (mg *CustomDataIdentifier) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *CustomDataIdentifier) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CustomDataIdentifier. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CustomDataIdentifier) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CustomDataIdentifier. func (mg *CustomDataIdentifier) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *FindingsFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FindingsFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FindingsFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FindingsFilter. func (mg *FindingsFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *FindingsFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FindingsFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FindingsFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FindingsFilter. func (mg *FindingsFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *InvitationAccepter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InvitationAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InvitationAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InvitationAccepter. func (mg *InvitationAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *InvitationAccepter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InvitationAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InvitationAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InvitationAccepter. func (mg *InvitationAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Member) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Member. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Member) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Member. func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Member) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Member. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Member) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Member. func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/macie2/v1beta1/zz_invitationaccepter_types.go b/apis/macie2/v1beta1/zz_invitationaccepter_types.go index 7aab4621e3..60854831fa 100755 --- a/apis/macie2/v1beta1/zz_invitationaccepter_types.go +++ b/apis/macie2/v1beta1/zz_invitationaccepter_types.go @@ -79,7 +79,7 @@ type InvitationAccepterStatus struct { type InvitationAccepter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.administratorAccountId) || has(self.initProvider.administratorAccountId)",message="administratorAccountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.administratorAccountId) || (has(self.initProvider) && has(self.initProvider.administratorAccountId))",message="spec.forProvider.administratorAccountId is a required parameter" Spec InvitationAccepterSpec `json:"spec"` Status InvitationAccepterStatus `json:"status,omitempty"` } diff --git a/apis/macie2/v1beta1/zz_member_types.go b/apis/macie2/v1beta1/zz_member_types.go index 36515d4373..02bac9656d 100755 --- a/apis/macie2/v1beta1/zz_member_types.go +++ b/apis/macie2/v1beta1/zz_member_types.go @@ -156,8 +156,8 @@ type MemberStatus struct { type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || has(self.initProvider.accountId)",message="accountId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || has(self.initProvider.email)",message="email is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || (has(self.initProvider) && has(self.initProvider.accountId))",message="spec.forProvider.accountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" Spec MemberSpec `json:"spec"` Status MemberStatus `json:"status,omitempty"` } diff --git a/apis/mediaconvert/v1beta1/zz_generated.deepcopy.go b/apis/mediaconvert/v1beta1/zz_generated.deepcopy.go index b69ebbe9fb..63c55bc519 100644 --- a/apis/mediaconvert/v1beta1/zz_generated.deepcopy.go +++ b/apis/mediaconvert/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -73,7 +72,8 @@ func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -167,7 +167,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -182,7 +183,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -239,7 +241,8 @@ func (in *QueueParameters) DeepCopyInto(out *QueueParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/mediaconvert/v1beta1/zz_generated.managed.go b/apis/mediaconvert/v1beta1/zz_generated.managed.go index de4b3bb63b..9669fe2d40 100644 --- a/apis/mediaconvert/v1beta1/zz_generated.managed.go +++ b/apis/mediaconvert/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Queue) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Queue. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Queue) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Queue. func (mg *Queue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Queue. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Queue) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Queue. func (mg *Queue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/medialive/v1beta1/zz_channel_types.go b/apis/medialive/v1beta1/zz_channel_types.go index 202f22e866..ce819bcccf 100755 --- a/apis/medialive/v1beta1/zz_channel_types.go +++ b/apis/medialive/v1beta1/zz_channel_types.go @@ -6816,12 +6816,12 @@ type ChannelStatus struct { type Channel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.channelClass) || has(self.initProvider.channelClass)",message="channelClass is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinations) || has(self.initProvider.destinations)",message="destinations is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encoderSettings) || has(self.initProvider.encoderSettings)",message="encoderSettings is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputAttachments) || has(self.initProvider.inputAttachments)",message="inputAttachments is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputSpecification) || has(self.initProvider.inputSpecification)",message="inputSpecification is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.channelClass) || (has(self.initProvider) && has(self.initProvider.channelClass))",message="spec.forProvider.channelClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destinations) || (has(self.initProvider) && has(self.initProvider.destinations))",message="spec.forProvider.destinations is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.encoderSettings) || (has(self.initProvider) && has(self.initProvider.encoderSettings))",message="spec.forProvider.encoderSettings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputAttachments) || (has(self.initProvider) && has(self.initProvider.inputAttachments))",message="spec.forProvider.inputAttachments is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputSpecification) || (has(self.initProvider) && has(self.initProvider.inputSpecification))",message="spec.forProvider.inputSpecification is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ChannelSpec `json:"spec"` Status ChannelStatus `json:"status,omitempty"` } diff --git a/apis/medialive/v1beta1/zz_generated.deepcopy.go b/apis/medialive/v1beta1/zz_generated.deepcopy.go index 4f498ab794..b8341203bf 100644 --- a/apis/medialive/v1beta1/zz_generated.deepcopy.go +++ b/apis/medialive/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -2550,7 +2549,8 @@ func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2782,7 +2782,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2797,7 +2798,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2916,7 +2918,8 @@ func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9904,7 +9907,8 @@ func (in *InputInitParameters) DeepCopyInto(out *InputInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10129,7 +10133,8 @@ func (in *InputObservation) DeepCopyInto(out *InputObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10144,7 +10149,8 @@ func (in *InputObservation) DeepCopyInto(out *InputObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10250,7 +10256,8 @@ func (in *InputParameters) DeepCopyInto(out *InputParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10319,7 +10326,8 @@ func (in *InputSecurityGroupInitParameters) DeepCopyInto(out *InputSecurityGroup if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10409,7 +10417,8 @@ func (in *InputSecurityGroupObservation) DeepCopyInto(out *InputSecurityGroupObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10424,7 +10433,8 @@ func (in *InputSecurityGroupObservation) DeepCopyInto(out *InputSecurityGroupObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10466,7 +10476,8 @@ func (in *InputSecurityGroupParameters) DeepCopyInto(out *InputSecurityGroupPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13514,7 +13525,8 @@ func (in *MultiplexInitParameters) DeepCopyInto(out *MultiplexInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13719,7 +13731,8 @@ func (in *MultiplexObservation) DeepCopyInto(out *MultiplexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13734,7 +13747,8 @@ func (in *MultiplexObservation) DeepCopyInto(out *MultiplexObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13923,7 +13937,8 @@ func (in *MultiplexParameters) DeepCopyInto(out *MultiplexParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/medialive/v1beta1/zz_generated.managed.go b/apis/medialive/v1beta1/zz_generated.managed.go index 61c111b205..13758b85a2 100644 --- a/apis/medialive/v1beta1/zz_generated.managed.go +++ b/apis/medialive/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Channel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Channel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Channel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Channel. func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Channel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Channel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Channel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Channel. func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Input) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Input. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Input) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Input. func (mg *Input) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Input) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Input. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Input) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Input. func (mg *Input) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *InputSecurityGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InputSecurityGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InputSecurityGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InputSecurityGroup. func (mg *InputSecurityGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *InputSecurityGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InputSecurityGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InputSecurityGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InputSecurityGroup. func (mg *InputSecurityGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Multiplex) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Multiplex. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Multiplex) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Multiplex. func (mg *Multiplex) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Multiplex) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Multiplex. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Multiplex) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Multiplex. func (mg *Multiplex) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/medialive/v1beta1/zz_input_types.go b/apis/medialive/v1beta1/zz_input_types.go index 4834d0fdbb..2ff04266ca 100755 --- a/apis/medialive/v1beta1/zz_input_types.go +++ b/apis/medialive/v1beta1/zz_input_types.go @@ -315,8 +315,8 @@ type InputStatus struct { type Input struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec InputSpec `json:"spec"` Status InputStatus `json:"status,omitempty"` } diff --git a/apis/medialive/v1beta1/zz_inputsecuritygroup_types.go b/apis/medialive/v1beta1/zz_inputsecuritygroup_types.go index e34143d361..cdbaabe7b8 100755 --- a/apis/medialive/v1beta1/zz_inputsecuritygroup_types.go +++ b/apis/medialive/v1beta1/zz_inputsecuritygroup_types.go @@ -113,7 +113,7 @@ type InputSecurityGroupStatus struct { type InputSecurityGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.whitelistRules) || has(self.initProvider.whitelistRules)",message="whitelistRules is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.whitelistRules) || (has(self.initProvider) && has(self.initProvider.whitelistRules))",message="spec.forProvider.whitelistRules is a required parameter" Spec InputSecurityGroupSpec `json:"spec"` Status InputSecurityGroupStatus `json:"status,omitempty"` } diff --git a/apis/medialive/v1beta1/zz_multiplex_types.go b/apis/medialive/v1beta1/zz_multiplex_types.go index 340a8ef15f..2c78eb2c5c 100755 --- a/apis/medialive/v1beta1/zz_multiplex_types.go +++ b/apis/medialive/v1beta1/zz_multiplex_types.go @@ -169,8 +169,8 @@ type MultiplexStatus struct { type Multiplex struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZones) || has(self.initProvider.availabilityZones)",message="availabilityZones is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.availabilityZones) || (has(self.initProvider) && has(self.initProvider.availabilityZones))",message="spec.forProvider.availabilityZones is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec MultiplexSpec `json:"spec"` Status MultiplexStatus `json:"status,omitempty"` } diff --git a/apis/mediapackage/v1beta1/zz_channel_types.go b/apis/mediapackage/v1beta1/zz_channel_types.go index 14ac3c01cd..1762b3df9c 100755 --- a/apis/mediapackage/v1beta1/zz_channel_types.go +++ b/apis/mediapackage/v1beta1/zz_channel_types.go @@ -135,7 +135,7 @@ type ChannelStatus struct { type Channel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.channelId) || has(self.initProvider.channelId)",message="channelId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.channelId) || (has(self.initProvider) && has(self.initProvider.channelId))",message="spec.forProvider.channelId is a required parameter" Spec ChannelSpec `json:"spec"` Status ChannelStatus `json:"status,omitempty"` } diff --git a/apis/mediapackage/v1beta1/zz_generated.deepcopy.go b/apis/mediapackage/v1beta1/zz_generated.deepcopy.go index 7bc47ab5ef..7b6b4f895b 100644 --- a/apis/mediapackage/v1beta1/zz_generated.deepcopy.go +++ b/apis/mediapackage/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -61,7 +60,8 @@ func (in *ChannelInitParameters) DeepCopyInto(out *ChannelInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -150,7 +150,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -165,7 +166,8 @@ func (in *ChannelObservation) DeepCopyInto(out *ChannelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -210,7 +212,8 @@ func (in *ChannelParameters) DeepCopyInto(out *ChannelParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/mediapackage/v1beta1/zz_generated.managed.go b/apis/mediapackage/v1beta1/zz_generated.managed.go index ab3f378151..52a2f188f6 100644 --- a/apis/mediapackage/v1beta1/zz_generated.managed.go +++ b/apis/mediapackage/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Channel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Channel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Channel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Channel. func (mg *Channel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Channel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Channel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Channel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Channel. func (mg *Channel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/mediastore/v1beta1/zz_containerpolicy_types.go b/apis/mediastore/v1beta1/zz_containerpolicy_types.go index 2a219f9cfe..52ba68c6e3 100755 --- a/apis/mediastore/v1beta1/zz_containerpolicy_types.go +++ b/apis/mediastore/v1beta1/zz_containerpolicy_types.go @@ -91,7 +91,7 @@ type ContainerPolicyStatus struct { type ContainerPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec ContainerPolicySpec `json:"spec"` Status ContainerPolicyStatus `json:"status,omitempty"` } diff --git a/apis/mediastore/v1beta1/zz_generated.deepcopy.go b/apis/mediastore/v1beta1/zz_generated.deepcopy.go index a85fa11f38..ade81e1739 100644 --- a/apis/mediastore/v1beta1/zz_generated.deepcopy.go +++ b/apis/mediastore/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *ContainerInitParameters) DeepCopyInto(out *ContainerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -129,7 +129,8 @@ func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -144,7 +145,8 @@ func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -179,7 +181,8 @@ func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/mediastore/v1beta1/zz_generated.managed.go b/apis/mediastore/v1beta1/zz_generated.managed.go index 33b703027f..439f44dace 100644 --- a/apis/mediastore/v1beta1/zz_generated.managed.go +++ b/apis/mediastore/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Container) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Container. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Container) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Container. func (mg *Container) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Container) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Container. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Container) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Container. func (mg *Container) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ContainerPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ContainerPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ContainerPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ContainerPolicy. func (mg *ContainerPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ContainerPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ContainerPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ContainerPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ContainerPolicy. func (mg *ContainerPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/memorydb/v1beta1/zz_cluster_types.go b/apis/memorydb/v1beta1/zz_cluster_types.go index 2672221e3d..a8a82f025b 100755 --- a/apis/memorydb/v1beta1/zz_cluster_types.go +++ b/apis/memorydb/v1beta1/zz_cluster_types.go @@ -392,8 +392,8 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.aclName) || has(self.initProvider.aclName)",message="aclName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || has(self.initProvider.nodeType)",message="nodeType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.aclName) || (has(self.initProvider) && has(self.initProvider.aclName))",message="spec.forProvider.aclName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || (has(self.initProvider) && has(self.initProvider.nodeType))",message="spec.forProvider.nodeType is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/memorydb/v1beta1/zz_generated.deepcopy.go b/apis/memorydb/v1beta1/zz_generated.deepcopy.go index 090f47720c..0b3f4f72e8 100644 --- a/apis/memorydb/v1beta1/zz_generated.deepcopy.go +++ b/apis/memorydb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *ACLInitParameters) DeepCopyInto(out *ACLInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -140,7 +140,8 @@ func (in *ACLObservation) DeepCopyInto(out *ACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -155,7 +156,8 @@ func (in *ACLObservation) DeepCopyInto(out *ACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -201,7 +203,8 @@ func (in *ACLParameters) DeepCopyInto(out *ACLParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -565,7 +568,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -773,7 +777,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -788,7 +793,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -972,7 +978,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1203,7 +1210,8 @@ func (in *ParameterGroupInitParameters) DeepCopyInto(out *ParameterGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1292,7 +1300,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1307,7 +1316,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1359,7 +1369,8 @@ func (in *ParameterGroupParameters) DeepCopyInto(out *ParameterGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1593,7 +1604,8 @@ func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1687,7 +1699,8 @@ func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1702,7 +1715,8 @@ func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1767,7 +1781,8 @@ func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1864,7 +1879,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1952,7 +1968,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1967,7 +1984,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2035,7 +2053,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/memorydb/v1beta1/zz_generated.managed.go b/apis/memorydb/v1beta1/zz_generated.managed.go index e02015960b..11cb28380e 100644 --- a/apis/memorydb/v1beta1/zz_generated.managed.go +++ b/apis/memorydb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ACL. func (mg *ACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ACL. func (mg *ACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Snapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Snapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Snapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Snapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/memorydb/v1beta1/zz_parametergroup_types.go b/apis/memorydb/v1beta1/zz_parametergroup_types.go index 2c3ba857fb..5d6cbf9a69 100755 --- a/apis/memorydb/v1beta1/zz_parametergroup_types.go +++ b/apis/memorydb/v1beta1/zz_parametergroup_types.go @@ -141,7 +141,7 @@ type ParameterGroupStatus struct { type ParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ParameterGroupSpec `json:"spec"` Status ParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/mq/v1beta1/zz_broker_types.go b/apis/mq/v1beta1/zz_broker_types.go index 4631f7a703..3162fd2112 100755 --- a/apis/mq/v1beta1/zz_broker_types.go +++ b/apis/mq/v1beta1/zz_broker_types.go @@ -588,11 +588,11 @@ type BrokerStatus struct { type Broker struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.brokerName) || has(self.initProvider.brokerName)",message="brokerName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineType) || has(self.initProvider.engineType)",message="engineType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineVersion) || has(self.initProvider.engineVersion)",message="engineVersion is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hostInstanceType) || has(self.initProvider.hostInstanceType)",message="hostInstanceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.user) || has(self.initProvider.user)",message="user is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.brokerName) || (has(self.initProvider) && has(self.initProvider.brokerName))",message="spec.forProvider.brokerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineType) || (has(self.initProvider) && has(self.initProvider.engineType))",message="spec.forProvider.engineType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineVersion) || (has(self.initProvider) && has(self.initProvider.engineVersion))",message="spec.forProvider.engineVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hostInstanceType) || (has(self.initProvider) && has(self.initProvider.hostInstanceType))",message="spec.forProvider.hostInstanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.user) || (has(self.initProvider) && has(self.initProvider.user))",message="spec.forProvider.user is a required parameter" Spec BrokerSpec `json:"spec"` Status BrokerStatus `json:"status,omitempty"` } diff --git a/apis/mq/v1beta1/zz_configuration_types.go b/apis/mq/v1beta1/zz_configuration_types.go index 00f1d67573..133ebe5c5a 100755 --- a/apis/mq/v1beta1/zz_configuration_types.go +++ b/apis/mq/v1beta1/zz_configuration_types.go @@ -145,10 +145,10 @@ type ConfigurationStatus struct { type Configuration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.data) || has(self.initProvider.data)",message="data is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineType) || has(self.initProvider.engineType)",message="engineType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineVersion) || has(self.initProvider.engineVersion)",message="engineVersion is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.data) || (has(self.initProvider) && has(self.initProvider.data))",message="spec.forProvider.data is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineType) || (has(self.initProvider) && has(self.initProvider.engineType))",message="spec.forProvider.engineType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineVersion) || (has(self.initProvider) && has(self.initProvider.engineVersion))",message="spec.forProvider.engineVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ConfigurationSpec `json:"spec"` Status ConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/mq/v1beta1/zz_generated.deepcopy.go b/apis/mq/v1beta1/zz_generated.deepcopy.go index 6a0eff1adc..d59f8c22b7 100644 --- a/apis/mq/v1beta1/zz_generated.deepcopy.go +++ b/apis/mq/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -137,7 +136,8 @@ func (in *BrokerInitParameters) DeepCopyInto(out *BrokerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -330,7 +330,8 @@ func (in *BrokerObservation) DeepCopyInto(out *BrokerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -345,7 +346,8 @@ func (in *BrokerObservation) DeepCopyInto(out *BrokerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -518,7 +520,8 @@ func (in *BrokerParameters) DeepCopyInto(out *BrokerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -667,7 +670,8 @@ func (in *ConfigurationInitParameters_2) DeepCopyInto(out *ConfigurationInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -799,7 +803,8 @@ func (in *ConfigurationObservation_2) DeepCopyInto(out *ConfigurationObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -814,7 +819,8 @@ func (in *ConfigurationObservation_2) DeepCopyInto(out *ConfigurationObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -914,7 +920,8 @@ func (in *ConfigurationParameters_2) DeepCopyInto(out *ConfigurationParameters_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/mq/v1beta1/zz_generated.managed.go b/apis/mq/v1beta1/zz_generated.managed.go index 7f5622250e..ecd49923b6 100644 --- a/apis/mq/v1beta1/zz_generated.managed.go +++ b/apis/mq/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Broker) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Broker. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Broker) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Broker. func (mg *Broker) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Broker) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Broker. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Broker) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Broker. func (mg *Broker) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Configuration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Configuration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Configuration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Configuration. func (mg *Configuration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Configuration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Configuration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Configuration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Configuration. func (mg *Configuration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/neptune/v1beta1/zz_clusterendpoint_types.go b/apis/neptune/v1beta1/zz_clusterendpoint_types.go index 55a33d70ad..35a509743c 100755 --- a/apis/neptune/v1beta1/zz_clusterendpoint_types.go +++ b/apis/neptune/v1beta1/zz_clusterendpoint_types.go @@ -131,7 +131,7 @@ type ClusterEndpointStatus struct { type ClusterEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || has(self.initProvider.endpointType)",message="endpointType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.endpointType) || (has(self.initProvider) && has(self.initProvider.endpointType))",message="spec.forProvider.endpointType is a required parameter" Spec ClusterEndpointSpec `json:"spec"` Status ClusterEndpointStatus `json:"status,omitempty"` } diff --git a/apis/neptune/v1beta1/zz_clusterinstance_types.go b/apis/neptune/v1beta1/zz_clusterinstance_types.go index f831f53ff2..5f23e18d95 100755 --- a/apis/neptune/v1beta1/zz_clusterinstance_types.go +++ b/apis/neptune/v1beta1/zz_clusterinstance_types.go @@ -264,7 +264,7 @@ type ClusterInstanceStatus struct { type ClusterInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || has(self.initProvider.instanceClass)",message="instanceClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || (has(self.initProvider) && has(self.initProvider.instanceClass))",message="spec.forProvider.instanceClass is a required parameter" Spec ClusterInstanceSpec `json:"spec"` Status ClusterInstanceStatus `json:"status,omitempty"` } diff --git a/apis/neptune/v1beta1/zz_clusterparametergroup_types.go b/apis/neptune/v1beta1/zz_clusterparametergroup_types.go index c7aa5948f7..674565676d 100755 --- a/apis/neptune/v1beta1/zz_clusterparametergroup_types.go +++ b/apis/neptune/v1beta1/zz_clusterparametergroup_types.go @@ -151,7 +151,7 @@ type ClusterParameterGroupStatus struct { type ClusterParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ClusterParameterGroupSpec `json:"spec"` Status ClusterParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/neptune/v1beta1/zz_generated.deepcopy.go b/apis/neptune/v1beta1/zz_generated.deepcopy.go index c4b3aa25c3..73701e671a 100644 --- a/apis/neptune/v1beta1/zz_generated.deepcopy.go +++ b/apis/neptune/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -106,7 +105,8 @@ func (in *ClusterEndpointInitParameters) DeepCopyInto(out *ClusterEndpointInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -215,7 +215,8 @@ func (in *ClusterEndpointObservation) DeepCopyInto(out *ClusterEndpointObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -230,7 +231,8 @@ func (in *ClusterEndpointObservation) DeepCopyInto(out *ClusterEndpointObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -307,7 +309,8 @@ func (in *ClusterEndpointParameters) DeepCopyInto(out *ClusterEndpointParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -481,7 +484,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -593,7 +597,8 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -760,7 +765,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -775,7 +781,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -915,7 +922,8 @@ func (in *ClusterInstanceParameters) DeepCopyInto(out *ClusterInstanceParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1198,7 +1206,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1213,7 +1222,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1298,7 +1308,8 @@ func (in *ClusterParameterGroupInitParameters) DeepCopyInto(out *ClusterParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1387,7 +1398,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1402,7 +1414,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1454,7 +1467,8 @@ func (in *ClusterParameterGroupParameters) DeepCopyInto(out *ClusterParameterGro if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1731,7 +1745,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2118,7 +2133,8 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2232,7 +2248,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2247,7 +2264,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2329,7 +2347,8 @@ func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2744,7 +2763,8 @@ func (in *ParameterGroupInitParameters) DeepCopyInto(out *ParameterGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2833,7 +2853,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2848,7 +2869,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2990,7 +3012,8 @@ func (in *ParameterGroupParameters) DeepCopyInto(out *ParameterGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3252,7 +3275,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3340,7 +3364,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3355,7 +3380,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3418,7 +3444,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/neptune/v1beta1/zz_generated.managed.go b/apis/neptune/v1beta1/zz_generated.managed.go index 61ef04c301..0e61ced026 100644 --- a/apis/neptune/v1beta1/zz_generated.managed.go +++ b/apis/neptune/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ClusterEndpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterEndpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterEndpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterEndpoint. func (mg *ClusterEndpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ClusterEndpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterEndpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterEndpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterEndpoint. func (mg *ClusterEndpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ClusterInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ClusterInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ClusterParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ClusterParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ClusterSnapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterSnapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ClusterSnapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterSnapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *GlobalCluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalCluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalCluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *GlobalCluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalCluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalCluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/neptune/v1beta1/zz_parametergroup_types.go b/apis/neptune/v1beta1/zz_parametergroup_types.go index 3cf3c79827..67da954ebf 100755 --- a/apis/neptune/v1beta1/zz_parametergroup_types.go +++ b/apis/neptune/v1beta1/zz_parametergroup_types.go @@ -151,7 +151,7 @@ type ParameterGroupStatus struct { type ParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ParameterGroupSpec `json:"spec"` Status ParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/networkfirewall/v1beta1/zz_firewall_types.go b/apis/networkfirewall/v1beta1/zz_firewall_types.go index 4ccea61718..1d20e754f3 100755 --- a/apis/networkfirewall/v1beta1/zz_firewall_types.go +++ b/apis/networkfirewall/v1beta1/zz_firewall_types.go @@ -298,8 +298,8 @@ type FirewallStatus struct { type Firewall struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subnetMapping) || has(self.initProvider.subnetMapping)",message="subnetMapping is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.subnetMapping) || (has(self.initProvider) && has(self.initProvider.subnetMapping))",message="spec.forProvider.subnetMapping is a required parameter" Spec FirewallSpec `json:"spec"` Status FirewallStatus `json:"status,omitempty"` } diff --git a/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go b/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go index eeb2f3d452..1410fd473e 100755 --- a/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go +++ b/apis/networkfirewall/v1beta1/zz_firewallpolicy_types.go @@ -435,7 +435,7 @@ type FirewallPolicyStatus struct { type FirewallPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.firewallPolicy) || has(self.initProvider.firewallPolicy)",message="firewallPolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.firewallPolicy) || (has(self.initProvider) && has(self.initProvider.firewallPolicy))",message="spec.forProvider.firewallPolicy is a required parameter" Spec FirewallPolicySpec `json:"spec"` Status FirewallPolicyStatus `json:"status,omitempty"` } diff --git a/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go b/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go index ea3f6ad37e..3fca8e68c0 100644 --- a/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go +++ b/apis/networkfirewall/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -695,7 +694,8 @@ func (in *FirewallInitParameters) DeepCopyInto(out *FirewallInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -818,7 +818,8 @@ func (in *FirewallObservation) DeepCopyInto(out *FirewallObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -833,7 +834,8 @@ func (in *FirewallObservation) DeepCopyInto(out *FirewallObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -932,7 +934,8 @@ func (in *FirewallParameters) DeepCopyInto(out *FirewallParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1326,7 +1329,8 @@ func (in *FirewallPolicyInitParameters) DeepCopyInto(out *FirewallPolicyInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1417,7 +1421,8 @@ func (in *FirewallPolicyObservation) DeepCopyInto(out *FirewallPolicyObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1432,7 +1437,8 @@ func (in *FirewallPolicyObservation) DeepCopyInto(out *FirewallPolicyObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1491,7 +1497,8 @@ func (in *FirewallPolicyParameters) DeepCopyInto(out *FirewallPolicyParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2081,7 +2088,8 @@ func (in *LogDestinationConfigInitParameters) DeepCopyInto(out *LogDestinationCo if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2121,7 +2129,8 @@ func (in *LogDestinationConfigObservation) DeepCopyInto(out *LogDestinationConfi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2161,7 +2170,8 @@ func (in *LogDestinationConfigParameters) DeepCopyInto(out *LogDestinationConfig if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3286,7 +3296,8 @@ func (in *RuleGroupInitParameters) DeepCopyInto(out *RuleGroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3397,7 +3408,8 @@ func (in *RuleGroupObservation) DeepCopyInto(out *RuleGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3412,7 +3424,8 @@ func (in *RuleGroupObservation) DeepCopyInto(out *RuleGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3491,7 +3504,8 @@ func (in *RuleGroupParameters) DeepCopyInto(out *RuleGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/networkfirewall/v1beta1/zz_generated.managed.go b/apis/networkfirewall/v1beta1/zz_generated.managed.go index fc301096a2..5f6fc2762b 100644 --- a/apis/networkfirewall/v1beta1/zz_generated.managed.go +++ b/apis/networkfirewall/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Firewall) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Firewall. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Firewall) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Firewall. func (mg *Firewall) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Firewall) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Firewall. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Firewall) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Firewall. func (mg *Firewall) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *FirewallPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FirewallPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FirewallPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FirewallPolicy. func (mg *FirewallPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *FirewallPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FirewallPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FirewallPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FirewallPolicy. func (mg *FirewallPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *LoggingConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LoggingConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LoggingConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LoggingConfiguration. func (mg *LoggingConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *LoggingConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LoggingConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LoggingConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LoggingConfiguration. func (mg *LoggingConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *RuleGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RuleGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RuleGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RuleGroup. func (mg *RuleGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *RuleGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RuleGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RuleGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RuleGroup. func (mg *RuleGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go b/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go index d8b51f6963..478304b0e5 100755 --- a/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go +++ b/apis/networkfirewall/v1beta1/zz_loggingconfiguration_types.go @@ -151,7 +151,7 @@ type LoggingConfigurationStatus struct { type LoggingConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.loggingConfiguration) || has(self.initProvider.loggingConfiguration)",message="loggingConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.loggingConfiguration) || (has(self.initProvider) && has(self.initProvider.loggingConfiguration))",message="spec.forProvider.loggingConfiguration is a required parameter" Spec LoggingConfigurationSpec `json:"spec"` Status LoggingConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/networkfirewall/v1beta1/zz_rulegroup_types.go b/apis/networkfirewall/v1beta1/zz_rulegroup_types.go index 442cfd4446..705965db92 100755 --- a/apis/networkfirewall/v1beta1/zz_rulegroup_types.go +++ b/apis/networkfirewall/v1beta1/zz_rulegroup_types.go @@ -1047,9 +1047,9 @@ type RuleGroupStatus struct { type RuleGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.capacity) || has(self.initProvider.capacity)",message="capacity is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.capacity) || (has(self.initProvider) && has(self.initProvider.capacity))",message="spec.forProvider.capacity is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec RuleGroupSpec `json:"spec"` Status RuleGroupStatus `json:"status,omitempty"` } diff --git a/apis/networkmanager/v1beta1/zz_connectattachment_types.go b/apis/networkmanager/v1beta1/zz_connectattachment_types.go index 8d1cb6ffa7..8443953b43 100755 --- a/apis/networkmanager/v1beta1/zz_connectattachment_types.go +++ b/apis/networkmanager/v1beta1/zz_connectattachment_types.go @@ -180,7 +180,7 @@ type ConnectAttachmentStatus struct { type ConnectAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.options) || has(self.initProvider.options)",message="options is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.options) || (has(self.initProvider) && has(self.initProvider.options))",message="spec.forProvider.options is a required parameter" Spec ConnectAttachmentSpec `json:"spec"` Status ConnectAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/networkmanager/v1beta1/zz_generated.deepcopy.go b/apis/networkmanager/v1beta1/zz_generated.deepcopy.go index 9269675df8..78a5358867 100644 --- a/apis/networkmanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/networkmanager/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -438,7 +437,8 @@ func (in *ConnectAttachmentInitParameters) DeepCopyInto(out *ConnectAttachmentIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -567,7 +567,8 @@ func (in *ConnectAttachmentObservation) DeepCopyInto(out *ConnectAttachmentObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -582,7 +583,8 @@ func (in *ConnectAttachmentObservation) DeepCopyInto(out *ConnectAttachmentObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -659,7 +661,8 @@ func (in *ConnectAttachmentParameters) DeepCopyInto(out *ConnectAttachmentParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -781,7 +784,8 @@ func (in *ConnectionInitParameters) DeepCopyInto(out *ConnectionInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -883,7 +887,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -898,7 +903,8 @@ func (in *ConnectionObservation) DeepCopyInto(out *ConnectionObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -993,7 +999,8 @@ func (in *ConnectionParameters) DeepCopyInto(out *ConnectionParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1116,7 +1123,8 @@ func (in *CoreNetworkInitParameters) DeepCopyInto(out *CoreNetworkInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1248,7 +1256,8 @@ func (in *CoreNetworkObservation) DeepCopyInto(out *CoreNetworkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1263,7 +1272,8 @@ func (in *CoreNetworkObservation) DeepCopyInto(out *CoreNetworkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1344,7 +1354,8 @@ func (in *CoreNetworkParameters) DeepCopyInto(out *CoreNetworkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1689,7 +1700,8 @@ func (in *DeviceInitParameters) DeepCopyInto(out *DeviceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1810,7 +1822,8 @@ func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1825,7 +1838,8 @@ func (in *DeviceObservation) DeepCopyInto(out *DeviceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1929,7 +1943,8 @@ func (in *DeviceParameters) DeepCopyInto(out *DeviceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2102,7 +2117,8 @@ func (in *GlobalNetworkInitParameters) DeepCopyInto(out *GlobalNetworkInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2179,7 +2195,8 @@ func (in *GlobalNetworkObservation) DeepCopyInto(out *GlobalNetworkObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2194,7 +2211,8 @@ func (in *GlobalNetworkObservation) DeepCopyInto(out *GlobalNetworkObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2234,7 +2252,8 @@ func (in *GlobalNetworkParameters) DeepCopyInto(out *GlobalNetworkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2552,7 +2571,8 @@ func (in *LinkInitParameters) DeepCopyInto(out *LinkInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2656,7 +2676,8 @@ func (in *LinkObservation) DeepCopyInto(out *LinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2671,7 +2692,8 @@ func (in *LinkObservation) DeepCopyInto(out *LinkObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2758,7 +2780,8 @@ func (in *LinkParameters) DeepCopyInto(out *LinkParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3089,7 +3112,8 @@ func (in *SiteInitParameters) DeepCopyInto(out *SiteInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3268,7 +3292,8 @@ func (in *SiteObservation) DeepCopyInto(out *SiteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3283,7 +3308,8 @@ func (in *SiteObservation) DeepCopyInto(out *SiteObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3345,7 +3371,8 @@ func (in *SiteParameters) DeepCopyInto(out *SiteParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3857,7 +3884,8 @@ func (in *VPCAttachmentInitParameters) DeepCopyInto(out *VPCAttachmentInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3992,7 +4020,8 @@ func (in *VPCAttachmentObservation) DeepCopyInto(out *VPCAttachmentObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4007,7 +4036,8 @@ func (in *VPCAttachmentObservation) DeepCopyInto(out *VPCAttachmentObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4167,7 +4197,8 @@ func (in *VPCAttachmentParameters) DeepCopyInto(out *VPCAttachmentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/networkmanager/v1beta1/zz_generated.managed.go b/apis/networkmanager/v1beta1/zz_generated.managed.go index bf853b488a..da108870ac 100644 --- a/apis/networkmanager/v1beta1/zz_generated.managed.go +++ b/apis/networkmanager/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AttachmentAccepter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AttachmentAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AttachmentAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AttachmentAccepter. func (mg *AttachmentAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AttachmentAccepter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AttachmentAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AttachmentAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AttachmentAccepter. func (mg *AttachmentAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ConnectAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConnectAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConnectAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConnectAttachment. func (mg *ConnectAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ConnectAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConnectAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConnectAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConnectAttachment. func (mg *ConnectAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Connection) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Connection. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Connection) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Connection. func (mg *Connection) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Connection) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Connection. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Connection) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Connection. func (mg *Connection) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *CoreNetwork) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CoreNetwork. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CoreNetwork) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CoreNetwork. func (mg *CoreNetwork) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *CoreNetwork) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CoreNetwork. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CoreNetwork) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CoreNetwork. func (mg *CoreNetwork) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *CustomerGatewayAssociation) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CustomerGatewayAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CustomerGatewayAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CustomerGatewayAssociation. func (mg *CustomerGatewayAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *CustomerGatewayAssociation) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CustomerGatewayAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CustomerGatewayAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CustomerGatewayAssociation. func (mg *CustomerGatewayAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Device) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Device. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Device) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Device. func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Device) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Device. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Device) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Device. func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *GlobalNetwork) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalNetwork. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalNetwork) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalNetwork. func (mg *GlobalNetwork) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *GlobalNetwork) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalNetwork. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalNetwork) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalNetwork. func (mg *GlobalNetwork) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Link) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Link. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Link) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Link. func (mg *Link) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Link) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Link. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Link) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Link. func (mg *Link) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *LinkAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LinkAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LinkAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LinkAssociation. func (mg *LinkAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *LinkAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LinkAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LinkAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LinkAssociation. func (mg *LinkAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *Site) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Site. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Site) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Site. func (mg *Site) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *Site) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Site. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Site) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Site. func (mg *Site) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *TransitGatewayConnectPeerAssociation) GetProviderConfigReference() *xp return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayConnectPeerAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayConnectPeerAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayConnectPeerAssociation. func (mg *TransitGatewayConnectPeerAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *TransitGatewayConnectPeerAssociation) SetProviderConfigReference(r *xp mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayConnectPeerAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayConnectPeerAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayConnectPeerAssociation. func (mg *TransitGatewayConnectPeerAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *TransitGatewayRegistration) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TransitGatewayRegistration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TransitGatewayRegistration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TransitGatewayRegistration. func (mg *TransitGatewayRegistration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *TransitGatewayRegistration) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TransitGatewayRegistration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TransitGatewayRegistration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TransitGatewayRegistration. func (mg *TransitGatewayRegistration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *VPCAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCAttachment. func (mg *VPCAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *VPCAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCAttachment. func (mg *VPCAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/networkmanager/v1beta1/zz_link_types.go b/apis/networkmanager/v1beta1/zz_link_types.go index 1c758b39ca..acd40c59cd 100755 --- a/apis/networkmanager/v1beta1/zz_link_types.go +++ b/apis/networkmanager/v1beta1/zz_link_types.go @@ -183,7 +183,7 @@ type LinkStatus struct { type Link struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bandwidth) || has(self.initProvider.bandwidth)",message="bandwidth is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bandwidth) || (has(self.initProvider) && has(self.initProvider.bandwidth))",message="spec.forProvider.bandwidth is a required parameter" Spec LinkSpec `json:"spec"` Status LinkStatus `json:"status,omitempty"` } diff --git a/apis/opensearch/v1beta1/zz_domain_types.go b/apis/opensearch/v1beta1/zz_domain_types.go index 59c2f6347b..70d82424c4 100755 --- a/apis/opensearch/v1beta1/zz_domain_types.go +++ b/apis/opensearch/v1beta1/zz_domain_types.go @@ -897,7 +897,7 @@ type DomainStatus struct { type Domain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || has(self.initProvider.domainName)",message="domainName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter" Spec DomainSpec `json:"spec"` Status DomainStatus `json:"status,omitempty"` } diff --git a/apis/opensearch/v1beta1/zz_domainpolicy_types.go b/apis/opensearch/v1beta1/zz_domainpolicy_types.go index 4460c176f0..ad992c28e9 100755 --- a/apis/opensearch/v1beta1/zz_domainpolicy_types.go +++ b/apis/opensearch/v1beta1/zz_domainpolicy_types.go @@ -91,7 +91,7 @@ type DomainPolicyStatus struct { type DomainPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicies) || has(self.initProvider.accessPolicies)",message="accessPolicies is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accessPolicies) || (has(self.initProvider) && has(self.initProvider.accessPolicies))",message="spec.forProvider.accessPolicies is a required parameter" Spec DomainPolicySpec `json:"spec"` Status DomainPolicyStatus `json:"status,omitempty"` } diff --git a/apis/opensearch/v1beta1/zz_generated.deepcopy.go b/apis/opensearch/v1beta1/zz_generated.deepcopy.go index 487dead659..2c4c6f291f 100644 --- a/apis/opensearch/v1beta1/zz_generated.deepcopy.go +++ b/apis/opensearch/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -766,7 +765,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -861,7 +861,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -935,7 +936,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1060,7 +1062,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1075,7 +1078,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1112,7 +1116,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1212,7 +1217,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/opensearch/v1beta1/zz_generated.managed.go b/apis/opensearch/v1beta1/zz_generated.managed.go index cd4ac7428b..81896ea57c 100644 --- a/apis/opensearch/v1beta1/zz_generated.managed.go +++ b/apis/opensearch/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DomainPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainPolicy. func (mg *DomainPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DomainPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainPolicy. func (mg *DomainPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DomainSAMLOptions) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainSAMLOptions. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainSAMLOptions) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainSAMLOptions. func (mg *DomainSAMLOptions) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DomainSAMLOptions) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainSAMLOptions. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainSAMLOptions) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainSAMLOptions. func (mg *DomainSAMLOptions) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/opsworks/v1beta1/zz_application_types.go b/apis/opsworks/v1beta1/zz_application_types.go index 22b6089464..a974db70e9 100755 --- a/apis/opsworks/v1beta1/zz_application_types.go +++ b/apis/opsworks/v1beta1/zz_application_types.go @@ -367,8 +367,8 @@ type ApplicationStatus struct { type Application struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ApplicationSpec `json:"spec"` Status ApplicationStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_customlayer_types.go b/apis/opsworks/v1beta1/zz_customlayer_types.go index fc8d63afe6..39b560289d 100755 --- a/apis/opsworks/v1beta1/zz_customlayer_types.go +++ b/apis/opsworks/v1beta1/zz_customlayer_types.go @@ -726,8 +726,8 @@ type CustomLayerStatus struct { type CustomLayer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.shortName) || has(self.initProvider.shortName)",message="shortName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.shortName) || (has(self.initProvider) && has(self.initProvider.shortName))",message="spec.forProvider.shortName is a required parameter" Spec CustomLayerSpec `json:"spec"` Status CustomLayerStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_ganglialayer_types.go b/apis/opsworks/v1beta1/zz_ganglialayer_types.go index ccfa92093f..8cb1da8ea7 100755 --- a/apis/opsworks/v1beta1/zz_ganglialayer_types.go +++ b/apis/opsworks/v1beta1/zz_ganglialayer_types.go @@ -643,7 +643,7 @@ type GangliaLayerStatus struct { type GangliaLayer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.password) || has(self.initProvider.password)",message="password is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.password) || (has(self.initProvider) && has(self.initProvider.password))",message="spec.forProvider.password is a required parameter" Spec GangliaLayerSpec `json:"spec"` Status GangliaLayerStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_generated.deepcopy.go b/apis/opsworks/v1beta1/zz_generated.deepcopy.go index 85b10da42c..7edad4de82 100644 --- a/apis/opsworks/v1beta1/zz_generated.deepcopy.go +++ b/apis/opsworks/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1155,7 +1154,8 @@ func (in *CustomLayerInitParameters) DeepCopyInto(out *CustomLayerInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1390,7 +1390,8 @@ func (in *CustomLayerObservation) DeepCopyInto(out *CustomLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1405,7 +1406,8 @@ func (in *CustomLayerObservation) DeepCopyInto(out *CustomLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1620,7 +1622,8 @@ func (in *CustomLayerParameters) DeepCopyInto(out *CustomLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2538,7 +2541,8 @@ func (in *EcsClusterLayerInitParameters) DeepCopyInto(out *EcsClusterLayerInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2875,7 +2879,8 @@ func (in *EcsClusterLayerObservation) DeepCopyInto(out *EcsClusterLayerObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2890,7 +2895,8 @@ func (in *EcsClusterLayerObservation) DeepCopyInto(out *EcsClusterLayerObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3115,7 +3121,8 @@ func (in *EcsClusterLayerParameters) DeepCopyInto(out *EcsClusterLayerParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3960,7 +3967,8 @@ func (in *GangliaLayerInitParameters) DeepCopyInto(out *GangliaLayerInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4643,7 +4651,8 @@ func (in *GangliaLayerObservation) DeepCopyInto(out *GangliaLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4658,7 +4667,8 @@ func (in *GangliaLayerObservation) DeepCopyInto(out *GangliaLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4883,7 +4893,8 @@ func (in *GangliaLayerParameters) DeepCopyInto(out *GangliaLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5598,7 +5609,8 @@ func (in *HAProxyLayerInitParameters) DeepCopyInto(out *HAProxyLayerInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6296,7 +6308,8 @@ func (in *HAProxyLayerObservation) DeepCopyInto(out *HAProxyLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6311,7 +6324,8 @@ func (in *HAProxyLayerObservation) DeepCopyInto(out *HAProxyLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6551,7 +6565,8 @@ func (in *HAProxyLayerParameters) DeepCopyInto(out *HAProxyLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7986,7 +8001,8 @@ func (in *JavaAppLayerInitParameters) DeepCopyInto(out *JavaAppLayerInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8679,7 +8695,8 @@ func (in *JavaAppLayerObservation) DeepCopyInto(out *JavaAppLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8694,7 +8711,8 @@ func (in *JavaAppLayerObservation) DeepCopyInto(out *JavaAppLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8929,7 +8947,8 @@ func (in *JavaAppLayerParameters) DeepCopyInto(out *JavaAppLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10257,7 +10276,8 @@ func (in *MemcachedLayerInitParameters) DeepCopyInto(out *MemcachedLayerInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10930,7 +10950,8 @@ func (in *MemcachedLayerObservation) DeepCopyInto(out *MemcachedLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10945,7 +10966,8 @@ func (in *MemcachedLayerObservation) DeepCopyInto(out *MemcachedLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11160,7 +11182,8 @@ func (in *MemcachedLayerParameters) DeepCopyInto(out *MemcachedLayerParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11845,7 +11868,8 @@ func (in *MySQLLayerInitParameters) DeepCopyInto(out *MySQLLayerInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12523,7 +12547,8 @@ func (in *MySQLLayerObservation) DeepCopyInto(out *MySQLLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12538,7 +12563,8 @@ func (in *MySQLLayerObservation) DeepCopyInto(out *MySQLLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12758,7 +12784,8 @@ func (in *MySQLLayerParameters) DeepCopyInto(out *MySQLLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -13438,7 +13465,8 @@ func (in *NodeJSAppLayerInitParameters) DeepCopyInto(out *NodeJSAppLayerInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14111,7 +14139,8 @@ func (in *NodeJSAppLayerObservation) DeepCopyInto(out *NodeJSAppLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14126,7 +14155,8 @@ func (in *NodeJSAppLayerObservation) DeepCopyInto(out *NodeJSAppLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -14341,7 +14371,8 @@ func (in *NodeJSAppLayerParameters) DeepCopyInto(out *NodeJSAppLayerParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15016,7 +15047,8 @@ func (in *PHPAppLayerInitParameters) DeepCopyInto(out *PHPAppLayerInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15684,7 +15716,8 @@ func (in *PHPAppLayerObservation) DeepCopyInto(out *PHPAppLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15699,7 +15732,8 @@ func (in *PHPAppLayerObservation) DeepCopyInto(out *PHPAppLayerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15909,7 +15943,8 @@ func (in *PHPAppLayerParameters) DeepCopyInto(out *PHPAppLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17043,7 +17078,8 @@ func (in *RailsAppLayerInitParameters) DeepCopyInto(out *RailsAppLayerInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17741,7 +17777,8 @@ func (in *RailsAppLayerObservation) DeepCopyInto(out *RailsAppLayerObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17756,7 +17793,8 @@ func (in *RailsAppLayerObservation) DeepCopyInto(out *RailsAppLayerObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -17996,7 +18034,8 @@ func (in *RailsAppLayerParameters) DeepCopyInto(out *RailsAppLayerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18346,7 +18385,8 @@ func (in *StackInitParameters) DeepCopyInto(out *StackInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18525,7 +18565,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18540,7 +18581,8 @@ func (in *StackObservation) DeepCopyInto(out *StackObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -18707,7 +18749,8 @@ func (in *StackParameters) DeepCopyInto(out *StackParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -19402,7 +19445,8 @@ func (in *StaticWebLayerInitParameters) DeepCopyInto(out *StaticWebLayerInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20070,7 +20114,8 @@ func (in *StaticWebLayerObservation) DeepCopyInto(out *StaticWebLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20085,7 +20130,8 @@ func (in *StaticWebLayerObservation) DeepCopyInto(out *StaticWebLayerObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -20295,7 +20341,8 @@ func (in *StaticWebLayerParameters) DeepCopyInto(out *StaticWebLayerParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/opsworks/v1beta1/zz_generated.managed.go b/apis/opsworks/v1beta1/zz_generated.managed.go index c2233df038..91285487d6 100644 --- a/apis/opsworks/v1beta1/zz_generated.managed.go +++ b/apis/opsworks/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Application) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Application. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Application) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Application. func (mg *Application) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Application) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Application. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Application) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Application. func (mg *Application) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *CustomLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CustomLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CustomLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CustomLayer. func (mg *CustomLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *CustomLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CustomLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CustomLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CustomLayer. func (mg *CustomLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *EcsClusterLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EcsClusterLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EcsClusterLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EcsClusterLayer. func (mg *EcsClusterLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *EcsClusterLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EcsClusterLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EcsClusterLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EcsClusterLayer. func (mg *EcsClusterLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *GangliaLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GangliaLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GangliaLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GangliaLayer. func (mg *GangliaLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *GangliaLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GangliaLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GangliaLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GangliaLayer. func (mg *GangliaLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *HAProxyLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HAProxyLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HAProxyLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HAProxyLayer. func (mg *HAProxyLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *HAProxyLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HAProxyLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HAProxyLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HAProxyLayer. func (mg *HAProxyLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Instance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Instance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Instance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Instance. func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Instance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Instance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Instance. func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *JavaAppLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this JavaAppLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *JavaAppLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this JavaAppLayer. func (mg *JavaAppLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *JavaAppLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this JavaAppLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *JavaAppLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this JavaAppLayer. func (mg *JavaAppLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *MemcachedLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MemcachedLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MemcachedLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MemcachedLayer. func (mg *MemcachedLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *MemcachedLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MemcachedLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MemcachedLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MemcachedLayer. func (mg *MemcachedLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *MySQLLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MySQLLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MySQLLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MySQLLayer. func (mg *MySQLLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *MySQLLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MySQLLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MySQLLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MySQLLayer. func (mg *MySQLLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *NodeJSAppLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NodeJSAppLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NodeJSAppLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NodeJSAppLayer. func (mg *NodeJSAppLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *NodeJSAppLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NodeJSAppLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NodeJSAppLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NodeJSAppLayer. func (mg *NodeJSAppLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *PHPAppLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PHPAppLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PHPAppLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PHPAppLayer. func (mg *PHPAppLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *PHPAppLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PHPAppLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PHPAppLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PHPAppLayer. func (mg *PHPAppLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *Permission) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Permission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Permission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Permission. func (mg *Permission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *Permission) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Permission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Permission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Permission. func (mg *Permission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *RDSDBInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RDSDBInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RDSDBInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RDSDBInstance. func (mg *RDSDBInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *RDSDBInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RDSDBInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RDSDBInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RDSDBInstance. func (mg *RDSDBInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *RailsAppLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RailsAppLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RailsAppLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RailsAppLayer. func (mg *RailsAppLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *RailsAppLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RailsAppLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RailsAppLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RailsAppLayer. func (mg *RailsAppLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *Stack) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stack. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stack) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stack. func (mg *Stack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *Stack) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stack. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stack) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stack. func (mg *Stack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *StaticWebLayer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StaticWebLayer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StaticWebLayer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StaticWebLayer. func (mg *StaticWebLayer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *StaticWebLayer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StaticWebLayer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StaticWebLayer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StaticWebLayer. func (mg *StaticWebLayer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *UserProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserProfile. func (mg *UserProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *UserProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserProfile. func (mg *UserProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/opsworks/v1beta1/zz_haproxylayer_types.go b/apis/opsworks/v1beta1/zz_haproxylayer_types.go index 988dac5bb7..d94cb57b36 100755 --- a/apis/opsworks/v1beta1/zz_haproxylayer_types.go +++ b/apis/opsworks/v1beta1/zz_haproxylayer_types.go @@ -673,7 +673,7 @@ type HAProxyLayerStatus struct { type HAProxyLayer struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statsPassword) || has(self.initProvider.statsPassword)",message="statsPassword is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.statsPassword) || (has(self.initProvider) && has(self.initProvider.statsPassword))",message="spec.forProvider.statsPassword is a required parameter" Spec HAProxyLayerSpec `json:"spec"` Status HAProxyLayerStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go b/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go index 09bc57ebd3..2fccd1c80c 100755 --- a/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go +++ b/apis/opsworks/v1beta1/zz_rdsdbinstance_types.go @@ -109,8 +109,8 @@ type RDSDBInstanceStatus struct { type RDSDBInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbPasswordSecretRef)",message="dbPasswordSecretRef is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbUser) || has(self.initProvider.dbUser)",message="dbUser is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbPasswordSecretRef)",message="spec.forProvider.dbPasswordSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbUser) || (has(self.initProvider) && has(self.initProvider.dbUser))",message="spec.forProvider.dbUser is a required parameter" Spec RDSDBInstanceSpec `json:"spec"` Status RDSDBInstanceStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_stack_types.go b/apis/opsworks/v1beta1/zz_stack_types.go index a93ad969d4..1c2a9a2fe6 100755 --- a/apis/opsworks/v1beta1/zz_stack_types.go +++ b/apis/opsworks/v1beta1/zz_stack_types.go @@ -375,7 +375,7 @@ type StackStatus struct { type Stack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec StackSpec `json:"spec"` Status StackStatus `json:"status,omitempty"` } diff --git a/apis/opsworks/v1beta1/zz_userprofile_types.go b/apis/opsworks/v1beta1/zz_userprofile_types.go index 716ea2ee14..af35565a65 100755 --- a/apis/opsworks/v1beta1/zz_userprofile_types.go +++ b/apis/opsworks/v1beta1/zz_userprofile_types.go @@ -108,7 +108,7 @@ type UserProfileStatus struct { type UserProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sshUsername) || has(self.initProvider.sshUsername)",message="sshUsername is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.sshUsername) || (has(self.initProvider) && has(self.initProvider.sshUsername))",message="spec.forProvider.sshUsername is a required parameter" Spec UserProfileSpec `json:"spec"` Status UserProfileStatus `json:"status,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_account_types.go b/apis/organizations/v1beta1/zz_account_types.go index f948670020..ed5311a0f6 100755 --- a/apis/organizations/v1beta1/zz_account_types.go +++ b/apis/organizations/v1beta1/zz_account_types.go @@ -151,8 +151,8 @@ type AccountStatus struct { type Account struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || has(self.initProvider.email)",message="email is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AccountSpec `json:"spec"` Status AccountStatus `json:"status,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_delegatedadministrator_types.go b/apis/organizations/v1beta1/zz_delegatedadministrator_types.go index 37c82be65c..a3bd607fe9 100755 --- a/apis/organizations/v1beta1/zz_delegatedadministrator_types.go +++ b/apis/organizations/v1beta1/zz_delegatedadministrator_types.go @@ -113,7 +113,7 @@ type DelegatedAdministratorStatus struct { type DelegatedAdministrator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.servicePrincipal) || has(self.initProvider.servicePrincipal)",message="servicePrincipal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.servicePrincipal) || (has(self.initProvider) && has(self.initProvider.servicePrincipal))",message="spec.forProvider.servicePrincipal is a required parameter" Spec DelegatedAdministratorSpec `json:"spec"` Status DelegatedAdministratorStatus `json:"status,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_generated.deepcopy.go b/apis/organizations/v1beta1/zz_generated.deepcopy.go index c37ba9af62..9b358b0c3c 100644 --- a/apis/organizations/v1beta1/zz_generated.deepcopy.go +++ b/apis/organizations/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -82,7 +81,8 @@ func (in *AccountInitParameters) DeepCopyInto(out *AccountInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -204,7 +204,8 @@ func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -219,7 +220,8 @@ func (in *AccountObservation) DeepCopyInto(out *AccountObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -284,7 +286,8 @@ func (in *AccountParameters) DeepCopyInto(out *AccountParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1081,7 +1084,8 @@ func (in *OrganizationalUnitInitParameters) DeepCopyInto(out *OrganizationalUnit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1170,7 +1174,8 @@ func (in *OrganizationalUnitObservation) DeepCopyInto(out *OrganizationalUnitObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1185,7 +1190,8 @@ func (in *OrganizationalUnitObservation) DeepCopyInto(out *OrganizationalUnitObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1230,7 +1236,8 @@ func (in *OrganizationalUnitParameters) DeepCopyInto(out *OrganizationalUnitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1541,7 +1548,8 @@ func (in *PolicyInitParameters) DeepCopyInto(out *PolicyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1638,7 +1646,8 @@ func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1653,7 +1662,8 @@ func (in *PolicyObservation) DeepCopyInto(out *PolicyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1713,7 +1723,8 @@ func (in *PolicyParameters) DeepCopyInto(out *PolicyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/organizations/v1beta1/zz_generated.managed.go b/apis/organizations/v1beta1/zz_generated.managed.go index aab87676db..b8e875b2ba 100644 --- a/apis/organizations/v1beta1/zz_generated.managed.go +++ b/apis/organizations/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Account) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Account. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Account) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Account. func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Account. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Account) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Account. func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *DelegatedAdministrator) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DelegatedAdministrator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DelegatedAdministrator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DelegatedAdministrator. func (mg *DelegatedAdministrator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *DelegatedAdministrator) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DelegatedAdministrator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DelegatedAdministrator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DelegatedAdministrator. func (mg *DelegatedAdministrator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Organization) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Organization. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Organization) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Organization. func (mg *Organization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Organization) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Organization. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Organization) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Organization. func (mg *Organization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *OrganizationalUnit) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OrganizationalUnit. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OrganizationalUnit) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OrganizationalUnit. func (mg *OrganizationalUnit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *OrganizationalUnit) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OrganizationalUnit. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OrganizationalUnit) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OrganizationalUnit. func (mg *OrganizationalUnit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Policy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Policy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Policy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Policy. func (mg *Policy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Policy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Policy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Policy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Policy. func (mg *Policy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *PolicyAttachment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PolicyAttachment. func (mg *PolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *PolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PolicyAttachment. func (mg *PolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/organizations/v1beta1/zz_organizationalunit_types.go b/apis/organizations/v1beta1/zz_organizationalunit_types.go index 8c8dd48442..fdfe6e8fbf 100755 --- a/apis/organizations/v1beta1/zz_organizationalunit_types.go +++ b/apis/organizations/v1beta1/zz_organizationalunit_types.go @@ -126,8 +126,8 @@ type OrganizationalUnitStatus struct { type OrganizationalUnit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentId) || has(self.initProvider.parentId)",message="parentId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parentId) || (has(self.initProvider) && has(self.initProvider.parentId))",message="spec.forProvider.parentId is a required parameter" Spec OrganizationalUnitSpec `json:"spec"` Status OrganizationalUnitStatus `json:"status,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_policy_types.go b/apis/organizations/v1beta1/zz_policy_types.go index 21d0589eba..b8c48a7c59 100755 --- a/apis/organizations/v1beta1/zz_policy_types.go +++ b/apis/organizations/v1beta1/zz_policy_types.go @@ -132,8 +132,8 @@ type PolicyStatus struct { type Policy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || has(self.initProvider.content)",message="content is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PolicySpec `json:"spec"` Status PolicyStatus `json:"status,omitempty"` } diff --git a/apis/organizations/v1beta1/zz_policyattachment_types.go b/apis/organizations/v1beta1/zz_policyattachment_types.go index f2f9b2be10..a81d1b6fa2 100755 --- a/apis/organizations/v1beta1/zz_policyattachment_types.go +++ b/apis/organizations/v1beta1/zz_policyattachment_types.go @@ -101,7 +101,7 @@ type PolicyAttachmentStatus struct { type PolicyAttachment struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || has(self.initProvider.targetId)",message="targetId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetId) || (has(self.initProvider) && has(self.initProvider.targetId))",message="spec.forProvider.targetId is a required parameter" Spec PolicyAttachmentSpec `json:"spec"` Status PolicyAttachmentStatus `json:"status,omitempty"` } diff --git a/apis/pinpoint/v1beta1/zz_generated.deepcopy.go b/apis/pinpoint/v1beta1/zz_generated.deepcopy.go index 3250340c3b..66832a72f2 100644 --- a/apis/pinpoint/v1beta1/zz_generated.deepcopy.go +++ b/apis/pinpoint/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -78,7 +77,8 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -181,7 +181,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -196,7 +197,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -257,7 +259,8 @@ func (in *AppParameters) DeepCopyInto(out *AppParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/pinpoint/v1beta1/zz_generated.managed.go b/apis/pinpoint/v1beta1/zz_generated.managed.go index 1a1bf7d070..72699becdb 100644 --- a/apis/pinpoint/v1beta1/zz_generated.managed.go +++ b/apis/pinpoint/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *App) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this App. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *App) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this App. func (mg *App) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *App) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this App. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *App) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this App. func (mg *App) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *SMSChannel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SMSChannel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SMSChannel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SMSChannel. func (mg *SMSChannel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *SMSChannel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SMSChannel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SMSChannel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SMSChannel. func (mg *SMSChannel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/qldb/v1beta1/zz_generated.deepcopy.go b/apis/qldb/v1beta1/zz_generated.deepcopy.go index c35de2ee9a..86f57087ed 100644 --- a/apis/qldb/v1beta1/zz_generated.deepcopy.go +++ b/apis/qldb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -142,7 +141,8 @@ func (in *LedgerInitParameters) DeepCopyInto(out *LedgerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -229,7 +229,8 @@ func (in *LedgerObservation) DeepCopyInto(out *LedgerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -244,7 +245,8 @@ func (in *LedgerObservation) DeepCopyInto(out *LedgerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -304,7 +306,8 @@ func (in *LedgerParameters) DeepCopyInto(out *LedgerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -418,7 +421,8 @@ func (in *StreamInitParameters) DeepCopyInto(out *StreamInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -522,7 +526,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -537,7 +542,8 @@ func (in *StreamObservation) DeepCopyInto(out *StreamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -624,7 +630,8 @@ func (in *StreamParameters) DeepCopyInto(out *StreamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/qldb/v1beta1/zz_generated.managed.go b/apis/qldb/v1beta1/zz_generated.managed.go index 175cc34200..6de9dc8c60 100644 --- a/apis/qldb/v1beta1/zz_generated.managed.go +++ b/apis/qldb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Ledger) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Ledger. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Ledger) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Ledger. func (mg *Ledger) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Ledger) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Ledger. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Ledger) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Ledger. func (mg *Ledger) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Stream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Stream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Stream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Stream. func (mg *Stream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Stream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Stream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Stream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Stream. func (mg *Stream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/qldb/v1beta1/zz_ledger_types.go b/apis/qldb/v1beta1/zz_ledger_types.go index 191644b018..09563c0ff4 100755 --- a/apis/qldb/v1beta1/zz_ledger_types.go +++ b/apis/qldb/v1beta1/zz_ledger_types.go @@ -118,7 +118,7 @@ type LedgerStatus struct { type Ledger struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissionsMode) || has(self.initProvider.permissionsMode)",message="permissionsMode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.permissionsMode) || (has(self.initProvider) && has(self.initProvider.permissionsMode))",message="spec.forProvider.permissionsMode is a required parameter" Spec LedgerSpec `json:"spec"` Status LedgerStatus `json:"status,omitempty"` } diff --git a/apis/qldb/v1beta1/zz_stream_types.go b/apis/qldb/v1beta1/zz_stream_types.go index 2129bad2f0..d99d125e1d 100755 --- a/apis/qldb/v1beta1/zz_stream_types.go +++ b/apis/qldb/v1beta1/zz_stream_types.go @@ -192,9 +192,9 @@ type StreamStatus struct { type Stream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inclusiveStartTime) || has(self.initProvider.inclusiveStartTime)",message="inclusiveStartTime is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kinesisConfiguration) || has(self.initProvider.kinesisConfiguration)",message="kinesisConfiguration is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.streamName) || has(self.initProvider.streamName)",message="streamName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inclusiveStartTime) || (has(self.initProvider) && has(self.initProvider.inclusiveStartTime))",message="spec.forProvider.inclusiveStartTime is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.kinesisConfiguration) || (has(self.initProvider) && has(self.initProvider.kinesisConfiguration))",message="spec.forProvider.kinesisConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.streamName) || (has(self.initProvider) && has(self.initProvider.streamName))",message="spec.forProvider.streamName is a required parameter" Spec StreamSpec `json:"spec"` Status StreamStatus `json:"status,omitempty"` } diff --git a/apis/quicksight/v1beta1/zz_generated.deepcopy.go b/apis/quicksight/v1beta1/zz_generated.deepcopy.go index 20a02d0072..811eabc7ef 100644 --- a/apis/quicksight/v1beta1/zz_generated.deepcopy.go +++ b/apis/quicksight/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/quicksight/v1beta1/zz_generated.managed.go b/apis/quicksight/v1beta1/zz_generated.managed.go index f191d8a96f..090d1d1028 100644 --- a/apis/quicksight/v1beta1/zz_generated.managed.go +++ b/apis/quicksight/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Group) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Group. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Group) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Group. func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Group) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Group. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Group) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Group. func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/quicksight/v1beta1/zz_group_types.go b/apis/quicksight/v1beta1/zz_group_types.go index a7346b7fd4..4b4c9fa23e 100755 --- a/apis/quicksight/v1beta1/zz_group_types.go +++ b/apis/quicksight/v1beta1/zz_group_types.go @@ -108,7 +108,7 @@ type GroupStatus struct { type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupName) || has(self.initProvider.groupName)",message="groupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupName) || (has(self.initProvider) && has(self.initProvider.groupName))",message="spec.forProvider.groupName is a required parameter" Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` } diff --git a/apis/quicksight/v1beta1/zz_user_types.go b/apis/quicksight/v1beta1/zz_user_types.go index 935c24203b..5b40e2c52b 100755 --- a/apis/quicksight/v1beta1/zz_user_types.go +++ b/apis/quicksight/v1beta1/zz_user_types.go @@ -148,9 +148,9 @@ type UserStatus struct { type User struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || has(self.initProvider.email)",message="email is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityType) || has(self.initProvider.identityType)",message="identityType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userRole) || has(self.initProvider.userRole)",message="userRole is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.identityType) || (has(self.initProvider) && has(self.initProvider.identityType))",message="spec.forProvider.identityType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userRole) || (has(self.initProvider) && has(self.initProvider.userRole))",message="spec.forProvider.userRole is a required parameter" Spec UserSpec `json:"spec"` Status UserStatus `json:"status,omitempty"` } diff --git a/apis/ram/v1beta1/zz_generated.deepcopy.go b/apis/ram/v1beta1/zz_generated.deepcopy.go index 6b2e202eee..160f617d69 100644 --- a/apis/ram/v1beta1/zz_generated.deepcopy.go +++ b/apis/ram/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -656,7 +655,8 @@ func (in *ResourceShareInitParameters) DeepCopyInto(out *ResourceShareInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -749,7 +749,8 @@ func (in *ResourceShareObservation) DeepCopyInto(out *ResourceShareObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -764,7 +765,8 @@ func (in *ResourceShareObservation) DeepCopyInto(out *ResourceShareObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -820,7 +822,8 @@ func (in *ResourceShareParameters) DeepCopyInto(out *ResourceShareParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ram/v1beta1/zz_generated.managed.go b/apis/ram/v1beta1/zz_generated.managed.go index a418b4c27c..985ddd607b 100644 --- a/apis/ram/v1beta1/zz_generated.managed.go +++ b/apis/ram/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *PrincipalAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PrincipalAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PrincipalAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PrincipalAssociation. func (mg *PrincipalAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *PrincipalAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PrincipalAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PrincipalAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PrincipalAssociation. func (mg *PrincipalAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ResourceAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceAssociation. func (mg *ResourceAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ResourceAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceAssociation. func (mg *ResourceAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ResourceShare) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceShare. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceShare) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceShare. func (mg *ResourceShare) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ResourceShare) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceShare. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceShare) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceShare. func (mg *ResourceShare) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ResourceShareAccepter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceShareAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceShareAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceShareAccepter. func (mg *ResourceShareAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ResourceShareAccepter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceShareAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceShareAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceShareAccepter. func (mg *ResourceShareAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ram/v1beta1/zz_resourceassociation_types.go b/apis/ram/v1beta1/zz_resourceassociation_types.go index 762859a319..0675b3e38c 100755 --- a/apis/ram/v1beta1/zz_resourceassociation_types.go +++ b/apis/ram/v1beta1/zz_resourceassociation_types.go @@ -93,7 +93,7 @@ type ResourceAssociationStatus struct { type ResourceAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceArn) || has(self.initProvider.resourceArn)",message="resourceArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceArn) || (has(self.initProvider) && has(self.initProvider.resourceArn))",message="spec.forProvider.resourceArn is a required parameter" Spec ResourceAssociationSpec `json:"spec"` Status ResourceAssociationStatus `json:"status,omitempty"` } diff --git a/apis/ram/v1beta1/zz_resourceshare_types.go b/apis/ram/v1beta1/zz_resourceshare_types.go index fc6d4f751e..ca623f3b68 100755 --- a/apis/ram/v1beta1/zz_resourceshare_types.go +++ b/apis/ram/v1beta1/zz_resourceshare_types.go @@ -112,7 +112,7 @@ type ResourceShareStatus struct { type ResourceShare struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ResourceShareSpec `json:"spec"` Status ResourceShareStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clusteractivitystream_types.go b/apis/rds/v1beta1/zz_clusteractivitystream_types.go index 8a3bae998e..fcf55c9b7c 100755 --- a/apis/rds/v1beta1/zz_clusteractivitystream_types.go +++ b/apis/rds/v1beta1/zz_clusteractivitystream_types.go @@ -122,7 +122,7 @@ type ClusterActivityStreamStatus struct { type ClusterActivityStream struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mode) || has(self.initProvider.mode)",message="mode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mode) || (has(self.initProvider) && has(self.initProvider.mode))",message="spec.forProvider.mode is a required parameter" Spec ClusterActivityStreamSpec `json:"spec"` Status ClusterActivityStreamStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clusterendpoint_types.go b/apis/rds/v1beta1/zz_clusterendpoint_types.go index 2d20b047c8..c05fc7d1b9 100755 --- a/apis/rds/v1beta1/zz_clusterendpoint_types.go +++ b/apis/rds/v1beta1/zz_clusterendpoint_types.go @@ -132,7 +132,7 @@ type ClusterEndpointStatus struct { type ClusterEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.customEndpointType) || has(self.initProvider.customEndpointType)",message="customEndpointType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.customEndpointType) || (has(self.initProvider) && has(self.initProvider.customEndpointType))",message="spec.forProvider.customEndpointType is a required parameter" Spec ClusterEndpointSpec `json:"spec"` Status ClusterEndpointStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clusterinstance_types.go b/apis/rds/v1beta1/zz_clusterinstance_types.go index ecf58c9db1..8d3b894b11 100755 --- a/apis/rds/v1beta1/zz_clusterinstance_types.go +++ b/apis/rds/v1beta1/zz_clusterinstance_types.go @@ -360,7 +360,7 @@ type ClusterInstanceStatus struct { type ClusterInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || has(self.initProvider.instanceClass)",message="instanceClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || (has(self.initProvider) && has(self.initProvider.instanceClass))",message="spec.forProvider.instanceClass is a required parameter" Spec ClusterInstanceSpec `json:"spec"` Status ClusterInstanceStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clusterparametergroup_types.go b/apis/rds/v1beta1/zz_clusterparametergroup_types.go index 7c260f2e03..4756e34177 100755 --- a/apis/rds/v1beta1/zz_clusterparametergroup_types.go +++ b/apis/rds/v1beta1/zz_clusterparametergroup_types.go @@ -157,7 +157,7 @@ type ClusterParameterGroupStatus struct { type ClusterParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ClusterParameterGroupSpec `json:"spec"` Status ClusterParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clusterroleassociation_types.go b/apis/rds/v1beta1/zz_clusterroleassociation_types.go index 52cfc23faa..76af3a17f7 100755 --- a/apis/rds/v1beta1/zz_clusterroleassociation_types.go +++ b/apis/rds/v1beta1/zz_clusterroleassociation_types.go @@ -110,7 +110,7 @@ type ClusterRoleAssociationStatus struct { type ClusterRoleAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureName) || has(self.initProvider.featureName)",message="featureName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureName) || (has(self.initProvider) && has(self.initProvider.featureName))",message="spec.forProvider.featureName is a required parameter" Spec ClusterRoleAssociationSpec `json:"spec"` Status ClusterRoleAssociationStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_clustersnapshot_types.go b/apis/rds/v1beta1/zz_clustersnapshot_types.go index 2008fa2028..444dc13aa3 100755 --- a/apis/rds/v1beta1/zz_clustersnapshot_types.go +++ b/apis/rds/v1beta1/zz_clustersnapshot_types.go @@ -143,7 +143,7 @@ type ClusterSnapshotStatus struct { type ClusterSnapshot struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbClusterSnapshotIdentifier) || has(self.initProvider.dbClusterSnapshotIdentifier)",message="dbClusterSnapshotIdentifier is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.dbClusterSnapshotIdentifier) || (has(self.initProvider) && has(self.initProvider.dbClusterSnapshotIdentifier))",message="spec.forProvider.dbClusterSnapshotIdentifier is a required parameter" Spec ClusterSnapshotSpec `json:"spec"` Status ClusterSnapshotStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go b/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go index 0a0d77b314..282acc6819 100755 --- a/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go +++ b/apis/rds/v1beta1/zz_dbsnapshotcopy_types.go @@ -209,7 +209,7 @@ type DBSnapshotCopyStatus struct { type DBSnapshotCopy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetDbSnapshotIdentifier) || has(self.initProvider.targetDbSnapshotIdentifier)",message="targetDbSnapshotIdentifier is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetDbSnapshotIdentifier) || (has(self.initProvider) && has(self.initProvider.targetDbSnapshotIdentifier))",message="spec.forProvider.targetDbSnapshotIdentifier is a required parameter" Spec DBSnapshotCopySpec `json:"spec"` Status DBSnapshotCopyStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_generated.deepcopy.go b/apis/rds/v1beta1/zz_generated.deepcopy.go index c4eecfeaf3..65bcc4cd95 100644 --- a/apis/rds/v1beta1/zz_generated.deepcopy.go +++ b/apis/rds/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -530,7 +529,8 @@ func (in *ClusterEndpointInitParameters) DeepCopyInto(out *ClusterEndpointInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -639,7 +639,8 @@ func (in *ClusterEndpointObservation) DeepCopyInto(out *ClusterEndpointObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -654,7 +655,8 @@ func (in *ClusterEndpointObservation) DeepCopyInto(out *ClusterEndpointObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -731,7 +733,8 @@ func (in *ClusterEndpointParameters) DeepCopyInto(out *ClusterEndpointParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1017,7 +1020,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1154,7 +1158,8 @@ func (in *ClusterInstanceInitParameters) DeepCopyInto(out *ClusterInstanceInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1361,7 +1366,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1376,7 +1382,8 @@ func (in *ClusterInstanceObservation) DeepCopyInto(out *ClusterInstanceObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1556,7 +1563,8 @@ func (in *ClusterInstanceParameters) DeepCopyInto(out *ClusterInstanceParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2002,7 +2010,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2017,7 +2026,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2102,7 +2112,8 @@ func (in *ClusterParameterGroupInitParameters) DeepCopyInto(out *ClusterParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2191,7 +2202,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2206,7 +2218,8 @@ func (in *ClusterParameterGroupObservation) DeepCopyInto(out *ClusterParameterGr if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2348,7 +2361,8 @@ func (in *ClusterParameterGroupParameters) DeepCopyInto(out *ClusterParameterGro if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2689,7 +2703,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3213,7 +3228,8 @@ func (in *ClusterSnapshotInitParameters) DeepCopyInto(out *ClusterSnapshotInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3356,7 +3372,8 @@ func (in *ClusterSnapshotObservation) DeepCopyInto(out *ClusterSnapshotObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3371,7 +3388,8 @@ func (in *ClusterSnapshotObservation) DeepCopyInto(out *ClusterSnapshotObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3431,7 +3449,8 @@ func (in *ClusterSnapshotParameters) DeepCopyInto(out *ClusterSnapshotParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3935,7 +3954,8 @@ func (in *DBSnapshotCopyInitParameters) DeepCopyInto(out *DBSnapshotCopyInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4102,7 +4122,8 @@ func (in *DBSnapshotCopyObservation) DeepCopyInto(out *DBSnapshotCopyObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4117,7 +4138,8 @@ func (in *DBSnapshotCopyObservation) DeepCopyInto(out *DBSnapshotCopyObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4217,7 +4239,8 @@ func (in *DBSnapshotCopyParameters) DeepCopyInto(out *DBSnapshotCopyParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4351,7 +4374,8 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4465,7 +4489,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4480,7 +4505,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4562,7 +4588,8 @@ func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5258,7 +5285,8 @@ func (in *InstanceInitParameters) DeepCopyInto(out *InstanceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5693,7 +5721,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5708,7 +5737,8 @@ func (in *InstanceObservation) DeepCopyInto(out *InstanceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6117,7 +6147,8 @@ func (in *InstanceParameters) DeepCopyInto(out *InstanceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6588,7 +6619,8 @@ func (in *OptionGroupInitParameters) DeepCopyInto(out *OptionGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6682,7 +6714,8 @@ func (in *OptionGroupObservation) DeepCopyInto(out *OptionGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6697,7 +6730,8 @@ func (in *OptionGroupObservation) DeepCopyInto(out *OptionGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6754,7 +6788,8 @@ func (in *OptionGroupParameters) DeepCopyInto(out *OptionGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7115,7 +7150,8 @@ func (in *ParameterGroupInitParameters) DeepCopyInto(out *ParameterGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7204,7 +7240,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7219,7 +7256,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7271,7 +7309,8 @@ func (in *ParameterGroupParameters) DeepCopyInto(out *ParameterGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7680,7 +7719,8 @@ func (in *ProxyEndpointInitParameters) DeepCopyInto(out *ProxyEndpointInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7783,7 +7823,8 @@ func (in *ProxyEndpointObservation) DeepCopyInto(out *ProxyEndpointObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7798,7 +7839,8 @@ func (in *ProxyEndpointObservation) DeepCopyInto(out *ProxyEndpointObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7880,7 +7922,8 @@ func (in *ProxyEndpointParameters) DeepCopyInto(out *ProxyEndpointParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8011,7 +8054,8 @@ func (in *ProxyInitParameters) DeepCopyInto(out *ProxyInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8131,7 +8175,8 @@ func (in *ProxyObservation) DeepCopyInto(out *ProxyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8146,7 +8191,8 @@ func (in *ProxyObservation) DeepCopyInto(out *ProxyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8245,7 +8291,8 @@ func (in *ProxyParameters) DeepCopyInto(out *ProxyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9066,7 +9113,8 @@ func (in *SnapshotInitParameters) DeepCopyInto(out *SnapshotInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9229,7 +9277,8 @@ func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9244,7 +9293,8 @@ func (in *SnapshotObservation) DeepCopyInto(out *SnapshotObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9310,7 +9360,8 @@ func (in *SnapshotParameters) DeepCopyInto(out *SnapshotParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9407,7 +9458,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9506,7 +9558,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9521,7 +9574,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9589,7 +9643,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/rds/v1beta1/zz_generated.managed.go b/apis/rds/v1beta1/zz_generated.managed.go index 5f9427e21e..2e0720957b 100644 --- a/apis/rds/v1beta1/zz_generated.managed.go +++ b/apis/rds/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ClusterActivityStream) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterActivityStream. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterActivityStream) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterActivityStream. func (mg *ClusterActivityStream) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ClusterActivityStream) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterActivityStream. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterActivityStream) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterActivityStream. func (mg *ClusterActivityStream) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ClusterEndpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterEndpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterEndpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterEndpoint. func (mg *ClusterEndpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ClusterEndpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterEndpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterEndpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterEndpoint. func (mg *ClusterEndpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ClusterInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ClusterInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterInstance. func (mg *ClusterInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ClusterParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ClusterParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterParameterGroup. func (mg *ClusterParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ClusterRoleAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterRoleAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterRoleAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterRoleAssociation. func (mg *ClusterRoleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ClusterRoleAssociation) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterRoleAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterRoleAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterRoleAssociation. func (mg *ClusterRoleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ClusterSnapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ClusterSnapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ClusterSnapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ClusterSnapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ClusterSnapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ClusterSnapshot. func (mg *ClusterSnapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *DBInstanceAutomatedBackupsReplication) GetProviderConfigReference() *x return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DBInstanceAutomatedBackupsReplication. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DBInstanceAutomatedBackupsReplication) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DBInstanceAutomatedBackupsReplication. func (mg *DBInstanceAutomatedBackupsReplication) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *DBInstanceAutomatedBackupsReplication) SetProviderConfigReference(r *x mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DBInstanceAutomatedBackupsReplication. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DBInstanceAutomatedBackupsReplication) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DBInstanceAutomatedBackupsReplication. func (mg *DBInstanceAutomatedBackupsReplication) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *DBSnapshotCopy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DBSnapshotCopy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DBSnapshotCopy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DBSnapshotCopy. func (mg *DBSnapshotCopy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *DBSnapshotCopy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DBSnapshotCopy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DBSnapshotCopy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DBSnapshotCopy. func (mg *DBSnapshotCopy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *GlobalCluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GlobalCluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GlobalCluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *GlobalCluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GlobalCluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GlobalCluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GlobalCluster. func (mg *GlobalCluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *Instance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Instance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Instance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Instance. func (mg *Instance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *Instance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Instance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Instance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Instance. func (mg *Instance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *InstanceRoleAssociation) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InstanceRoleAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InstanceRoleAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InstanceRoleAssociation. func (mg *InstanceRoleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *InstanceRoleAssociation) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InstanceRoleAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InstanceRoleAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InstanceRoleAssociation. func (mg *InstanceRoleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *OptionGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this OptionGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *OptionGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this OptionGroup. func (mg *OptionGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *OptionGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this OptionGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *OptionGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this OptionGroup. func (mg *OptionGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *Proxy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Proxy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Proxy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Proxy. func (mg *Proxy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *Proxy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Proxy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Proxy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Proxy. func (mg *Proxy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *ProxyDefaultTargetGroup) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProxyDefaultTargetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProxyDefaultTargetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProxyDefaultTargetGroup. func (mg *ProxyDefaultTargetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *ProxyDefaultTargetGroup) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProxyDefaultTargetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProxyDefaultTargetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProxyDefaultTargetGroup. func (mg *ProxyDefaultTargetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *ProxyEndpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProxyEndpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProxyEndpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProxyEndpoint. func (mg *ProxyEndpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *ProxyEndpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProxyEndpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProxyEndpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProxyEndpoint. func (mg *ProxyEndpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *ProxyTarget) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProxyTarget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProxyTarget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProxyTarget. func (mg *ProxyTarget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *ProxyTarget) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProxyTarget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProxyTarget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProxyTarget. func (mg *ProxyTarget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Snapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Snapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Snapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Snapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/rds/v1beta1/zz_instance_types.go b/apis/rds/v1beta1/zz_instance_types.go index fa3bb6a624..779de664ff 100755 --- a/apis/rds/v1beta1/zz_instance_types.go +++ b/apis/rds/v1beta1/zz_instance_types.go @@ -1116,7 +1116,7 @@ type InstanceStatus struct { type Instance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || has(self.initProvider.instanceClass)",message="instanceClass is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceClass) || (has(self.initProvider) && has(self.initProvider.instanceClass))",message="spec.forProvider.instanceClass is a required parameter" Spec InstanceSpec `json:"spec"` Status InstanceStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_instanceroleassociation_types.go b/apis/rds/v1beta1/zz_instanceroleassociation_types.go index b8c5d7ffdd..c8d0af30a2 100755 --- a/apis/rds/v1beta1/zz_instanceroleassociation_types.go +++ b/apis/rds/v1beta1/zz_instanceroleassociation_types.go @@ -110,7 +110,7 @@ type InstanceRoleAssociationStatus struct { type InstanceRoleAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureName) || has(self.initProvider.featureName)",message="featureName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureName) || (has(self.initProvider) && has(self.initProvider.featureName))",message="spec.forProvider.featureName is a required parameter" Spec InstanceRoleAssociationSpec `json:"spec"` Status InstanceRoleAssociationStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_optiongroup_types.go b/apis/rds/v1beta1/zz_optiongroup_types.go index 155bfacd03..cbcdf07742 100755 --- a/apis/rds/v1beta1/zz_optiongroup_types.go +++ b/apis/rds/v1beta1/zz_optiongroup_types.go @@ -220,8 +220,8 @@ type OptionGroupStatus struct { type OptionGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineName) || has(self.initProvider.engineName)",message="engineName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.majorEngineVersion) || has(self.initProvider.majorEngineVersion)",message="majorEngineVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineName) || (has(self.initProvider) && has(self.initProvider.engineName))",message="spec.forProvider.engineName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.majorEngineVersion) || (has(self.initProvider) && has(self.initProvider.majorEngineVersion))",message="spec.forProvider.majorEngineVersion is a required parameter" Spec OptionGroupSpec `json:"spec"` Status OptionGroupStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_parametergroup_types.go b/apis/rds/v1beta1/zz_parametergroup_types.go index de12ac8635..ea6cd02829 100755 --- a/apis/rds/v1beta1/zz_parametergroup_types.go +++ b/apis/rds/v1beta1/zz_parametergroup_types.go @@ -157,7 +157,7 @@ type ParameterGroupStatus struct { type ParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" Spec ParameterGroupSpec `json:"spec"` Status ParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_proxy_types.go b/apis/rds/v1beta1/zz_proxy_types.go index f0e14613df..82247b8a21 100755 --- a/apis/rds/v1beta1/zz_proxy_types.go +++ b/apis/rds/v1beta1/zz_proxy_types.go @@ -256,9 +256,9 @@ type ProxyStatus struct { type Proxy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.auth) || has(self.initProvider.auth)",message="auth is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineFamily) || has(self.initProvider.engineFamily)",message="engineFamily is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) || has(self.initProvider.vpcSubnetIds)",message="vpcSubnetIds is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.auth) || (has(self.initProvider) && has(self.initProvider.auth))",message="spec.forProvider.auth is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.engineFamily) || (has(self.initProvider) && has(self.initProvider.engineFamily))",message="spec.forProvider.engineFamily is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) || (has(self.initProvider) && has(self.initProvider.vpcSubnetIds))",message="spec.forProvider.vpcSubnetIds is a required parameter" Spec ProxySpec `json:"spec"` Status ProxyStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_proxyendpoint_types.go b/apis/rds/v1beta1/zz_proxyendpoint_types.go index 98e65a0096..38a6084c5e 100755 --- a/apis/rds/v1beta1/zz_proxyendpoint_types.go +++ b/apis/rds/v1beta1/zz_proxyendpoint_types.go @@ -144,7 +144,7 @@ type ProxyEndpointStatus struct { type ProxyEndpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) || has(self.initProvider.vpcSubnetIds)",message="vpcSubnetIds is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) || (has(self.initProvider) && has(self.initProvider.vpcSubnetIds))",message="spec.forProvider.vpcSubnetIds is a required parameter" Spec ProxyEndpointSpec `json:"spec"` Status ProxyEndpointStatus `json:"status,omitempty"` } diff --git a/apis/rds/v1beta1/zz_proxytarget_types.go b/apis/rds/v1beta1/zz_proxytarget_types.go index 4f752175cb..0a799ad764 100755 --- a/apis/rds/v1beta1/zz_proxytarget_types.go +++ b/apis/rds/v1beta1/zz_proxytarget_types.go @@ -137,7 +137,7 @@ type ProxyTargetStatus struct { type ProxyTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetGroupName) || has(self.initProvider.targetGroupName)",message="targetGroupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetGroupName) || (has(self.initProvider) && has(self.initProvider.targetGroupName))",message="spec.forProvider.targetGroupName is a required parameter" Spec ProxyTargetSpec `json:"spec"` Status ProxyTargetStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_authenticationprofile_types.go b/apis/redshift/v1beta1/zz_authenticationprofile_types.go index 0b67f26f80..ac27dc0d03 100755 --- a/apis/redshift/v1beta1/zz_authenticationprofile_types.go +++ b/apis/redshift/v1beta1/zz_authenticationprofile_types.go @@ -76,7 +76,7 @@ type AuthenticationProfileStatus struct { type AuthenticationProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationProfileContent) || has(self.initProvider.authenticationProfileContent)",message="authenticationProfileContent is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authenticationProfileContent) || (has(self.initProvider) && has(self.initProvider.authenticationProfileContent))",message="spec.forProvider.authenticationProfileContent is a required parameter" Spec AuthenticationProfileSpec `json:"spec"` Status AuthenticationProfileStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_cluster_types.go b/apis/redshift/v1beta1/zz_cluster_types.go index eca8bb9408..3e1e5dbac0 100755 --- a/apis/redshift/v1beta1/zz_cluster_types.go +++ b/apis/redshift/v1beta1/zz_cluster_types.go @@ -630,7 +630,7 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || has(self.initProvider.nodeType)",message="nodeType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.nodeType) || (has(self.initProvider) && has(self.initProvider.nodeType))",message="spec.forProvider.nodeType is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_generated.deepcopy.go b/apis/redshift/v1beta1/zz_generated.deepcopy.go index af82bcb106..93ce97e1eb 100644 --- a/apis/redshift/v1beta1/zz_generated.deepcopy.go +++ b/apis/redshift/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -391,7 +390,8 @@ func (in *ClusterInitParameters) DeepCopyInto(out *ClusterInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -731,7 +731,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -746,7 +747,8 @@ func (in *ClusterObservation) DeepCopyInto(out *ClusterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1025,7 +1027,8 @@ func (in *ClusterParameters) DeepCopyInto(out *ClusterParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1177,7 +1180,8 @@ func (in *EventSubscriptionInitParameters) DeepCopyInto(out *EventSubscriptionIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1301,7 +1305,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1316,7 +1321,8 @@ func (in *EventSubscriptionObservation) DeepCopyInto(out *EventSubscriptionObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1403,7 +1409,8 @@ func (in *EventSubscriptionParameters) DeepCopyInto(out *EventSubscriptionParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1495,7 +1502,8 @@ func (in *HSMClientCertificateInitParameters) DeepCopyInto(out *HSMClientCertifi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1572,7 +1580,8 @@ func (in *HSMClientCertificateObservation) DeepCopyInto(out *HSMClientCertificat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1587,7 +1596,8 @@ func (in *HSMClientCertificateObservation) DeepCopyInto(out *HSMClientCertificat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1622,7 +1632,8 @@ func (in *HSMClientCertificateParameters) DeepCopyInto(out *HSMClientCertificate if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1734,7 +1745,8 @@ func (in *HSMConfigurationInitParameters) DeepCopyInto(out *HSMConfigurationInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1826,7 +1838,8 @@ func (in *HSMConfigurationObservation) DeepCopyInto(out *HSMConfigurationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1841,7 +1854,8 @@ func (in *HSMConfigurationObservation) DeepCopyInto(out *HSMConfigurationObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1897,7 +1911,8 @@ func (in *HSMConfigurationParameters) DeepCopyInto(out *HSMConfigurationParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2149,7 +2164,8 @@ func (in *ParameterGroupInitParameters) DeepCopyInto(out *ParameterGroupInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2243,7 +2259,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2258,7 +2275,8 @@ func (in *ParameterGroupObservation) DeepCopyInto(out *ParameterGroupObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2315,7 +2333,8 @@ func (in *ParameterGroupParameters) DeepCopyInto(out *ParameterGroupParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2992,7 +3011,8 @@ func (in *SnapshotCopyGrantInitParameters) DeepCopyInto(out *SnapshotCopyGrantIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3074,7 +3094,8 @@ func (in *SnapshotCopyGrantObservation) DeepCopyInto(out *SnapshotCopyGrantObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3089,7 +3110,8 @@ func (in *SnapshotCopyGrantObservation) DeepCopyInto(out *SnapshotCopyGrantObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3144,7 +3166,8 @@ func (in *SnapshotCopyGrantParameters) DeepCopyInto(out *SnapshotCopyGrantParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3536,7 +3559,8 @@ func (in *SnapshotScheduleInitParameters) DeepCopyInto(out *SnapshotScheduleInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3629,7 +3653,8 @@ func (in *SnapshotScheduleObservation) DeepCopyInto(out *SnapshotScheduleObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3644,7 +3669,8 @@ func (in *SnapshotScheduleObservation) DeepCopyInto(out *SnapshotScheduleObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3700,7 +3726,8 @@ func (in *SnapshotScheduleParameters) DeepCopyInto(out *SnapshotScheduleParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3797,7 +3824,8 @@ func (in *SubnetGroupInitParameters) DeepCopyInto(out *SubnetGroupInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3885,7 +3913,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3900,7 +3929,8 @@ func (in *SubnetGroupObservation) DeepCopyInto(out *SubnetGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3963,7 +3993,8 @@ func (in *SubnetGroupParameters) DeepCopyInto(out *SubnetGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4188,7 +4219,8 @@ func (in *UsageLimitInitParameters) DeepCopyInto(out *UsageLimitInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4290,7 +4322,8 @@ func (in *UsageLimitObservation) DeepCopyInto(out *UsageLimitObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4305,7 +4338,8 @@ func (in *UsageLimitObservation) DeepCopyInto(out *UsageLimitObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4380,7 +4414,8 @@ func (in *UsageLimitParameters) DeepCopyInto(out *UsageLimitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/redshift/v1beta1/zz_generated.managed.go b/apis/redshift/v1beta1/zz_generated.managed.go index eddff700c1..ed0dfcd980 100644 --- a/apis/redshift/v1beta1/zz_generated.managed.go +++ b/apis/redshift/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AuthenticationProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AuthenticationProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AuthenticationProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AuthenticationProfile. func (mg *AuthenticationProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AuthenticationProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AuthenticationProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AuthenticationProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AuthenticationProfile. func (mg *AuthenticationProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *EventSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *EventSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventSubscription. func (mg *EventSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *HSMClientCertificate) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HSMClientCertificate. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HSMClientCertificate) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HSMClientCertificate. func (mg *HSMClientCertificate) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *HSMClientCertificate) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HSMClientCertificate. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HSMClientCertificate) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HSMClientCertificate. func (mg *HSMClientCertificate) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *HSMConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HSMConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HSMConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HSMConfiguration. func (mg *HSMConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *HSMConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HSMConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HSMConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HSMConfiguration. func (mg *HSMConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ParameterGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ParameterGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ParameterGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ParameterGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ParameterGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ParameterGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ParameterGroup. func (mg *ParameterGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ScheduledAction) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ScheduledAction. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ScheduledAction) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ScheduledAction. func (mg *ScheduledAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ScheduledAction) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ScheduledAction. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ScheduledAction) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ScheduledAction. func (mg *ScheduledAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *SnapshotCopyGrant) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SnapshotCopyGrant. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SnapshotCopyGrant) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SnapshotCopyGrant. func (mg *SnapshotCopyGrant) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *SnapshotCopyGrant) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SnapshotCopyGrant. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SnapshotCopyGrant) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SnapshotCopyGrant. func (mg *SnapshotCopyGrant) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *SnapshotSchedule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SnapshotSchedule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SnapshotSchedule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SnapshotSchedule. func (mg *SnapshotSchedule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *SnapshotSchedule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SnapshotSchedule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SnapshotSchedule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SnapshotSchedule. func (mg *SnapshotSchedule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *SnapshotScheduleAssociation) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SnapshotScheduleAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SnapshotScheduleAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SnapshotScheduleAssociation. func (mg *SnapshotScheduleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *SnapshotScheduleAssociation) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SnapshotScheduleAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SnapshotScheduleAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SnapshotScheduleAssociation. func (mg *SnapshotScheduleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *SubnetGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SubnetGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SubnetGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *SubnetGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SubnetGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SubnetGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SubnetGroup. func (mg *SubnetGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *UsageLimit) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UsageLimit. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UsageLimit) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UsageLimit. func (mg *UsageLimit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *UsageLimit) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UsageLimit. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UsageLimit) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UsageLimit. func (mg *UsageLimit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/redshift/v1beta1/zz_hsmconfiguration_types.go b/apis/redshift/v1beta1/zz_hsmconfiguration_types.go index ab42657c23..5928eb4ba3 100755 --- a/apis/redshift/v1beta1/zz_hsmconfiguration_types.go +++ b/apis/redshift/v1beta1/zz_hsmconfiguration_types.go @@ -125,11 +125,11 @@ type HSMConfigurationStatus struct { type HSMConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmIpAddress) || has(self.initProvider.hsmIpAddress)",message="hsmIpAddress is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmPartitionName) || has(self.initProvider.hsmPartitionName)",message="hsmPartitionName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmPartitionPasswordSecretRef)",message="hsmPartitionPasswordSecretRef is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmServerPublicCertificate) || has(self.initProvider.hsmServerPublicCertificate)",message="hsmServerPublicCertificate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmIpAddress) || (has(self.initProvider) && has(self.initProvider.hsmIpAddress))",message="spec.forProvider.hsmIpAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmPartitionName) || (has(self.initProvider) && has(self.initProvider.hsmPartitionName))",message="spec.forProvider.hsmPartitionName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmPartitionPasswordSecretRef)",message="spec.forProvider.hsmPartitionPasswordSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.hsmServerPublicCertificate) || (has(self.initProvider) && has(self.initProvider.hsmServerPublicCertificate))",message="spec.forProvider.hsmServerPublicCertificate is a required parameter" Spec HSMConfigurationSpec `json:"spec"` Status HSMConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_parametergroup_types.go b/apis/redshift/v1beta1/zz_parametergroup_types.go index f5f510a737..1d5a9d3988 100755 --- a/apis/redshift/v1beta1/zz_parametergroup_types.go +++ b/apis/redshift/v1beta1/zz_parametergroup_types.go @@ -151,8 +151,8 @@ type ParameterGroupStatus struct { type ParameterGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || has(self.initProvider.family)",message="family is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.family) || (has(self.initProvider) && has(self.initProvider.family))",message="spec.forProvider.family is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ParameterGroupSpec `json:"spec"` Status ParameterGroupStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_scheduledaction_types.go b/apis/redshift/v1beta1/zz_scheduledaction_types.go index be350ae63a..c599273656 100755 --- a/apis/redshift/v1beta1/zz_scheduledaction_types.go +++ b/apis/redshift/v1beta1/zz_scheduledaction_types.go @@ -279,8 +279,8 @@ type ScheduledActionStatus struct { type ScheduledAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || has(self.initProvider.schedule)",message="schedule is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetAction) || has(self.initProvider.targetAction)",message="targetAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.schedule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetAction) || (has(self.initProvider) && has(self.initProvider.targetAction))",message="spec.forProvider.targetAction is a required parameter" Spec ScheduledActionSpec `json:"spec"` Status ScheduledActionStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go b/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go index baa7ed3188..a0c6827515 100755 --- a/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go +++ b/apis/redshift/v1beta1/zz_snapshotcopygrant_types.go @@ -107,7 +107,7 @@ type SnapshotCopyGrantStatus struct { type SnapshotCopyGrant struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.snapshotCopyGrantName) || has(self.initProvider.snapshotCopyGrantName)",message="snapshotCopyGrantName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.snapshotCopyGrantName) || (has(self.initProvider) && has(self.initProvider.snapshotCopyGrantName))",message="spec.forProvider.snapshotCopyGrantName is a required parameter" Spec SnapshotCopyGrantSpec `json:"spec"` Status SnapshotCopyGrantStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_snapshotschedule_types.go b/apis/redshift/v1beta1/zz_snapshotschedule_types.go index 7943b5beba..940ca05491 100755 --- a/apis/redshift/v1beta1/zz_snapshotschedule_types.go +++ b/apis/redshift/v1beta1/zz_snapshotschedule_types.go @@ -111,7 +111,7 @@ type SnapshotScheduleStatus struct { type SnapshotSchedule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definitions) || has(self.initProvider.definitions)",message="definitions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definitions) || (has(self.initProvider) && has(self.initProvider.definitions))",message="spec.forProvider.definitions is a required parameter" Spec SnapshotScheduleSpec `json:"spec"` Status SnapshotScheduleStatus `json:"status,omitempty"` } diff --git a/apis/redshift/v1beta1/zz_usagelimit_types.go b/apis/redshift/v1beta1/zz_usagelimit_types.go index ce7523d83f..660617023c 100755 --- a/apis/redshift/v1beta1/zz_usagelimit_types.go +++ b/apis/redshift/v1beta1/zz_usagelimit_types.go @@ -149,9 +149,9 @@ type UsageLimitStatus struct { type UsageLimit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amount) || has(self.initProvider.amount)",message="amount is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureType) || has(self.initProvider.featureType)",message="featureType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.limitType) || has(self.initProvider.limitType)",message="limitType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amount) || (has(self.initProvider) && has(self.initProvider.amount))",message="spec.forProvider.amount is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureType) || (has(self.initProvider) && has(self.initProvider.featureType))",message="spec.forProvider.featureType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.limitType) || (has(self.initProvider) && has(self.initProvider.limitType))",message="spec.forProvider.limitType is a required parameter" Spec UsageLimitSpec `json:"spec"` Status UsageLimitStatus `json:"status,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go b/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go index 856d20d1bf..abea339832 100755 --- a/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go +++ b/apis/redshiftserverless/v1beta1/zz_endpointaccess_types.go @@ -163,7 +163,7 @@ type EndpointAccessStatus struct { type EndpointAccess struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workgroupName) || has(self.initProvider.workgroupName)",message="workgroupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workgroupName) || (has(self.initProvider) && has(self.initProvider.workgroupName))",message="spec.forProvider.workgroupName is a required parameter" Spec EndpointAccessSpec `json:"spec"` Status EndpointAccessStatus `json:"status,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go b/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go index 301858c3f2..11642bfbc9 100644 --- a/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go +++ b/apis/redshiftserverless/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -586,7 +585,8 @@ func (in *RedshiftServerlessNamespaceInitParameters) DeepCopyInto(out *RedshiftS if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -700,7 +700,8 @@ func (in *RedshiftServerlessNamespaceObservation) DeepCopyInto(out *RedshiftServ if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -715,7 +716,8 @@ func (in *RedshiftServerlessNamespaceObservation) DeepCopyInto(out *RedshiftServ if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -829,7 +831,8 @@ func (in *RedshiftServerlessNamespaceParameters) DeepCopyInto(out *RedshiftServe if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1724,7 +1727,8 @@ func (in *WorkgroupInitParameters) DeepCopyInto(out *WorkgroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1852,7 +1856,8 @@ func (in *WorkgroupObservation) DeepCopyInto(out *WorkgroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1867,7 +1872,8 @@ func (in *WorkgroupObservation) DeepCopyInto(out *WorkgroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1980,7 +1986,8 @@ func (in *WorkgroupParameters) DeepCopyInto(out *WorkgroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/redshiftserverless/v1beta1/zz_generated.managed.go b/apis/redshiftserverless/v1beta1/zz_generated.managed.go index f5840d8f82..d13f3812bb 100644 --- a/apis/redshiftserverless/v1beta1/zz_generated.managed.go +++ b/apis/redshiftserverless/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *EndpointAccess) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EndpointAccess. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EndpointAccess) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EndpointAccess. func (mg *EndpointAccess) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *EndpointAccess) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EndpointAccess. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EndpointAccess) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EndpointAccess. func (mg *EndpointAccess) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RedshiftServerlessNamespace) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RedshiftServerlessNamespace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RedshiftServerlessNamespace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RedshiftServerlessNamespace. func (mg *RedshiftServerlessNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RedshiftServerlessNamespace) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RedshiftServerlessNamespace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RedshiftServerlessNamespace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RedshiftServerlessNamespace. func (mg *RedshiftServerlessNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *ResourcePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourcePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourcePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *ResourcePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourcePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourcePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourcePolicy. func (mg *ResourcePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Snapshot) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Snapshot. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Snapshot) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Snapshot) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Snapshot. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Snapshot) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Snapshot. func (mg *Snapshot) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *UsageLimit) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UsageLimit. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UsageLimit) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UsageLimit. func (mg *UsageLimit) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *UsageLimit) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UsageLimit. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UsageLimit) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UsageLimit. func (mg *UsageLimit) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Workgroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workgroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workgroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workgroup. func (mg *Workgroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Workgroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workgroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workgroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workgroup. func (mg *Workgroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go b/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go index 4b8b75764d..9e7087465c 100755 --- a/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go +++ b/apis/redshiftserverless/v1beta1/zz_resourcepolicy_types.go @@ -93,7 +93,7 @@ type ResourcePolicyStatus struct { type ResourcePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec ResourcePolicySpec `json:"spec"` Status ResourcePolicyStatus `json:"status,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go b/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go index ac52e9ae68..c3f6aedc69 100755 --- a/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go +++ b/apis/redshiftserverless/v1beta1/zz_usagelimit_types.go @@ -126,8 +126,8 @@ type UsageLimitStatus struct { type UsageLimit struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amount) || has(self.initProvider.amount)",message="amount is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.usageType) || has(self.initProvider.usageType)",message="usageType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.amount) || (has(self.initProvider) && has(self.initProvider.amount))",message="spec.forProvider.amount is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.usageType) || (has(self.initProvider) && has(self.initProvider.usageType))",message="spec.forProvider.usageType is a required parameter" Spec UsageLimitSpec `json:"spec"` Status UsageLimitStatus `json:"status,omitempty"` } diff --git a/apis/redshiftserverless/v1beta1/zz_workgroup_types.go b/apis/redshiftserverless/v1beta1/zz_workgroup_types.go index 0cba8b05a3..bbe0cb93da 100755 --- a/apis/redshiftserverless/v1beta1/zz_workgroup_types.go +++ b/apis/redshiftserverless/v1beta1/zz_workgroup_types.go @@ -260,7 +260,7 @@ type WorkgroupStatus struct { type Workgroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.namespaceName) || has(self.initProvider.namespaceName)",message="namespaceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.namespaceName) || (has(self.initProvider) && has(self.initProvider.namespaceName))",message="spec.forProvider.namespaceName is a required parameter" Spec WorkgroupSpec `json:"spec"` Status WorkgroupStatus `json:"status,omitempty"` } diff --git a/apis/resourcegroups/v1beta1/zz_generated.deepcopy.go b/apis/resourcegroups/v1beta1/zz_generated.deepcopy.go index 741525ed0e..0dd53ad5f8 100644 --- a/apis/resourcegroups/v1beta1/zz_generated.deepcopy.go +++ b/apis/resourcegroups/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -151,7 +150,8 @@ func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -242,7 +242,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -257,7 +258,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -311,7 +313,8 @@ func (in *GroupParameters) DeepCopyInto(out *GroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/resourcegroups/v1beta1/zz_generated.managed.go b/apis/resourcegroups/v1beta1/zz_generated.managed.go index 37c076986e..919f636ae9 100644 --- a/apis/resourcegroups/v1beta1/zz_generated.managed.go +++ b/apis/resourcegroups/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Group) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Group. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Group) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Group. func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Group) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Group. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Group) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Group. func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go b/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go index d9352ea9fe..0d1c5bf0b5 100644 --- a/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go +++ b/apis/rolesanywhere/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -88,7 +87,8 @@ func (in *ProfileInitParameters) DeepCopyInto(out *ProfileInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -207,7 +207,8 @@ func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -222,7 +223,8 @@ func (in *ProfileObservation) DeepCopyInto(out *ProfileObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -316,7 +318,8 @@ func (in *ProfileParameters) DeepCopyInto(out *ProfileParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/rolesanywhere/v1beta1/zz_generated.managed.go b/apis/rolesanywhere/v1beta1/zz_generated.managed.go index 8961a6761a..4473d349ec 100644 --- a/apis/rolesanywhere/v1beta1/zz_generated.managed.go +++ b/apis/rolesanywhere/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Profile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Profile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Profile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Profile. func (mg *Profile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Profile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Profile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Profile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Profile. func (mg *Profile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/rolesanywhere/v1beta1/zz_profile_types.go b/apis/rolesanywhere/v1beta1/zz_profile_types.go index 4016148933..272ff27685 100755 --- a/apis/rolesanywhere/v1beta1/zz_profile_types.go +++ b/apis/rolesanywhere/v1beta1/zz_profile_types.go @@ -159,7 +159,7 @@ type ProfileStatus struct { type Profile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ProfileSpec `json:"spec"` Status ProfileStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_generated.deepcopy.go b/apis/route53/v1beta1/zz_generated.deepcopy.go index a6c356deae..8abc27ca8b 100644 --- a/apis/route53/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -649,7 +648,8 @@ func (in *HealthCheckInitParameters) DeepCopyInto(out *HealthCheckInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -833,7 +833,8 @@ func (in *HealthCheckObservation) DeepCopyInto(out *HealthCheckObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -848,7 +849,8 @@ func (in *HealthCheckObservation) DeepCopyInto(out *HealthCheckObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1005,7 +1007,8 @@ func (in *HealthCheckParameters) DeepCopyInto(out *HealthCheckParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2977,7 +2980,8 @@ func (in *ZoneInitParameters) DeepCopyInto(out *ZoneInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3092,7 +3096,8 @@ func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3107,7 +3112,8 @@ func (in *ZoneObservation) DeepCopyInto(out *ZoneObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3184,7 +3190,8 @@ func (in *ZoneParameters) DeepCopyInto(out *ZoneParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/route53/v1beta1/zz_generated.managed.go b/apis/route53/v1beta1/zz_generated.managed.go index 9b9b7f35f2..b739ccca61 100644 --- a/apis/route53/v1beta1/zz_generated.managed.go +++ b/apis/route53/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *DelegationSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DelegationSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DelegationSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DelegationSet. func (mg *DelegationSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *DelegationSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DelegationSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DelegationSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DelegationSet. func (mg *DelegationSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *HealthCheck) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HealthCheck. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HealthCheck) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HealthCheck. func (mg *HealthCheck) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *HealthCheck) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HealthCheck. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HealthCheck) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HealthCheck. func (mg *HealthCheck) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *HostedZoneDNSSEC) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HostedZoneDNSSEC. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HostedZoneDNSSEC) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HostedZoneDNSSEC. func (mg *HostedZoneDNSSEC) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *HostedZoneDNSSEC) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HostedZoneDNSSEC. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HostedZoneDNSSEC) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HostedZoneDNSSEC. func (mg *HostedZoneDNSSEC) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Record) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Record. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Record) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Record. func (mg *Record) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Record) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Record. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Record) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Record. func (mg *Record) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *ResolverConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResolverConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResolverConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResolverConfig. func (mg *ResolverConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *ResolverConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResolverConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResolverConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResolverConfig. func (mg *ResolverConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *TrafficPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TrafficPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TrafficPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TrafficPolicy. func (mg *TrafficPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *TrafficPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TrafficPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TrafficPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TrafficPolicy. func (mg *TrafficPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *TrafficPolicyInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TrafficPolicyInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TrafficPolicyInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TrafficPolicyInstance. func (mg *TrafficPolicyInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *TrafficPolicyInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TrafficPolicyInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TrafficPolicyInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TrafficPolicyInstance. func (mg *TrafficPolicyInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *VPCAssociationAuthorization) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VPCAssociationAuthorization. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VPCAssociationAuthorization) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VPCAssociationAuthorization. func (mg *VPCAssociationAuthorization) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *VPCAssociationAuthorization) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VPCAssociationAuthorization. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VPCAssociationAuthorization) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VPCAssociationAuthorization. func (mg *VPCAssociationAuthorization) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *Zone) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Zone. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Zone) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Zone. func (mg *Zone) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *Zone) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Zone. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Zone) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Zone. func (mg *Zone) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *ZoneAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ZoneAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ZoneAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ZoneAssociation. func (mg *ZoneAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *ZoneAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ZoneAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ZoneAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ZoneAssociation. func (mg *ZoneAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/route53/v1beta1/zz_healthcheck_types.go b/apis/route53/v1beta1/zz_healthcheck_types.go index 8a1c93559e..c9ab625ad6 100755 --- a/apis/route53/v1beta1/zz_healthcheck_types.go +++ b/apis/route53/v1beta1/zz_healthcheck_types.go @@ -291,7 +291,7 @@ type HealthCheckStatus struct { type HealthCheck struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec HealthCheckSpec `json:"spec"` Status HealthCheckStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_record_types.go b/apis/route53/v1beta1/zz_record_types.go index 0585de6ead..dad2050d58 100755 --- a/apis/route53/v1beta1/zz_record_types.go +++ b/apis/route53/v1beta1/zz_record_types.go @@ -395,8 +395,8 @@ type RecordStatus struct { type Record struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec RecordSpec `json:"spec"` Status RecordStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_resolverconfig_types.go b/apis/route53/v1beta1/zz_resolverconfig_types.go index 5fde468cf1..b4a868bf71 100755 --- a/apis/route53/v1beta1/zz_resolverconfig_types.go +++ b/apis/route53/v1beta1/zz_resolverconfig_types.go @@ -96,7 +96,7 @@ type ResolverConfigStatus struct { type ResolverConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autodefinedReverseFlag) || has(self.initProvider.autodefinedReverseFlag)",message="autodefinedReverseFlag is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.autodefinedReverseFlag) || (has(self.initProvider) && has(self.initProvider.autodefinedReverseFlag))",message="spec.forProvider.autodefinedReverseFlag is a required parameter" Spec ResolverConfigSpec `json:"spec"` Status ResolverConfigStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_trafficpolicy_types.go b/apis/route53/v1beta1/zz_trafficpolicy_types.go index 1a0fd2a28f..9e6c3535af 100755 --- a/apis/route53/v1beta1/zz_trafficpolicy_types.go +++ b/apis/route53/v1beta1/zz_trafficpolicy_types.go @@ -102,8 +102,8 @@ type TrafficPolicyStatus struct { type TrafficPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.document) || has(self.initProvider.document)",message="document is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.document) || (has(self.initProvider) && has(self.initProvider.document))",message="spec.forProvider.document is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec TrafficPolicySpec `json:"spec"` Status TrafficPolicyStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go b/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go index defa0c2109..8a21ec9c5e 100755 --- a/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go +++ b/apis/route53/v1beta1/zz_trafficpolicyinstance_types.go @@ -128,9 +128,9 @@ type TrafficPolicyInstanceStatus struct { type TrafficPolicyInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trafficPolicyVersion) || has(self.initProvider.trafficPolicyVersion)",message="trafficPolicyVersion is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ttl) || has(self.initProvider.ttl)",message="ttl is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.trafficPolicyVersion) || (has(self.initProvider) && has(self.initProvider.trafficPolicyVersion))",message="spec.forProvider.trafficPolicyVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ttl) || (has(self.initProvider) && has(self.initProvider.ttl))",message="spec.forProvider.ttl is a required parameter" Spec TrafficPolicyInstanceSpec `json:"spec"` Status TrafficPolicyInstanceStatus `json:"status,omitempty"` } diff --git a/apis/route53/v1beta1/zz_zone_types.go b/apis/route53/v1beta1/zz_zone_types.go index abbf4d4be6..336b584439 100755 --- a/apis/route53/v1beta1/zz_zone_types.go +++ b/apis/route53/v1beta1/zz_zone_types.go @@ -180,7 +180,7 @@ type ZoneStatus struct { type Zone struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ZoneSpec `json:"spec"` Status ZoneStatus `json:"status,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_cluster_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_cluster_types.go index 3fe497fadc..17a31348d1 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_cluster_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_cluster_types.go @@ -100,7 +100,7 @@ type ClusterStatus struct { type Cluster struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ClusterSpec `json:"spec"` Status ClusterStatus `json:"status,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go index f77636bfb8..93904e7669 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_controlpanel_types.go @@ -104,7 +104,7 @@ type ControlPanelStatus struct { type ControlPanel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ControlPanelSpec `json:"spec"` Status ControlPanelStatus `json:"status,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go index 803209bf79..c3b13561e3 100644 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.managed.go b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.managed.go index aeb9bee5d4..5e11cd75df 100644 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_generated.managed.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cluster) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cluster. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cluster) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cluster) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cluster. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cluster) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cluster. func (mg *Cluster) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ControlPanel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ControlPanel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ControlPanel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ControlPanel. func (mg *ControlPanel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ControlPanel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ControlPanel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ControlPanel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ControlPanel. func (mg *ControlPanel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RoutingControl) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RoutingControl. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RoutingControl) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RoutingControl. func (mg *RoutingControl) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RoutingControl) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RoutingControl. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RoutingControl) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RoutingControl. func (mg *RoutingControl) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *SafetyRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SafetyRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SafetyRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SafetyRule. func (mg *SafetyRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *SafetyRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SafetyRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SafetyRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SafetyRule. func (mg *SafetyRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go index 4c3a90c216..ce3e729961 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_routingcontrol_types.go @@ -115,7 +115,7 @@ type RoutingControlStatus struct { type RoutingControl struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RoutingControlSpec `json:"spec"` Status RoutingControlStatus `json:"status,omitempty"` } diff --git a/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go b/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go index 77f2b75f4a..e0432a1213 100755 --- a/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go +++ b/apis/route53recoverycontrolconfig/v1beta1/zz_safetyrule_types.go @@ -194,9 +194,9 @@ type SafetyRuleStatus struct { type SafetyRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleConfig) || has(self.initProvider.ruleConfig)",message="ruleConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.waitPeriodMs) || has(self.initProvider.waitPeriodMs)",message="waitPeriodMs is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleConfig) || (has(self.initProvider) && has(self.initProvider.ruleConfig))",message="spec.forProvider.ruleConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.waitPeriodMs) || (has(self.initProvider) && has(self.initProvider.waitPeriodMs))",message="spec.forProvider.waitPeriodMs is a required parameter" Spec SafetyRuleSpec `json:"spec"` Status SafetyRuleStatus `json:"status,omitempty"` } diff --git a/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go b/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go index 6e3c2afd0b..77d894fae0 100644 --- a/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -63,7 +62,8 @@ func (in *CellInitParameters) DeepCopyInto(out *CellInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -157,7 +157,8 @@ func (in *CellObservation) DeepCopyInto(out *CellObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -172,7 +173,8 @@ func (in *CellObservation) DeepCopyInto(out *CellObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -218,7 +220,8 @@ func (in *CellParameters) DeepCopyInto(out *CellParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -576,7 +579,8 @@ func (in *ReadinessCheckInitParameters) DeepCopyInto(out *ReadinessCheckInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -653,7 +657,8 @@ func (in *ReadinessCheckObservation) DeepCopyInto(out *ReadinessCheckObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -668,7 +673,8 @@ func (in *ReadinessCheckObservation) DeepCopyInto(out *ReadinessCheckObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -708,7 +714,8 @@ func (in *ReadinessCheckParameters) DeepCopyInto(out *ReadinessCheckParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -811,7 +818,8 @@ func (in *RecoveryGroupInitParameters) DeepCopyInto(out *RecoveryGroupInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -894,7 +902,8 @@ func (in *RecoveryGroupObservation) DeepCopyInto(out *RecoveryGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -909,7 +918,8 @@ func (in *RecoveryGroupObservation) DeepCopyInto(out *RecoveryGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -955,7 +965,8 @@ func (in *RecoveryGroupParameters) DeepCopyInto(out *RecoveryGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1059,7 +1070,8 @@ func (in *ResourceSetInitParameters) DeepCopyInto(out *ResourceSetInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1143,7 +1155,8 @@ func (in *ResourceSetObservation) DeepCopyInto(out *ResourceSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1158,7 +1171,8 @@ func (in *ResourceSetObservation) DeepCopyInto(out *ResourceSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1205,7 +1219,8 @@ func (in *ResourceSetParameters) DeepCopyInto(out *ResourceSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/route53recoveryreadiness/v1beta1/zz_generated.managed.go b/apis/route53recoveryreadiness/v1beta1/zz_generated.managed.go index bfb7bd5522..1e9eb9335f 100644 --- a/apis/route53recoveryreadiness/v1beta1/zz_generated.managed.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Cell) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Cell. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Cell) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Cell. func (mg *Cell) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Cell) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Cell. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Cell) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Cell. func (mg *Cell) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ReadinessCheck) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReadinessCheck. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReadinessCheck) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReadinessCheck. func (mg *ReadinessCheck) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ReadinessCheck) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReadinessCheck. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReadinessCheck) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReadinessCheck. func (mg *ReadinessCheck) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RecoveryGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RecoveryGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RecoveryGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RecoveryGroup. func (mg *RecoveryGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RecoveryGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RecoveryGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RecoveryGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RecoveryGroup. func (mg *RecoveryGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *ResourceSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceSet. func (mg *ResourceSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *ResourceSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceSet. func (mg *ResourceSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/route53recoveryreadiness/v1beta1/zz_readinesscheck_types.go b/apis/route53recoveryreadiness/v1beta1/zz_readinesscheck_types.go index bff6c61be0..d04a8f0c3b 100755 --- a/apis/route53recoveryreadiness/v1beta1/zz_readinesscheck_types.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_readinesscheck_types.go @@ -91,7 +91,7 @@ type ReadinessCheckStatus struct { type ReadinessCheck struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceSetName) || has(self.initProvider.resourceSetName)",message="resourceSetName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceSetName) || (has(self.initProvider) && has(self.initProvider.resourceSetName))",message="spec.forProvider.resourceSetName is a required parameter" Spec ReadinessCheckSpec `json:"spec"` Status ReadinessCheckStatus `json:"status,omitempty"` } diff --git a/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go b/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go index 6903cb9ddc..d332325c3f 100755 --- a/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go +++ b/apis/route53recoveryreadiness/v1beta1/zz_resourceset_types.go @@ -286,8 +286,8 @@ type ResourceSetStatus struct { type ResourceSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceSetType) || has(self.initProvider.resourceSetType)",message="resourceSetType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resources) || has(self.initProvider.resources)",message="resources is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceSetType) || (has(self.initProvider) && has(self.initProvider.resourceSetType))",message="spec.forProvider.resourceSetType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resources) || (has(self.initProvider) && has(self.initProvider.resources))",message="spec.forProvider.resources is a required parameter" Spec ResourceSetSpec `json:"spec"` Status ResourceSetStatus `json:"status,omitempty"` } diff --git a/apis/route53resolver/v1beta1/zz_endpoint_types.go b/apis/route53resolver/v1beta1/zz_endpoint_types.go index 1b70b1109a..adaba23abe 100755 --- a/apis/route53resolver/v1beta1/zz_endpoint_types.go +++ b/apis/route53resolver/v1beta1/zz_endpoint_types.go @@ -181,8 +181,8 @@ type EndpointStatus struct { type Endpoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.direction) || has(self.initProvider.direction)",message="direction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddress) || has(self.initProvider.ipAddress)",message="ipAddress is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.direction) || (has(self.initProvider) && has(self.initProvider.direction))",message="spec.forProvider.direction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddress) || (has(self.initProvider) && has(self.initProvider.ipAddress))",message="spec.forProvider.ipAddress is a required parameter" Spec EndpointSpec `json:"spec"` Status EndpointStatus `json:"status,omitempty"` } diff --git a/apis/route53resolver/v1beta1/zz_generated.deepcopy.go b/apis/route53resolver/v1beta1/zz_generated.deepcopy.go index d8589f2a82..109f0143db 100644 --- a/apis/route53resolver/v1beta1/zz_generated.deepcopy.go +++ b/apis/route53resolver/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -69,7 +68,8 @@ func (in *EndpointInitParameters) DeepCopyInto(out *EndpointInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -174,7 +174,8 @@ func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -189,7 +190,8 @@ func (in *EndpointObservation) DeepCopyInto(out *EndpointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -264,7 +266,8 @@ func (in *EndpointParameters) DeepCopyInto(out *EndpointParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -660,7 +663,8 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -769,7 +773,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -784,7 +789,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -856,7 +862,8 @@ func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/route53resolver/v1beta1/zz_generated.managed.go b/apis/route53resolver/v1beta1/zz_generated.managed.go index d4244b6ce8..d8927aef22 100644 --- a/apis/route53resolver/v1beta1/zz_generated.managed.go +++ b/apis/route53resolver/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Endpoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Endpoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Endpoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Endpoint. func (mg *Endpoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Endpoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Endpoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Endpoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Endpoint. func (mg *Endpoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Rule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Rule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Rule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Rule. func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Rule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Rule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Rule. func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *RuleAssociation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RuleAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RuleAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RuleAssociation. func (mg *RuleAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *RuleAssociation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RuleAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RuleAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RuleAssociation. func (mg *RuleAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/route53resolver/v1beta1/zz_rule_types.go b/apis/route53resolver/v1beta1/zz_rule_types.go index 3773d21f49..d667d86726 100755 --- a/apis/route53resolver/v1beta1/zz_rule_types.go +++ b/apis/route53resolver/v1beta1/zz_rule_types.go @@ -180,8 +180,8 @@ type RuleStatus struct { type Rule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || has(self.initProvider.domainName)",message="domainName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleType) || has(self.initProvider.ruleType)",message="ruleType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleType) || (has(self.initProvider) && has(self.initProvider.ruleType))",message="spec.forProvider.ruleType is a required parameter" Spec RuleSpec `json:"spec"` Status RuleStatus `json:"status,omitempty"` } diff --git a/apis/rum/v1beta1/zz_appmonitor_types.go b/apis/rum/v1beta1/zz_appmonitor_types.go index 3ed8d40897..6647dc4d74 100755 --- a/apis/rum/v1beta1/zz_appmonitor_types.go +++ b/apis/rum/v1beta1/zz_appmonitor_types.go @@ -246,7 +246,7 @@ type AppMonitorStatus struct { type AppMonitor struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || has(self.initProvider.domain)",message="domain is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domain) || (has(self.initProvider) && has(self.initProvider.domain))",message="spec.forProvider.domain is a required parameter" Spec AppMonitorSpec `json:"spec"` Status AppMonitorStatus `json:"status,omitempty"` } diff --git a/apis/rum/v1beta1/zz_generated.deepcopy.go b/apis/rum/v1beta1/zz_generated.deepcopy.go index 2d2f8c4a7b..4bc1433c87 100644 --- a/apis/rum/v1beta1/zz_generated.deepcopy.go +++ b/apis/rum/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -328,7 +327,8 @@ func (in *AppMonitorInitParameters) DeepCopyInto(out *AppMonitorInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -434,7 +434,8 @@ func (in *AppMonitorObservation) DeepCopyInto(out *AppMonitorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -449,7 +450,8 @@ func (in *AppMonitorObservation) DeepCopyInto(out *AppMonitorObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -508,7 +510,8 @@ func (in *AppMonitorParameters) DeepCopyInto(out *AppMonitorParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/rum/v1beta1/zz_generated.managed.go b/apis/rum/v1beta1/zz_generated.managed.go index b66bcb6c7f..9b8416bf1b 100644 --- a/apis/rum/v1beta1/zz_generated.managed.go +++ b/apis/rum/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AppMonitor) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AppMonitor. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AppMonitor) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AppMonitor. func (mg *AppMonitor) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AppMonitor) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AppMonitor. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AppMonitor) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AppMonitor. func (mg *AppMonitor) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *MetricsDestination) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MetricsDestination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MetricsDestination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MetricsDestination. func (mg *MetricsDestination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *MetricsDestination) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MetricsDestination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MetricsDestination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MetricsDestination. func (mg *MetricsDestination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/rum/v1beta1/zz_metricsdestination_types.go b/apis/rum/v1beta1/zz_metricsdestination_types.go index f348bf99d3..55ff922310 100755 --- a/apis/rum/v1beta1/zz_metricsdestination_types.go +++ b/apis/rum/v1beta1/zz_metricsdestination_types.go @@ -119,7 +119,7 @@ type MetricsDestinationStatus struct { type MetricsDestination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" Spec MetricsDestinationSpec `json:"spec"` Status MetricsDestinationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go b/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go index cc450a6f3f..5ac60b1b53 100755 --- a/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketaccelerateconfiguration_types.go @@ -103,7 +103,7 @@ type BucketAccelerateConfigurationStatus struct { type BucketAccelerateConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.status) || has(self.initProvider.status)",message="status is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.status) || (has(self.initProvider) && has(self.initProvider.status))",message="spec.forProvider.status is a required parameter" Spec BucketAccelerateConfigurationSpec `json:"spec"` Status BucketAccelerateConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go b/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go index ae54ac81ef..295c3802ef 100755 --- a/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketanalyticsconfiguration_types.go @@ -264,7 +264,7 @@ type BucketAnalyticsConfigurationStatus struct { type BucketAnalyticsConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec BucketAnalyticsConfigurationSpec `json:"spec"` Status BucketAnalyticsConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go b/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go index 423de05c08..95747bd2d8 100755 --- a/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketcorsconfiguration_types.go @@ -172,7 +172,7 @@ type BucketCorsConfigurationStatus struct { type BucketCorsConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.corsRule) || has(self.initProvider.corsRule)",message="corsRule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.corsRule) || (has(self.initProvider) && has(self.initProvider.corsRule))",message="spec.forProvider.corsRule is a required parameter" Spec BucketCorsConfigurationSpec `json:"spec"` Status BucketCorsConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go b/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go index 9521097b87..90292c5ec5 100755 --- a/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketintelligenttieringconfiguration_types.go @@ -180,8 +180,8 @@ type BucketIntelligentTieringConfigurationStatus struct { type BucketIntelligentTieringConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tiering) || has(self.initProvider.tiering)",message="tiering is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.tiering) || (has(self.initProvider) && has(self.initProvider.tiering))",message="spec.forProvider.tiering is a required parameter" Spec BucketIntelligentTieringConfigurationSpec `json:"spec"` Status BucketIntelligentTieringConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketinventory_types.go b/apis/s3/v1beta1/zz_bucketinventory_types.go index 40a1f236e8..959165f3b0 100755 --- a/apis/s3/v1beta1/zz_bucketinventory_types.go +++ b/apis/s3/v1beta1/zz_bucketinventory_types.go @@ -332,10 +332,10 @@ type BucketInventoryStatus struct { type BucketInventory struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.includedObjectVersions) || has(self.initProvider.includedObjectVersions)",message="includedObjectVersions is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || has(self.initProvider.schedule)",message="schedule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.includedObjectVersions) || (has(self.initProvider) && has(self.initProvider.includedObjectVersions))",message="spec.forProvider.includedObjectVersions is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.schedule is a required parameter" Spec BucketInventorySpec `json:"spec"` Status BucketInventoryStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go b/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go index 14aa97b826..63b5bca8f1 100755 --- a/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketlifecycleconfiguration_types.go @@ -504,7 +504,7 @@ type BucketLifecycleConfigurationStatus struct { type BucketLifecycleConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec BucketLifecycleConfigurationSpec `json:"spec"` Status BucketLifecycleConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketlogging_types.go b/apis/s3/v1beta1/zz_bucketlogging_types.go index 73fcbd4b4f..13ce635485 100755 --- a/apis/s3/v1beta1/zz_bucketlogging_types.go +++ b/apis/s3/v1beta1/zz_bucketlogging_types.go @@ -209,7 +209,7 @@ type BucketLoggingStatus struct { type BucketLogging struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetPrefix) || has(self.initProvider.targetPrefix)",message="targetPrefix is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targetPrefix) || (has(self.initProvider) && has(self.initProvider.targetPrefix))",message="spec.forProvider.targetPrefix is a required parameter" Spec BucketLoggingSpec `json:"spec"` Status BucketLoggingStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketmetric_types.go b/apis/s3/v1beta1/zz_bucketmetric_types.go index 2e8fc7c76a..f848c3aa0b 100755 --- a/apis/s3/v1beta1/zz_bucketmetric_types.go +++ b/apis/s3/v1beta1/zz_bucketmetric_types.go @@ -131,7 +131,7 @@ type BucketMetricStatus struct { type BucketMetric struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec BucketMetricSpec `json:"spec"` Status BucketMetricStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketobject_types.go b/apis/s3/v1beta1/zz_bucketobject_types.go index f3583d8757..37f972cd5b 100755 --- a/apis/s3/v1beta1/zz_bucketobject_types.go +++ b/apis/s3/v1beta1/zz_bucketobject_types.go @@ -325,7 +325,7 @@ type BucketObjectStatus struct { type BucketObject struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || has(self.initProvider.key)",message="key is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter" Spec BucketObjectSpec `json:"spec"` Status BucketObjectStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go b/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go index d23ab061ed..96aad77aab 100755 --- a/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go +++ b/apis/s3/v1beta1/zz_bucketownershipcontrols_types.go @@ -112,7 +112,7 @@ type BucketOwnershipControlsStatus struct { type BucketOwnershipControls struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec BucketOwnershipControlsSpec `json:"spec"` Status BucketOwnershipControlsStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketpolicy_types.go b/apis/s3/v1beta1/zz_bucketpolicy_types.go index 2213dfad9d..849fb515ee 100755 --- a/apis/s3/v1beta1/zz_bucketpolicy_types.go +++ b/apis/s3/v1beta1/zz_bucketpolicy_types.go @@ -92,7 +92,7 @@ type BucketPolicyStatus struct { type BucketPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec BucketPolicySpec `json:"spec"` Status BucketPolicyStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go b/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go index 64d438dc21..6fbc09e03a 100755 --- a/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketreplicationconfiguration_types.go @@ -636,7 +636,7 @@ type BucketReplicationConfigurationStatus struct { type BucketReplicationConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec BucketReplicationConfigurationSpec `json:"spec"` Status BucketReplicationConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go b/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go index 17e8d1d2e6..b2aa013ee5 100755 --- a/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketrequestpaymentconfiguration_types.go @@ -103,7 +103,7 @@ type BucketRequestPaymentConfigurationStatus struct { type BucketRequestPaymentConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.payer) || has(self.initProvider.payer)",message="payer is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.payer) || (has(self.initProvider) && has(self.initProvider.payer))",message="spec.forProvider.payer is a required parameter" Spec BucketRequestPaymentConfigurationSpec `json:"spec"` Status BucketRequestPaymentConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go b/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go index a3a17d437b..7b5e5449d8 100755 --- a/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go +++ b/apis/s3/v1beta1/zz_bucketserversideencryptionconfiguration_types.go @@ -168,7 +168,7 @@ type BucketServerSideEncryptionConfigurationStatus struct { type BucketServerSideEncryptionConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || has(self.initProvider.rule)",message="rule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rule) || (has(self.initProvider) && has(self.initProvider.rule))",message="spec.forProvider.rule is a required parameter" Spec BucketServerSideEncryptionConfigurationSpec `json:"spec"` Status BucketServerSideEncryptionConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_bucketversioning_types.go b/apis/s3/v1beta1/zz_bucketversioning_types.go index a7679a7530..4be111de18 100755 --- a/apis/s3/v1beta1/zz_bucketversioning_types.go +++ b/apis/s3/v1beta1/zz_bucketversioning_types.go @@ -142,7 +142,7 @@ type BucketVersioningStatus struct { type BucketVersioning struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.versioningConfiguration) || has(self.initProvider.versioningConfiguration)",message="versioningConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.versioningConfiguration) || (has(self.initProvider) && has(self.initProvider.versioningConfiguration))",message="spec.forProvider.versioningConfiguration is a required parameter" Spec BucketVersioningSpec `json:"spec"` Status BucketVersioningStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_generated.deepcopy.go b/apis/s3/v1beta1/zz_generated.deepcopy.go index 6b8eee1803..eb3c670821 100644 --- a/apis/s3/v1beta1/zz_generated.deepcopy.go +++ b/apis/s3/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -318,7 +317,8 @@ func (in *AndInitParameters) DeepCopyInto(out *AndInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -363,7 +363,8 @@ func (in *AndObservation) DeepCopyInto(out *AndObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -408,7 +409,8 @@ func (in *AndParameters) DeepCopyInto(out *AndParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -971,7 +973,8 @@ func (in *BucketAnalyticsConfigurationFilterInitParameters) DeepCopyInto(out *Bu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1006,7 +1009,8 @@ func (in *BucketAnalyticsConfigurationFilterObservation) DeepCopyInto(out *Bucke if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1041,7 +1045,8 @@ func (in *BucketAnalyticsConfigurationFilterParameters) DeepCopyInto(out *Bucket if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1692,7 +1697,8 @@ func (in *BucketInitParameters) DeepCopyInto(out *BucketInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1754,7 +1760,8 @@ func (in *BucketIntelligentTieringConfigurationFilterInitParameters) DeepCopyInt if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1789,7 +1796,8 @@ func (in *BucketIntelligentTieringConfigurationFilterObservation) DeepCopyInto(o if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1824,7 +1832,8 @@ func (in *BucketIntelligentTieringConfigurationFilterParameters) DeepCopyInto(ou if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3229,7 +3238,8 @@ func (in *BucketMetricFilterInitParameters) DeepCopyInto(out *BucketMetricFilter if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3264,7 +3274,8 @@ func (in *BucketMetricFilterObservation) DeepCopyInto(out *BucketMetricFilterObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3299,7 +3310,8 @@ func (in *BucketMetricFilterParameters) DeepCopyInto(out *BucketMetricFilterPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3841,7 +3853,8 @@ func (in *BucketObjectInitParameters) DeepCopyInto(out *BucketObjectInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3891,7 +3904,8 @@ func (in *BucketObjectInitParameters) DeepCopyInto(out *BucketObjectInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4324,7 +4338,8 @@ func (in *BucketObjectObservation) DeepCopyInto(out *BucketObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4374,7 +4389,8 @@ func (in *BucketObjectObservation) DeepCopyInto(out *BucketObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4389,7 +4405,8 @@ func (in *BucketObjectObservation) DeepCopyInto(out *BucketObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4519,7 +4536,8 @@ func (in *BucketObjectParameters) DeepCopyInto(out *BucketObjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4574,7 +4592,8 @@ func (in *BucketObjectParameters) DeepCopyInto(out *BucketObjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4748,7 +4767,8 @@ func (in *BucketObservation) DeepCopyInto(out *BucketObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4763,7 +4783,8 @@ func (in *BucketObservation) DeepCopyInto(out *BucketObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5082,7 +5103,8 @@ func (in *BucketParameters) DeepCopyInto(out *BucketParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8346,7 +8368,8 @@ func (in *FilterAndInitParameters) DeepCopyInto(out *FilterAndInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8381,7 +8404,8 @@ func (in *FilterAndObservation) DeepCopyInto(out *FilterAndObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8416,7 +8440,8 @@ func (in *FilterAndParameters) DeepCopyInto(out *FilterAndParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8466,7 +8491,8 @@ func (in *FilterObservation) DeepCopyInto(out *FilterObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9021,7 +9047,8 @@ func (in *LifecycleRuleObservation) DeepCopyInto(out *LifecycleRuleObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9582,7 +9609,8 @@ func (in *ObjectCopyInitParameters) DeepCopyInto(out *ObjectCopyInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9652,7 +9680,8 @@ func (in *ObjectCopyInitParameters) DeepCopyInto(out *ObjectCopyInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9841,7 +9870,8 @@ func (in *ObjectCopyObservation) DeepCopyInto(out *ObjectCopyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9921,7 +9951,8 @@ func (in *ObjectCopyObservation) DeepCopyInto(out *ObjectCopyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9936,7 +9967,8 @@ func (in *ObjectCopyObservation) DeepCopyInto(out *ObjectCopyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10093,7 +10125,8 @@ func (in *ObjectCopyParameters) DeepCopyInto(out *ObjectCopyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10173,7 +10206,8 @@ func (in *ObjectCopyParameters) DeepCopyInto(out *ObjectCopyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10303,7 +10337,8 @@ func (in *ObjectInitParameters) DeepCopyInto(out *ObjectInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10353,7 +10388,8 @@ func (in *ObjectInitParameters) DeepCopyInto(out *ObjectInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10552,7 +10588,8 @@ func (in *ObjectObservation) DeepCopyInto(out *ObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10602,7 +10639,8 @@ func (in *ObjectObservation) DeepCopyInto(out *ObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10617,7 +10655,8 @@ func (in *ObjectObservation) DeepCopyInto(out *ObjectObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10747,7 +10786,8 @@ func (in *ObjectParameters) DeepCopyInto(out *ObjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -10802,7 +10842,8 @@ func (in *ObjectParameters) DeepCopyInto(out *ObjectParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/s3/v1beta1/zz_generated.managed.go b/apis/s3/v1beta1/zz_generated.managed.go index f967ff577a..ee10327932 100644 --- a/apis/s3/v1beta1/zz_generated.managed.go +++ b/apis/s3/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Bucket) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Bucket. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Bucket) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Bucket. func (mg *Bucket) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Bucket) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Bucket. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Bucket) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Bucket. func (mg *Bucket) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *BucketACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketACL. func (mg *BucketACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *BucketACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketACL. func (mg *BucketACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *BucketAccelerateConfiguration) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketAccelerateConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketAccelerateConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketAccelerateConfiguration. func (mg *BucketAccelerateConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *BucketAccelerateConfiguration) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketAccelerateConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketAccelerateConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketAccelerateConfiguration. func (mg *BucketAccelerateConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *BucketAnalyticsConfiguration) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketAnalyticsConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketAnalyticsConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketAnalyticsConfiguration. func (mg *BucketAnalyticsConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *BucketAnalyticsConfiguration) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketAnalyticsConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketAnalyticsConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketAnalyticsConfiguration. func (mg *BucketAnalyticsConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *BucketCorsConfiguration) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketCorsConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketCorsConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketCorsConfiguration. func (mg *BucketCorsConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *BucketCorsConfiguration) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketCorsConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketCorsConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketCorsConfiguration. func (mg *BucketCorsConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *BucketIntelligentTieringConfiguration) GetProviderConfigReference() *x return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketIntelligentTieringConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketIntelligentTieringConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketIntelligentTieringConfiguration. func (mg *BucketIntelligentTieringConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *BucketIntelligentTieringConfiguration) SetProviderConfigReference(r *x mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketIntelligentTieringConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketIntelligentTieringConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketIntelligentTieringConfiguration. func (mg *BucketIntelligentTieringConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *BucketInventory) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketInventory. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketInventory) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketInventory. func (mg *BucketInventory) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *BucketInventory) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketInventory. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketInventory) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketInventory. func (mg *BucketInventory) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *BucketLifecycleConfiguration) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketLifecycleConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketLifecycleConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketLifecycleConfiguration. func (mg *BucketLifecycleConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *BucketLifecycleConfiguration) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketLifecycleConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketLifecycleConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketLifecycleConfiguration. func (mg *BucketLifecycleConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *BucketLogging) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketLogging. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketLogging) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketLogging. func (mg *BucketLogging) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *BucketLogging) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketLogging. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketLogging) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketLogging. func (mg *BucketLogging) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *BucketMetric) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketMetric. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketMetric) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketMetric. func (mg *BucketMetric) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *BucketMetric) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketMetric. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketMetric) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketMetric. func (mg *BucketMetric) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *BucketNotification) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketNotification. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketNotification) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketNotification. func (mg *BucketNotification) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *BucketNotification) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketNotification. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketNotification) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketNotification. func (mg *BucketNotification) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *BucketObject) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketObject. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketObject) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketObject. func (mg *BucketObject) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *BucketObject) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketObject. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketObject) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketObject. func (mg *BucketObject) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *BucketObjectLockConfiguration) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketObjectLockConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketObjectLockConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketObjectLockConfiguration. func (mg *BucketObjectLockConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *BucketObjectLockConfiguration) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketObjectLockConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketObjectLockConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketObjectLockConfiguration. func (mg *BucketObjectLockConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *BucketOwnershipControls) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketOwnershipControls. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketOwnershipControls) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketOwnershipControls. func (mg *BucketOwnershipControls) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *BucketOwnershipControls) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketOwnershipControls. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketOwnershipControls) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketOwnershipControls. func (mg *BucketOwnershipControls) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *BucketPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketPolicy. func (mg *BucketPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *BucketPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketPolicy. func (mg *BucketPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *BucketPublicAccessBlock) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketPublicAccessBlock. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketPublicAccessBlock) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketPublicAccessBlock. func (mg *BucketPublicAccessBlock) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *BucketPublicAccessBlock) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketPublicAccessBlock. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketPublicAccessBlock) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketPublicAccessBlock. func (mg *BucketPublicAccessBlock) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *BucketReplicationConfiguration) GetProviderConfigReference() *xpv1.Ref return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketReplicationConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketReplicationConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketReplicationConfiguration. func (mg *BucketReplicationConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *BucketReplicationConfiguration) SetProviderConfigReference(r *xpv1.Ref mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketReplicationConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketReplicationConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketReplicationConfiguration. func (mg *BucketReplicationConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *BucketRequestPaymentConfiguration) GetProviderConfigReference() *xpv1. return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketRequestPaymentConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketRequestPaymentConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketRequestPaymentConfiguration. func (mg *BucketRequestPaymentConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *BucketRequestPaymentConfiguration) SetProviderConfigReference(r *xpv1. mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketRequestPaymentConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketRequestPaymentConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketRequestPaymentConfiguration. func (mg *BucketRequestPaymentConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *BucketServerSideEncryptionConfiguration) GetProviderConfigReference() return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketServerSideEncryptionConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketServerSideEncryptionConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketServerSideEncryptionConfiguration. func (mg *BucketServerSideEncryptionConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *BucketServerSideEncryptionConfiguration) SetProviderConfigReference(r mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketServerSideEncryptionConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketServerSideEncryptionConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketServerSideEncryptionConfiguration. func (mg *BucketServerSideEncryptionConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *BucketVersioning) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketVersioning. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketVersioning) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketVersioning. func (mg *BucketVersioning) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *BucketVersioning) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketVersioning. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketVersioning) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketVersioning. func (mg *BucketVersioning) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *BucketWebsiteConfiguration) GetProviderConfigReference() *xpv1.Referen return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BucketWebsiteConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BucketWebsiteConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BucketWebsiteConfiguration. func (mg *BucketWebsiteConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *BucketWebsiteConfiguration) SetProviderConfigReference(r *xpv1.Referen mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BucketWebsiteConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BucketWebsiteConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BucketWebsiteConfiguration. func (mg *BucketWebsiteConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1623,14 +1287,6 @@ func (mg *Object) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Object. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Object) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Object. func (mg *Object) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1661,14 +1317,6 @@ func (mg *Object) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Object. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Object) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Object. func (mg *Object) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1699,14 +1347,6 @@ func (mg *ObjectCopy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ObjectCopy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ObjectCopy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ObjectCopy. func (mg *ObjectCopy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1737,14 +1377,6 @@ func (mg *ObjectCopy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ObjectCopy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ObjectCopy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ObjectCopy. func (mg *ObjectCopy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/s3/v1beta1/zz_object_types.go b/apis/s3/v1beta1/zz_object_types.go index 9e3a91b231..df36000c48 100755 --- a/apis/s3/v1beta1/zz_object_types.go +++ b/apis/s3/v1beta1/zz_object_types.go @@ -325,7 +325,7 @@ type ObjectStatus struct { type Object struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || has(self.initProvider.key)",message="key is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter" Spec ObjectSpec `json:"spec"` Status ObjectStatus `json:"status,omitempty"` } diff --git a/apis/s3/v1beta1/zz_objectcopy_types.go b/apis/s3/v1beta1/zz_objectcopy_types.go index e3c98c4d54..db32eac756 100755 --- a/apis/s3/v1beta1/zz_objectcopy_types.go +++ b/apis/s3/v1beta1/zz_objectcopy_types.go @@ -499,9 +499,9 @@ type ObjectCopyStatus struct { type ObjectCopy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || has(self.initProvider.bucket)",message="bucket is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || has(self.initProvider.key)",message="key is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || has(self.initProvider.source)",message="source is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.bucket) || (has(self.initProvider) && has(self.initProvider.bucket))",message="spec.forProvider.bucket is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter" Spec ObjectCopySpec `json:"spec"` Status ObjectCopyStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_accesspoint_types.go b/apis/s3control/v1beta1/zz_accesspoint_types.go index df8234e090..d8cb991436 100755 --- a/apis/s3control/v1beta1/zz_accesspoint_types.go +++ b/apis/s3control/v1beta1/zz_accesspoint_types.go @@ -237,7 +237,7 @@ type AccessPointStatus struct { type AccessPoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec AccessPointSpec `json:"spec"` Status AccessPointStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_accesspointpolicy_types.go b/apis/s3control/v1beta1/zz_accesspointpolicy_types.go index 85288812f2..6b130e44fd 100755 --- a/apis/s3control/v1beta1/zz_accesspointpolicy_types.go +++ b/apis/s3control/v1beta1/zz_accesspointpolicy_types.go @@ -96,7 +96,7 @@ type AccessPointPolicyStatus struct { type AccessPointPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec AccessPointPolicySpec `json:"spec"` Status AccessPointPolicyStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_generated.deepcopy.go b/apis/s3control/v1beta1/zz_generated.deepcopy.go index 8ba7c14d5f..b85e5cd913 100644 --- a/apis/s3control/v1beta1/zz_generated.deepcopy.go +++ b/apis/s3control/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -161,7 +160,8 @@ func (in *AccessPointObservation) DeepCopyInto(out *AccessPointObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4022,7 +4022,8 @@ func (in *StorageLensConfigurationInitParameters) DeepCopyInto(out *StorageLensC if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4111,7 +4112,8 @@ func (in *StorageLensConfigurationObservation) DeepCopyInto(out *StorageLensConf if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4126,7 +4128,8 @@ func (in *StorageLensConfigurationObservation) DeepCopyInto(out *StorageLensConf if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4178,7 +4181,8 @@ func (in *StorageLensConfigurationParameters) DeepCopyInto(out *StorageLensConfi if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/s3control/v1beta1/zz_generated.managed.go b/apis/s3control/v1beta1/zz_generated.managed.go index 43c3bc544a..7bfa51c1b3 100644 --- a/apis/s3control/v1beta1/zz_generated.managed.go +++ b/apis/s3control/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AccessPoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccessPoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccessPoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccessPoint. func (mg *AccessPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AccessPoint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccessPoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccessPoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccessPoint. func (mg *AccessPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AccessPointPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccessPointPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccessPointPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccessPointPolicy. func (mg *AccessPointPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AccessPointPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccessPointPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccessPointPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccessPointPolicy. func (mg *AccessPointPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *AccountPublicAccessBlock) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccountPublicAccessBlock. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccountPublicAccessBlock) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccountPublicAccessBlock. func (mg *AccountPublicAccessBlock) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *AccountPublicAccessBlock) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccountPublicAccessBlock. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccountPublicAccessBlock) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccountPublicAccessBlock. func (mg *AccountPublicAccessBlock) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *MultiRegionAccessPoint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MultiRegionAccessPoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MultiRegionAccessPoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MultiRegionAccessPoint. func (mg *MultiRegionAccessPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *MultiRegionAccessPoint) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MultiRegionAccessPoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MultiRegionAccessPoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MultiRegionAccessPoint. func (mg *MultiRegionAccessPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *MultiRegionAccessPointPolicy) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MultiRegionAccessPointPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MultiRegionAccessPointPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MultiRegionAccessPointPolicy. func (mg *MultiRegionAccessPointPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *MultiRegionAccessPointPolicy) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MultiRegionAccessPointPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MultiRegionAccessPointPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MultiRegionAccessPointPolicy. func (mg *MultiRegionAccessPointPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *ObjectLambdaAccessPoint) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ObjectLambdaAccessPoint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ObjectLambdaAccessPoint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ObjectLambdaAccessPoint. func (mg *ObjectLambdaAccessPoint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *ObjectLambdaAccessPoint) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ObjectLambdaAccessPoint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ObjectLambdaAccessPoint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ObjectLambdaAccessPoint. func (mg *ObjectLambdaAccessPoint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ObjectLambdaAccessPointPolicy) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ObjectLambdaAccessPointPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ObjectLambdaAccessPointPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ObjectLambdaAccessPointPolicy. func (mg *ObjectLambdaAccessPointPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ObjectLambdaAccessPointPolicy) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ObjectLambdaAccessPointPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ObjectLambdaAccessPointPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ObjectLambdaAccessPointPolicy. func (mg *ObjectLambdaAccessPointPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *StorageLensConfiguration) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StorageLensConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StorageLensConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StorageLensConfiguration. func (mg *StorageLensConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *StorageLensConfiguration) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StorageLensConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StorageLensConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StorageLensConfiguration. func (mg *StorageLensConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go b/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go index 8fca9ccdda..ea818b921b 100755 --- a/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go +++ b/apis/s3control/v1beta1/zz_multiregionaccesspoint_types.go @@ -210,7 +210,7 @@ type MultiRegionAccessPointStatus struct { type MultiRegionAccessPoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.details) || has(self.initProvider.details)",message="details is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.details) || (has(self.initProvider) && has(self.initProvider.details))",message="spec.forProvider.details is a required parameter" Spec MultiRegionAccessPointSpec `json:"spec"` Status MultiRegionAccessPointStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_multiregionaccesspointpolicy_types.go b/apis/s3control/v1beta1/zz_multiregionaccesspointpolicy_types.go index 389e9ab135..f285a5f480 100755 --- a/apis/s3control/v1beta1/zz_multiregionaccesspointpolicy_types.go +++ b/apis/s3control/v1beta1/zz_multiregionaccesspointpolicy_types.go @@ -121,7 +121,7 @@ type MultiRegionAccessPointPolicyStatus struct { type MultiRegionAccessPointPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.details) || has(self.initProvider.details)",message="details is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.details) || (has(self.initProvider) && has(self.initProvider.details))",message="spec.forProvider.details is a required parameter" Spec MultiRegionAccessPointPolicySpec `json:"spec"` Status MultiRegionAccessPointPolicyStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go b/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go index 6465be5385..576a6a85d0 100755 --- a/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go +++ b/apis/s3control/v1beta1/zz_objectlambdaaccesspoint_types.go @@ -239,8 +239,8 @@ type ObjectLambdaAccessPointStatus struct { type ObjectLambdaAccessPoint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configuration) || has(self.initProvider.configuration)",message="configuration is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configuration) || (has(self.initProvider) && has(self.initProvider.configuration))",message="spec.forProvider.configuration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ObjectLambdaAccessPointSpec `json:"spec"` Status ObjectLambdaAccessPointStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go b/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go index 0b4854bcdc..e947c6ebe7 100755 --- a/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go +++ b/apis/s3control/v1beta1/zz_objectlambdaaccesspointpolicy_types.go @@ -106,7 +106,7 @@ type ObjectLambdaAccessPointPolicyStatus struct { type ObjectLambdaAccessPointPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec ObjectLambdaAccessPointPolicySpec `json:"spec"` Status ObjectLambdaAccessPointPolicyStatus `json:"status,omitempty"` } diff --git a/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go b/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go index 537dcf722b..f3abf008e3 100755 --- a/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go +++ b/apis/s3control/v1beta1/zz_storagelensconfiguration_types.go @@ -795,8 +795,8 @@ type StorageLensConfigurationStatus struct { type StorageLensConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configId) || has(self.initProvider.configId)",message="configId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageLensConfiguration) || has(self.initProvider.storageLensConfiguration)",message="storageLensConfiguration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.configId) || (has(self.initProvider) && has(self.initProvider.configId))",message="spec.forProvider.configId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.storageLensConfiguration) || (has(self.initProvider) && has(self.initProvider.storageLensConfiguration))",message="spec.forProvider.storageLensConfiguration is a required parameter" Spec StorageLensConfigurationSpec `json:"spec"` Status StorageLensConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_app_types.go b/apis/sagemaker/v1beta1/zz_app_types.go index d885cc5649..62dcf25bd1 100755 --- a/apis/sagemaker/v1beta1/zz_app_types.go +++ b/apis/sagemaker/v1beta1/zz_app_types.go @@ -205,8 +205,8 @@ type AppStatus struct { type App struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appName) || has(self.initProvider.appName)",message="appName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appType) || has(self.initProvider.appType)",message="appType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appName) || (has(self.initProvider) && has(self.initProvider.appName))",message="spec.forProvider.appName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.appType) || (has(self.initProvider) && has(self.initProvider.appType))",message="spec.forProvider.appType is a required parameter" Spec AppSpec `json:"spec"` Status AppStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_coderepository_types.go b/apis/sagemaker/v1beta1/zz_coderepository_types.go index 14bf8b926b..e9e979a197 100755 --- a/apis/sagemaker/v1beta1/zz_coderepository_types.go +++ b/apis/sagemaker/v1beta1/zz_coderepository_types.go @@ -138,7 +138,7 @@ type CodeRepositoryStatus struct { type CodeRepository struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.gitConfig) || has(self.initProvider.gitConfig)",message="gitConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.gitConfig) || (has(self.initProvider) && has(self.initProvider.gitConfig))",message="spec.forProvider.gitConfig is a required parameter" Spec CodeRepositorySpec `json:"spec"` Status CodeRepositoryStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_device_types.go b/apis/sagemaker/v1beta1/zz_device_types.go index d5a3be69e2..1946b7779d 100755 --- a/apis/sagemaker/v1beta1/zz_device_types.go +++ b/apis/sagemaker/v1beta1/zz_device_types.go @@ -135,7 +135,7 @@ type DeviceStatus struct { type Device struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.device) || has(self.initProvider.device)",message="device is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.device) || (has(self.initProvider) && has(self.initProvider.device))",message="spec.forProvider.device is a required parameter" Spec DeviceSpec `json:"spec"` Status DeviceStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_devicefleet_types.go b/apis/sagemaker/v1beta1/zz_devicefleet_types.go index 59736799c8..e11ab4deae 100755 --- a/apis/sagemaker/v1beta1/zz_devicefleet_types.go +++ b/apis/sagemaker/v1beta1/zz_devicefleet_types.go @@ -160,7 +160,7 @@ type DeviceFleetStatus struct { type DeviceFleet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputConfig) || has(self.initProvider.outputConfig)",message="outputConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.outputConfig) || (has(self.initProvider) && has(self.initProvider.outputConfig))",message="spec.forProvider.outputConfig is a required parameter" Spec DeviceFleetSpec `json:"spec"` Status DeviceFleetStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_domain_types.go b/apis/sagemaker/v1beta1/zz_domain_types.go index 1f1fd469f1..d17e740f24 100755 --- a/apis/sagemaker/v1beta1/zz_domain_types.go +++ b/apis/sagemaker/v1beta1/zz_domain_types.go @@ -1353,9 +1353,9 @@ type DomainStatus struct { type Domain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authMode) || has(self.initProvider.authMode)",message="authMode is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultUserSettings) || has(self.initProvider.defaultUserSettings)",message="defaultUserSettings is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || has(self.initProvider.domainName)",message="domainName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.authMode) || (has(self.initProvider) && has(self.initProvider.authMode))",message="spec.forProvider.authMode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultUserSettings) || (has(self.initProvider) && has(self.initProvider.defaultUserSettings))",message="spec.forProvider.defaultUserSettings is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.domainName) || (has(self.initProvider) && has(self.initProvider.domainName))",message="spec.forProvider.domainName is a required parameter" Spec DomainSpec `json:"spec"` Status DomainStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go b/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go index f997132556..bd635cda76 100755 --- a/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go +++ b/apis/sagemaker/v1beta1/zz_endpointconfiguration_types.go @@ -770,7 +770,7 @@ type EndpointConfigurationStatus struct { type EndpointConfiguration struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.productionVariants) || has(self.initProvider.productionVariants)",message="productionVariants is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.productionVariants) || (has(self.initProvider) && has(self.initProvider.productionVariants))",message="spec.forProvider.productionVariants is a required parameter" Spec EndpointConfigurationSpec `json:"spec"` Status EndpointConfigurationStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_featuregroup_types.go b/apis/sagemaker/v1beta1/zz_featuregroup_types.go index 66786220e9..8d59124b08 100755 --- a/apis/sagemaker/v1beta1/zz_featuregroup_types.go +++ b/apis/sagemaker/v1beta1/zz_featuregroup_types.go @@ -352,9 +352,9 @@ type FeatureGroupStatus struct { type FeatureGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventTimeFeatureName) || has(self.initProvider.eventTimeFeatureName)",message="eventTimeFeatureName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureDefinition) || has(self.initProvider.featureDefinition)",message="featureDefinition is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recordIdentifierFeatureName) || has(self.initProvider.recordIdentifierFeatureName)",message="recordIdentifierFeatureName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventTimeFeatureName) || (has(self.initProvider) && has(self.initProvider.eventTimeFeatureName))",message="spec.forProvider.eventTimeFeatureName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.featureDefinition) || (has(self.initProvider) && has(self.initProvider.featureDefinition))",message="spec.forProvider.featureDefinition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.recordIdentifierFeatureName) || (has(self.initProvider) && has(self.initProvider.recordIdentifierFeatureName))",message="spec.forProvider.recordIdentifierFeatureName is a required parameter" Spec FeatureGroupSpec `json:"spec"` Status FeatureGroupStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_generated.deepcopy.go b/apis/sagemaker/v1beta1/zz_generated.deepcopy.go index ceef1c799e..11f2a7b3e9 100644 --- a/apis/sagemaker/v1beta1/zz_generated.deepcopy.go +++ b/apis/sagemaker/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -86,7 +85,8 @@ func (in *AppImageConfigInitParameters) DeepCopyInto(out *AppImageConfigInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -165,7 +165,8 @@ func (in *AppImageConfigObservation) DeepCopyInto(out *AppImageConfigObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -180,7 +181,8 @@ func (in *AppImageConfigObservation) DeepCopyInto(out *AppImageConfigObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -222,7 +224,8 @@ func (in *AppImageConfigParameters) DeepCopyInto(out *AppImageConfigParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -309,7 +312,8 @@ func (in *AppInitParameters) DeepCopyInto(out *AppInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -408,7 +412,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -423,7 +428,8 @@ func (in *AppObservation) DeepCopyInto(out *AppObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -500,7 +506,8 @@ func (in *AppParameters) DeepCopyInto(out *AppParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1280,7 +1287,8 @@ func (in *CodeRepositoryInitParameters) DeepCopyInto(out *CodeRepositoryInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1359,7 +1367,8 @@ func (in *CodeRepositoryObservation) DeepCopyInto(out *CodeRepositoryObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1374,7 +1383,8 @@ func (in *CodeRepositoryObservation) DeepCopyInto(out *CodeRepositoryObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1416,7 +1426,8 @@ func (in *CodeRepositoryParameters) DeepCopyInto(out *CodeRepositoryParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1676,7 +1687,8 @@ func (in *ContainerInitParameters) DeepCopyInto(out *ContainerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1733,7 +1745,8 @@ func (in *ContainerObservation) DeepCopyInto(out *ContainerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1790,7 +1803,8 @@ func (in *ContainerParameters) DeepCopyInto(out *ContainerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3295,7 +3309,8 @@ func (in *DeviceFleetInitParameters) DeepCopyInto(out *DeviceFleetInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3394,7 +3409,8 @@ func (in *DeviceFleetObservation) DeepCopyInto(out *DeviceFleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3409,7 +3425,8 @@ func (in *DeviceFleetObservation) DeepCopyInto(out *DeviceFleetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3476,7 +3493,8 @@ func (in *DeviceFleetParameters) DeepCopyInto(out *DeviceFleetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3789,7 +3807,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3940,7 +3959,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3955,7 +3975,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4086,7 +4107,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4335,7 +4357,8 @@ func (in *EndpointConfigurationInitParameters) DeepCopyInto(out *EndpointConfigu if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4440,7 +4463,8 @@ func (in *EndpointConfigurationObservation) DeepCopyInto(out *EndpointConfigurat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4455,7 +4479,8 @@ func (in *EndpointConfigurationObservation) DeepCopyInto(out *EndpointConfigurat if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4533,7 +4558,8 @@ func (in *EndpointConfigurationParameters) DeepCopyInto(out *EndpointConfigurati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4736,7 +4762,8 @@ func (in *FeatureGroupInitParameters) DeepCopyInto(out *FeatureGroupInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4849,7 +4876,8 @@ func (in *FeatureGroupObservation) DeepCopyInto(out *FeatureGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4864,7 +4892,8 @@ func (in *FeatureGroupObservation) DeepCopyInto(out *FeatureGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4950,7 +4979,8 @@ func (in *FeatureGroupParameters) DeepCopyInto(out *FeatureGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5378,7 +5408,8 @@ func (in *ImageInitParameters) DeepCopyInto(out *ImageInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5465,7 +5496,8 @@ func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5480,7 +5512,8 @@ func (in *ImageObservation) DeepCopyInto(out *ImageObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -5540,7 +5573,8 @@ func (in *ImageParameters) DeepCopyInto(out *ImageParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6839,7 +6873,8 @@ func (in *ModelInitParameters) DeepCopyInto(out *ModelInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6949,7 +6984,8 @@ func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -6964,7 +7000,8 @@ func (in *ModelObservation) DeepCopyInto(out *ModelObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7033,7 +7070,8 @@ func (in *ModelPackageGroupInitParameters) DeepCopyInto(out *ModelPackageGroupIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7110,7 +7148,8 @@ func (in *ModelPackageGroupObservation) DeepCopyInto(out *ModelPackageGroupObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7125,7 +7164,8 @@ func (in *ModelPackageGroupObservation) DeepCopyInto(out *ModelPackageGroupObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7165,7 +7205,8 @@ func (in *ModelPackageGroupParameters) DeepCopyInto(out *ModelPackageGroupParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7460,7 +7501,8 @@ func (in *ModelParameters) DeepCopyInto(out *ModelParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -7699,7 +7741,8 @@ func (in *NotebookInstanceInitParameters) DeepCopyInto(out *NotebookInstanceInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8050,7 +8093,8 @@ func (in *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8065,7 +8109,8 @@ func (in *NotebookInstanceObservation) DeepCopyInto(out *NotebookInstanceObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -8235,7 +8280,8 @@ func (in *NotebookInstanceParameters) DeepCopyInto(out *NotebookInstanceParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9061,7 +9107,8 @@ func (in *PrimaryContainerInitParameters) DeepCopyInto(out *PrimaryContainerInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9118,7 +9165,8 @@ func (in *PrimaryContainerObservation) DeepCopyInto(out *PrimaryContainerObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -9175,7 +9223,8 @@ func (in *PrimaryContainerParameters) DeepCopyInto(out *PrimaryContainerParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11235,7 +11284,8 @@ func (in *SpaceInitParameters) DeepCopyInto(out *SpaceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11329,7 +11379,8 @@ func (in *SpaceObservation) DeepCopyInto(out *SpaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11344,7 +11395,8 @@ func (in *SpaceObservation) DeepCopyInto(out *SpaceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -11406,7 +11458,8 @@ func (in *SpaceParameters) DeepCopyInto(out *SpaceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12195,7 +12248,8 @@ func (in *StudioLifecycleConfigInitParameters) DeepCopyInto(out *StudioLifecycle if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12277,7 +12331,8 @@ func (in *StudioLifecycleConfigObservation) DeepCopyInto(out *StudioLifecycleCon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12292,7 +12347,8 @@ func (in *StudioLifecycleConfigObservation) DeepCopyInto(out *StudioLifecycleCon if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12337,7 +12393,8 @@ func (in *StudioLifecycleConfigParameters) DeepCopyInto(out *StudioLifecycleConf if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12685,7 +12742,8 @@ func (in *UserProfileInitParameters) DeepCopyInto(out *UserProfileInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12789,7 +12847,8 @@ func (in *UserProfileObservation) DeepCopyInto(out *UserProfileObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12804,7 +12863,8 @@ func (in *UserProfileObservation) DeepCopyInto(out *UserProfileObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -12876,7 +12936,8 @@ func (in *UserProfileParameters) DeepCopyInto(out *UserProfileParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15027,7 +15088,8 @@ func (in *WorkteamInitParameters) DeepCopyInto(out *WorkteamInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15123,7 +15185,8 @@ func (in *WorkteamObservation) DeepCopyInto(out *WorkteamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15138,7 +15201,8 @@ func (in *WorkteamObservation) DeepCopyInto(out *WorkteamObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -15197,7 +15261,8 @@ func (in *WorkteamParameters) DeepCopyInto(out *WorkteamParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/sagemaker/v1beta1/zz_generated.managed.go b/apis/sagemaker/v1beta1/zz_generated.managed.go index 2272efb89b..4e3a39ffb9 100644 --- a/apis/sagemaker/v1beta1/zz_generated.managed.go +++ b/apis/sagemaker/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *App) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this App. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *App) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this App. func (mg *App) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *App) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this App. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *App) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this App. func (mg *App) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *AppImageConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AppImageConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AppImageConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AppImageConfig. func (mg *AppImageConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *AppImageConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AppImageConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AppImageConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AppImageConfig. func (mg *AppImageConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *CodeRepository) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CodeRepository. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CodeRepository) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CodeRepository. func (mg *CodeRepository) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *CodeRepository) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CodeRepository. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CodeRepository) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CodeRepository. func (mg *CodeRepository) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Device) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Device. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Device) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Device. func (mg *Device) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Device) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Device. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Device) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Device. func (mg *Device) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *DeviceFleet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DeviceFleet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DeviceFleet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DeviceFleet. func (mg *DeviceFleet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *DeviceFleet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DeviceFleet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DeviceFleet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DeviceFleet. func (mg *DeviceFleet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *EndpointConfiguration) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EndpointConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EndpointConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EndpointConfiguration. func (mg *EndpointConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *EndpointConfiguration) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EndpointConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EndpointConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EndpointConfiguration. func (mg *EndpointConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *FeatureGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FeatureGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FeatureGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FeatureGroup. func (mg *FeatureGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *FeatureGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FeatureGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FeatureGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FeatureGroup. func (mg *FeatureGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *Image) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Image. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Image) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Image. func (mg *Image) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *Image) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Image. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Image) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Image. func (mg *Image) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *ImageVersion) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ImageVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ImageVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ImageVersion. func (mg *ImageVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *ImageVersion) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ImageVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ImageVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ImageVersion. func (mg *ImageVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *Model) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Model. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Model) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Model. func (mg *Model) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *Model) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Model. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Model) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Model. func (mg *Model) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *ModelPackageGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ModelPackageGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ModelPackageGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ModelPackageGroup. func (mg *ModelPackageGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *ModelPackageGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ModelPackageGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ModelPackageGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ModelPackageGroup. func (mg *ModelPackageGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *ModelPackageGroupPolicy) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ModelPackageGroupPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ModelPackageGroupPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ModelPackageGroupPolicy. func (mg *ModelPackageGroupPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *ModelPackageGroupPolicy) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ModelPackageGroupPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ModelPackageGroupPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ModelPackageGroupPolicy. func (mg *ModelPackageGroupPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1015,14 +807,6 @@ func (mg *NotebookInstance) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NotebookInstance. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NotebookInstance) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NotebookInstance. func (mg *NotebookInstance) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1053,14 +837,6 @@ func (mg *NotebookInstance) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NotebookInstance. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NotebookInstance) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NotebookInstance. func (mg *NotebookInstance) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1091,14 +867,6 @@ func (mg *NotebookInstanceLifecycleConfiguration) GetProviderConfigReference() * return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NotebookInstanceLifecycleConfiguration. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NotebookInstanceLifecycleConfiguration) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NotebookInstanceLifecycleConfiguration. func (mg *NotebookInstanceLifecycleConfiguration) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1129,14 +897,6 @@ func (mg *NotebookInstanceLifecycleConfiguration) SetProviderConfigReference(r * mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NotebookInstanceLifecycleConfiguration. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NotebookInstanceLifecycleConfiguration) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NotebookInstanceLifecycleConfiguration. func (mg *NotebookInstanceLifecycleConfiguration) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1167,14 +927,6 @@ func (mg *ServicecatalogPortfolioStatus) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServicecatalogPortfolioStatus. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServicecatalogPortfolioStatus) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServicecatalogPortfolioStatus. func (mg *ServicecatalogPortfolioStatus) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1205,14 +957,6 @@ func (mg *ServicecatalogPortfolioStatus) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServicecatalogPortfolioStatus. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServicecatalogPortfolioStatus) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServicecatalogPortfolioStatus. func (mg *ServicecatalogPortfolioStatus) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1243,14 +987,6 @@ func (mg *Space) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Space. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Space) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Space. func (mg *Space) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1281,14 +1017,6 @@ func (mg *Space) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Space. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Space) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Space. func (mg *Space) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1319,14 +1047,6 @@ func (mg *StudioLifecycleConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StudioLifecycleConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StudioLifecycleConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StudioLifecycleConfig. func (mg *StudioLifecycleConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1357,14 +1077,6 @@ func (mg *StudioLifecycleConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StudioLifecycleConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StudioLifecycleConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StudioLifecycleConfig. func (mg *StudioLifecycleConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1395,14 +1107,6 @@ func (mg *UserProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this UserProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *UserProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this UserProfile. func (mg *UserProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1433,14 +1137,6 @@ func (mg *UserProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this UserProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *UserProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this UserProfile. func (mg *UserProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1471,14 +1167,6 @@ func (mg *Workforce) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workforce. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workforce) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workforce. func (mg *Workforce) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1509,14 +1197,6 @@ func (mg *Workforce) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workforce. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workforce) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workforce. func (mg *Workforce) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -1547,14 +1227,6 @@ func (mg *Workteam) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workteam. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workteam) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workteam. func (mg *Workteam) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -1585,14 +1257,6 @@ func (mg *Workteam) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workteam. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workteam) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workteam. func (mg *Workteam) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sagemaker/v1beta1/zz_imageversion_types.go b/apis/sagemaker/v1beta1/zz_imageversion_types.go index 9898d13bb2..d5a49ace67 100755 --- a/apis/sagemaker/v1beta1/zz_imageversion_types.go +++ b/apis/sagemaker/v1beta1/zz_imageversion_types.go @@ -104,7 +104,7 @@ type ImageVersionStatus struct { type ImageVersion struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseImage) || has(self.initProvider.baseImage)",message="baseImage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseImage) || (has(self.initProvider) && has(self.initProvider.baseImage))",message="spec.forProvider.baseImage is a required parameter" Spec ImageVersionSpec `json:"spec"` Status ImageVersionStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go b/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go index 5e2b1c8ea3..8aa1ffd9c4 100755 --- a/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go +++ b/apis/sagemaker/v1beta1/zz_modelpackagegrouppolicy_types.go @@ -88,7 +88,7 @@ type ModelPackageGroupPolicyStatus struct { type ModelPackageGroupPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourcePolicy) || has(self.initProvider.resourcePolicy)",message="resourcePolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourcePolicy) || (has(self.initProvider) && has(self.initProvider.resourcePolicy))",message="spec.forProvider.resourcePolicy is a required parameter" Spec ModelPackageGroupPolicySpec `json:"spec"` Status ModelPackageGroupPolicyStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_notebookinstance_types.go b/apis/sagemaker/v1beta1/zz_notebookinstance_types.go index 87c2cef8dc..69f22f039a 100755 --- a/apis/sagemaker/v1beta1/zz_notebookinstance_types.go +++ b/apis/sagemaker/v1beta1/zz_notebookinstance_types.go @@ -275,7 +275,7 @@ type NotebookInstanceStatus struct { type NotebookInstance struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || has(self.initProvider.instanceType)",message="instanceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceType) || (has(self.initProvider) && has(self.initProvider.instanceType))",message="spec.forProvider.instanceType is a required parameter" Spec NotebookInstanceSpec `json:"spec"` Status NotebookInstanceStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_servicecatalogportfoliostatus_types.go b/apis/sagemaker/v1beta1/zz_servicecatalogportfoliostatus_types.go index 67caa9b7f5..64b49685a6 100755 --- a/apis/sagemaker/v1beta1/zz_servicecatalogportfoliostatus_types.go +++ b/apis/sagemaker/v1beta1/zz_servicecatalogportfoliostatus_types.go @@ -76,7 +76,7 @@ type ServicecatalogPortfolioStatusStatus struct { type ServicecatalogPortfolioStatus struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.status) || has(self.initProvider.status)",message="status is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.status) || (has(self.initProvider) && has(self.initProvider.status))",message="spec.forProvider.status is a required parameter" Spec ServicecatalogPortfolioStatusSpec `json:"spec"` Status ServicecatalogPortfolioStatusStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_space_types.go b/apis/sagemaker/v1beta1/zz_space_types.go index 547b5f592b..0a3d9b2931 100755 --- a/apis/sagemaker/v1beta1/zz_space_types.go +++ b/apis/sagemaker/v1beta1/zz_space_types.go @@ -385,7 +385,7 @@ type SpaceStatus struct { type Space struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spaceName) || has(self.initProvider.spaceName)",message="spaceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.spaceName) || (has(self.initProvider) && has(self.initProvider.spaceName))",message="spec.forProvider.spaceName is a required parameter" Spec SpaceSpec `json:"spec"` Status SpaceStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_studiolifecycleconfig_types.go b/apis/sagemaker/v1beta1/zz_studiolifecycleconfig_types.go index fbd1fdf887..7314138c0a 100755 --- a/apis/sagemaker/v1beta1/zz_studiolifecycleconfig_types.go +++ b/apis/sagemaker/v1beta1/zz_studiolifecycleconfig_types.go @@ -102,8 +102,8 @@ type StudioLifecycleConfigStatus struct { type StudioLifecycleConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigAppType) || has(self.initProvider.studioLifecycleConfigAppType)",message="studioLifecycleConfigAppType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigContent) || has(self.initProvider.studioLifecycleConfigContent)",message="studioLifecycleConfigContent is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigAppType) || (has(self.initProvider) && has(self.initProvider.studioLifecycleConfigAppType))",message="spec.forProvider.studioLifecycleConfigAppType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigContent) || (has(self.initProvider) && has(self.initProvider.studioLifecycleConfigContent))",message="spec.forProvider.studioLifecycleConfigContent is a required parameter" Spec StudioLifecycleConfigSpec `json:"spec"` Status StudioLifecycleConfigStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_userprofile_types.go b/apis/sagemaker/v1beta1/zz_userprofile_types.go index 4e4907aef8..605a12e8f8 100755 --- a/apis/sagemaker/v1beta1/zz_userprofile_types.go +++ b/apis/sagemaker/v1beta1/zz_userprofile_types.go @@ -815,7 +815,7 @@ type UserProfileStatus struct { type UserProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userProfileName) || has(self.initProvider.userProfileName)",message="userProfileName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.userProfileName) || (has(self.initProvider) && has(self.initProvider.userProfileName))",message="spec.forProvider.userProfileName is a required parameter" Spec UserProfileSpec `json:"spec"` Status UserProfileStatus `json:"status,omitempty"` } diff --git a/apis/sagemaker/v1beta1/zz_workteam_types.go b/apis/sagemaker/v1beta1/zz_workteam_types.go index 7d660dee2e..318cb56ac9 100755 --- a/apis/sagemaker/v1beta1/zz_workteam_types.go +++ b/apis/sagemaker/v1beta1/zz_workteam_types.go @@ -259,8 +259,8 @@ type WorkteamStatus struct { type Workteam struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memberDefinition) || has(self.initProvider.memberDefinition)",message="memberDefinition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.memberDefinition) || (has(self.initProvider) && has(self.initProvider.memberDefinition))",message="spec.forProvider.memberDefinition is a required parameter" Spec WorkteamSpec `json:"spec"` Status WorkteamStatus `json:"status,omitempty"` } diff --git a/apis/scheduler/v1beta1/zz_generated.deepcopy.go b/apis/scheduler/v1beta1/zz_generated.deepcopy.go index ee40ef7790..cf23071bdf 100644 --- a/apis/scheduler/v1beta1/zz_generated.deepcopy.go +++ b/apis/scheduler/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -238,7 +237,8 @@ func (in *EcsParametersInitParameters) DeepCopyInto(out *EcsParametersInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -341,7 +341,8 @@ func (in *EcsParametersObservation) DeepCopyInto(out *EcsParametersObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -444,7 +445,8 @@ func (in *EcsParametersParameters) DeepCopyInto(out *EcsParametersParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1245,7 +1247,8 @@ func (in *ScheduleGroupInitParameters) DeepCopyInto(out *ScheduleGroupInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1337,7 +1340,8 @@ func (in *ScheduleGroupObservation) DeepCopyInto(out *ScheduleGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1352,7 +1356,8 @@ func (in *ScheduleGroupObservation) DeepCopyInto(out *ScheduleGroupObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1392,7 +1397,8 @@ func (in *ScheduleGroupParameters) DeepCopyInto(out *ScheduleGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/scheduler/v1beta1/zz_generated.managed.go b/apis/scheduler/v1beta1/zz_generated.managed.go index 9016d53442..52af2710e3 100644 --- a/apis/scheduler/v1beta1/zz_generated.managed.go +++ b/apis/scheduler/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Schedule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Schedule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Schedule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Schedule. func (mg *Schedule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Schedule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Schedule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Schedule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Schedule. func (mg *Schedule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ScheduleGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ScheduleGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ScheduleGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ScheduleGroup. func (mg *ScheduleGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ScheduleGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ScheduleGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ScheduleGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ScheduleGroup. func (mg *ScheduleGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/scheduler/v1beta1/zz_schedule_types.go b/apis/scheduler/v1beta1/zz_schedule_types.go index 940bc1fc53..ea29ce614f 100755 --- a/apis/scheduler/v1beta1/zz_schedule_types.go +++ b/apis/scheduler/v1beta1/zz_schedule_types.go @@ -785,9 +785,9 @@ type ScheduleStatus struct { type Schedule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.flexibleTimeWindow) || has(self.initProvider.flexibleTimeWindow)",message="flexibleTimeWindow is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scheduleExpression) || has(self.initProvider.scheduleExpression)",message="scheduleExpression is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || has(self.initProvider.target)",message="target is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.flexibleTimeWindow) || (has(self.initProvider) && has(self.initProvider.flexibleTimeWindow))",message="spec.forProvider.flexibleTimeWindow is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scheduleExpression) || (has(self.initProvider) && has(self.initProvider.scheduleExpression))",message="spec.forProvider.scheduleExpression is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.target) || (has(self.initProvider) && has(self.initProvider.target))",message="spec.forProvider.target is a required parameter" Spec ScheduleSpec `json:"spec"` Status ScheduleStatus `json:"status,omitempty"` } diff --git a/apis/schemas/v1beta1/zz_generated.deepcopy.go b/apis/schemas/v1beta1/zz_generated.deepcopy.go index 598e6dd723..e7f5123c3a 100644 --- a/apis/schemas/v1beta1/zz_generated.deepcopy.go +++ b/apis/schemas/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -57,7 +56,8 @@ func (in *DiscovererInitParameters) DeepCopyInto(out *DiscovererInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -139,7 +139,8 @@ func (in *DiscovererObservation) DeepCopyInto(out *DiscovererObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -154,7 +155,8 @@ func (in *DiscovererObservation) DeepCopyInto(out *DiscovererObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -209,7 +211,8 @@ func (in *DiscovererParameters) DeepCopyInto(out *DiscovererParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -306,7 +309,8 @@ func (in *RegistryInitParameters) DeepCopyInto(out *RegistryInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -383,7 +387,8 @@ func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -398,7 +403,8 @@ func (in *RegistryObservation) DeepCopyInto(out *RegistryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -438,7 +444,8 @@ func (in *RegistryParameters) DeepCopyInto(out *RegistryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -545,7 +552,8 @@ func (in *SchemaInitParameters) DeepCopyInto(out *SchemaInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -647,7 +655,8 @@ func (in *SchemaObservation) DeepCopyInto(out *SchemaObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -662,7 +671,8 @@ func (in *SchemaObservation) DeepCopyInto(out *SchemaObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -742,7 +752,8 @@ func (in *SchemaParameters) DeepCopyInto(out *SchemaParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/schemas/v1beta1/zz_generated.managed.go b/apis/schemas/v1beta1/zz_generated.managed.go index 58f161677e..c6ce8ca469 100644 --- a/apis/schemas/v1beta1/zz_generated.managed.go +++ b/apis/schemas/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Discoverer) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Discoverer. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Discoverer) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Discoverer. func (mg *Discoverer) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Discoverer) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Discoverer. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Discoverer) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Discoverer. func (mg *Discoverer) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Registry) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Registry. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Registry) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Registry. func (mg *Registry) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Registry) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Registry. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Registry) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Registry. func (mg *Registry) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Schema) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Schema. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Schema) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Schema. func (mg *Schema) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Schema) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Schema. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Schema) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Schema. func (mg *Schema) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/schemas/v1beta1/zz_schema_types.go b/apis/schemas/v1beta1/zz_schema_types.go index 53d6e94be3..587a1c6dd9 100755 --- a/apis/schemas/v1beta1/zz_schema_types.go +++ b/apis/schemas/v1beta1/zz_schema_types.go @@ -146,9 +146,9 @@ type SchemaStatus struct { type Schema struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || has(self.initProvider.content)",message="content is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec SchemaSpec `json:"spec"` Status SchemaStatus `json:"status,omitempty"` } diff --git a/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go b/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go index ee8cc1e576..340c0783ec 100644 --- a/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go +++ b/apis/secretsmanager/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -224,7 +223,8 @@ func (in *SecretInitParameters) DeepCopyInto(out *SecretInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -350,7 +350,8 @@ func (in *SecretObservation) DeepCopyInto(out *SecretObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -365,7 +366,8 @@ func (in *SecretObservation) DeepCopyInto(out *SecretObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -442,7 +444,8 @@ func (in *SecretParameters) DeepCopyInto(out *SecretParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/secretsmanager/v1beta1/zz_generated.managed.go b/apis/secretsmanager/v1beta1/zz_generated.managed.go index 42aad1ee5d..97e8fbb701 100644 --- a/apis/secretsmanager/v1beta1/zz_generated.managed.go +++ b/apis/secretsmanager/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Secret) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Secret. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Secret) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Secret. func (mg *Secret) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Secret) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Secret. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Secret) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Secret. func (mg *Secret) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *SecretPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecretPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecretPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecretPolicy. func (mg *SecretPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *SecretPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecretPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecretPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecretPolicy. func (mg *SecretPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *SecretRotation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecretRotation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecretRotation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecretRotation. func (mg *SecretRotation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *SecretRotation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecretRotation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecretRotation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecretRotation. func (mg *SecretRotation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *SecretVersion) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SecretVersion. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SecretVersion) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SecretVersion. func (mg *SecretVersion) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *SecretVersion) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SecretVersion. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SecretVersion) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SecretVersion. func (mg *SecretVersion) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go b/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go index a25efb6e42..60e063d2b1 100755 --- a/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go +++ b/apis/secretsmanager/v1beta1/zz_secretpolicy_types.go @@ -103,7 +103,7 @@ type SecretPolicyStatus struct { type SecretPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec SecretPolicySpec `json:"spec"` Status SecretPolicyStatus `json:"status,omitempty"` } diff --git a/apis/secretsmanager/v1beta1/zz_secretrotation_types.go b/apis/secretsmanager/v1beta1/zz_secretrotation_types.go index f8755f4c72..705f688f98 100755 --- a/apis/secretsmanager/v1beta1/zz_secretrotation_types.go +++ b/apis/secretsmanager/v1beta1/zz_secretrotation_types.go @@ -152,7 +152,7 @@ type SecretRotationStatus struct { type SecretRotation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rotationRules) || has(self.initProvider.rotationRules)",message="rotationRules is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rotationRules) || (has(self.initProvider) && has(self.initProvider.rotationRules))",message="spec.forProvider.rotationRules is a required parameter" Spec SecretRotationSpec `json:"spec"` Status SecretRotationStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_actiontarget_types.go b/apis/securityhub/v1beta1/zz_actiontarget_types.go index 7a013e33d3..715ce263e4 100755 --- a/apis/securityhub/v1beta1/zz_actiontarget_types.go +++ b/apis/securityhub/v1beta1/zz_actiontarget_types.go @@ -88,8 +88,8 @@ type ActionTargetStatus struct { type ActionTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || has(self.initProvider.description)",message="description is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.description) || (has(self.initProvider) && has(self.initProvider.description))",message="spec.forProvider.description is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ActionTargetSpec `json:"spec"` Status ActionTargetStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_findingaggregator_types.go b/apis/securityhub/v1beta1/zz_findingaggregator_types.go index db4679b660..f40845882b 100755 --- a/apis/securityhub/v1beta1/zz_findingaggregator_types.go +++ b/apis/securityhub/v1beta1/zz_findingaggregator_types.go @@ -84,7 +84,7 @@ type FindingAggregatorStatus struct { type FindingAggregator struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.linkingMode) || has(self.initProvider.linkingMode)",message="linkingMode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.linkingMode) || (has(self.initProvider) && has(self.initProvider.linkingMode))",message="spec.forProvider.linkingMode is a required parameter" Spec FindingAggregatorSpec `json:"spec"` Status FindingAggregatorStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_generated.deepcopy.go b/apis/securityhub/v1beta1/zz_generated.deepcopy.go index ec1f7a473b..188ede5eff 100644 --- a/apis/securityhub/v1beta1/zz_generated.deepcopy.go +++ b/apis/securityhub/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/securityhub/v1beta1/zz_generated.managed.go b/apis/securityhub/v1beta1/zz_generated.managed.go index 17260999fc..b8433ca30e 100644 --- a/apis/securityhub/v1beta1/zz_generated.managed.go +++ b/apis/securityhub/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Account) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Account. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Account) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Account. func (mg *Account) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Account) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Account. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Account) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Account. func (mg *Account) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ActionTarget) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ActionTarget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ActionTarget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ActionTarget. func (mg *ActionTarget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ActionTarget) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ActionTarget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ActionTarget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ActionTarget. func (mg *ActionTarget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *FindingAggregator) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this FindingAggregator. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *FindingAggregator) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this FindingAggregator. func (mg *FindingAggregator) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *FindingAggregator) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this FindingAggregator. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *FindingAggregator) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this FindingAggregator. func (mg *FindingAggregator) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Insight) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Insight. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Insight) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Insight. func (mg *Insight) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Insight) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Insight. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Insight) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Insight. func (mg *Insight) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *InviteAccepter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this InviteAccepter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *InviteAccepter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this InviteAccepter. func (mg *InviteAccepter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *InviteAccepter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this InviteAccepter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *InviteAccepter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this InviteAccepter. func (mg *InviteAccepter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Member) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Member. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Member) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Member. func (mg *Member) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Member) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Member. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Member) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Member. func (mg *Member) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ProductSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProductSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProductSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProductSubscription. func (mg *ProductSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ProductSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProductSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProductSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProductSubscription. func (mg *ProductSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *StandardsSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StandardsSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StandardsSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StandardsSubscription. func (mg *StandardsSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *StandardsSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StandardsSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StandardsSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StandardsSubscription. func (mg *StandardsSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/securityhub/v1beta1/zz_insight_types.go b/apis/securityhub/v1beta1/zz_insight_types.go index a4c990c77c..1df8ad7e74 100755 --- a/apis/securityhub/v1beta1/zz_insight_types.go +++ b/apis/securityhub/v1beta1/zz_insight_types.go @@ -4019,9 +4019,9 @@ type InsightStatus struct { type Insight struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filters) || has(self.initProvider.filters)",message="filters is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupByAttribute) || has(self.initProvider.groupByAttribute)",message="groupByAttribute is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filters) || (has(self.initProvider) && has(self.initProvider.filters))",message="spec.forProvider.filters is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupByAttribute) || (has(self.initProvider) && has(self.initProvider.groupByAttribute))",message="spec.forProvider.groupByAttribute is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec InsightSpec `json:"spec"` Status InsightStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_member_types.go b/apis/securityhub/v1beta1/zz_member_types.go index 1a90892fcc..63e2ce09f2 100755 --- a/apis/securityhub/v1beta1/zz_member_types.go +++ b/apis/securityhub/v1beta1/zz_member_types.go @@ -102,7 +102,7 @@ type MemberStatus struct { type Member struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || has(self.initProvider.accountId)",message="accountId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.accountId) || (has(self.initProvider) && has(self.initProvider.accountId))",message="spec.forProvider.accountId is a required parameter" Spec MemberSpec `json:"spec"` Status MemberStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_productsubscription_types.go b/apis/securityhub/v1beta1/zz_productsubscription_types.go index 947b65e7fe..be9689621a 100755 --- a/apis/securityhub/v1beta1/zz_productsubscription_types.go +++ b/apis/securityhub/v1beta1/zz_productsubscription_types.go @@ -78,7 +78,7 @@ type ProductSubscriptionStatus struct { type ProductSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.productArn) || has(self.initProvider.productArn)",message="productArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.productArn) || (has(self.initProvider) && has(self.initProvider.productArn))",message="spec.forProvider.productArn is a required parameter" Spec ProductSubscriptionSpec `json:"spec"` Status ProductSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/securityhub/v1beta1/zz_standardssubscription_types.go b/apis/securityhub/v1beta1/zz_standardssubscription_types.go index 133aa63f1c..fabbb4ea4b 100755 --- a/apis/securityhub/v1beta1/zz_standardssubscription_types.go +++ b/apis/securityhub/v1beta1/zz_standardssubscription_types.go @@ -76,7 +76,7 @@ type StandardsSubscriptionStatus struct { type StandardsSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.standardsArn) || has(self.initProvider.standardsArn)",message="standardsArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.standardsArn) || (has(self.initProvider) && has(self.initProvider.standardsArn))",message="spec.forProvider.standardsArn is a required parameter" Spec StandardsSubscriptionSpec `json:"spec"` Status StandardsSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/serverlessrepo/v1beta1/zz_cloudformationstack_types.go b/apis/serverlessrepo/v1beta1/zz_cloudformationstack_types.go index 7eeecd57e7..91e61319fa 100755 --- a/apis/serverlessrepo/v1beta1/zz_cloudformationstack_types.go +++ b/apis/serverlessrepo/v1beta1/zz_cloudformationstack_types.go @@ -132,9 +132,9 @@ type CloudFormationStackStatus struct { type CloudFormationStack struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.applicationId) || has(self.initProvider.applicationId)",message="applicationId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.capabilities) || has(self.initProvider.capabilities)",message="capabilities is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.applicationId) || (has(self.initProvider) && has(self.initProvider.applicationId))",message="spec.forProvider.applicationId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.capabilities) || (has(self.initProvider) && has(self.initProvider.capabilities))",message="spec.forProvider.capabilities is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec CloudFormationStackSpec `json:"spec"` Status CloudFormationStackStatus `json:"status,omitempty"` } diff --git a/apis/serverlessrepo/v1beta1/zz_generated.deepcopy.go b/apis/serverlessrepo/v1beta1/zz_generated.deepcopy.go index ba298f522f..8b1a5c340a 100644 --- a/apis/serverlessrepo/v1beta1/zz_generated.deepcopy.go +++ b/apis/serverlessrepo/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -72,7 +71,8 @@ func (in *CloudFormationStackInitParameters) DeepCopyInto(out *CloudFormationSta if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -92,7 +92,8 @@ func (in *CloudFormationStackInitParameters) DeepCopyInto(out *CloudFormationSta if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -180,7 +181,8 @@ func (in *CloudFormationStackObservation) DeepCopyInto(out *CloudFormationStackO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -195,7 +197,8 @@ func (in *CloudFormationStackObservation) DeepCopyInto(out *CloudFormationStackO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -215,7 +218,8 @@ func (in *CloudFormationStackObservation) DeepCopyInto(out *CloudFormationStackO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -230,7 +234,8 @@ func (in *CloudFormationStackObservation) DeepCopyInto(out *CloudFormationStackO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -281,7 +286,8 @@ func (in *CloudFormationStackParameters) DeepCopyInto(out *CloudFormationStackPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -306,7 +312,8 @@ func (in *CloudFormationStackParameters) DeepCopyInto(out *CloudFormationStackPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/serverlessrepo/v1beta1/zz_generated.managed.go b/apis/serverlessrepo/v1beta1/zz_generated.managed.go index bbc1477c51..d54e71bceb 100644 --- a/apis/serverlessrepo/v1beta1/zz_generated.managed.go +++ b/apis/serverlessrepo/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *CloudFormationStack) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this CloudFormationStack. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *CloudFormationStack) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this CloudFormationStack. func (mg *CloudFormationStack) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *CloudFormationStack) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this CloudFormationStack. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *CloudFormationStack) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this CloudFormationStack. func (mg *CloudFormationStack) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/servicecatalog/v1beta1/zz_constraint_types.go b/apis/servicecatalog/v1beta1/zz_constraint_types.go index 27c4a083ad..61f9a0bafe 100755 --- a/apis/servicecatalog/v1beta1/zz_constraint_types.go +++ b/apis/servicecatalog/v1beta1/zz_constraint_types.go @@ -145,8 +145,8 @@ type ConstraintStatus struct { type Constraint struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || has(self.initProvider.parameters)",message="parameters is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.parameters) || (has(self.initProvider) && has(self.initProvider.parameters))",message="spec.forProvider.parameters is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ConstraintSpec `json:"spec"` Status ConstraintStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go b/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go index ed60da5e4b..9a02143a08 100644 --- a/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go +++ b/apis/servicecatalog/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -635,7 +634,8 @@ func (in *PortfolioInitParameters) DeepCopyInto(out *PortfolioInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -727,7 +727,8 @@ func (in *PortfolioObservation) DeepCopyInto(out *PortfolioObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -742,7 +743,8 @@ func (in *PortfolioObservation) DeepCopyInto(out *PortfolioObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -792,7 +794,8 @@ func (in *PortfolioParameters) DeepCopyInto(out *PortfolioParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1414,7 +1417,8 @@ func (in *ProductInitParameters) DeepCopyInto(out *ProductInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1553,7 +1557,8 @@ func (in *ProductObservation) DeepCopyInto(out *ProductObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1568,7 +1573,8 @@ func (in *ProductObservation) DeepCopyInto(out *ProductObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1655,7 +1661,8 @@ func (in *ProductParameters) DeepCopyInto(out *ProductParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/servicecatalog/v1beta1/zz_generated.managed.go b/apis/servicecatalog/v1beta1/zz_generated.managed.go index b63aef31c2..d2b01c48ce 100644 --- a/apis/servicecatalog/v1beta1/zz_generated.managed.go +++ b/apis/servicecatalog/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *BudgetResourceAssociation) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this BudgetResourceAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *BudgetResourceAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this BudgetResourceAssociation. func (mg *BudgetResourceAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *BudgetResourceAssociation) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this BudgetResourceAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *BudgetResourceAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this BudgetResourceAssociation. func (mg *BudgetResourceAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Constraint) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Constraint. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Constraint) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Constraint. func (mg *Constraint) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Constraint) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Constraint. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Constraint) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Constraint. func (mg *Constraint) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Portfolio) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Portfolio. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Portfolio) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Portfolio. func (mg *Portfolio) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Portfolio) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Portfolio. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Portfolio) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Portfolio. func (mg *Portfolio) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *PortfolioShare) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PortfolioShare. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PortfolioShare) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PortfolioShare. func (mg *PortfolioShare) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *PortfolioShare) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PortfolioShare. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PortfolioShare) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PortfolioShare. func (mg *PortfolioShare) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *PrincipalPortfolioAssociation) GetProviderConfigReference() *xpv1.Refe return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PrincipalPortfolioAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PrincipalPortfolioAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PrincipalPortfolioAssociation. func (mg *PrincipalPortfolioAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *PrincipalPortfolioAssociation) SetProviderConfigReference(r *xpv1.Refe mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PrincipalPortfolioAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PrincipalPortfolioAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PrincipalPortfolioAssociation. func (mg *PrincipalPortfolioAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *Product) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Product. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Product) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Product. func (mg *Product) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *Product) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Product. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Product) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Product. func (mg *Product) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *ProductPortfolioAssociation) GetProviderConfigReference() *xpv1.Refere return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProductPortfolioAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProductPortfolioAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProductPortfolioAssociation. func (mg *ProductPortfolioAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *ProductPortfolioAssociation) SetProviderConfigReference(r *xpv1.Refere mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProductPortfolioAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProductPortfolioAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProductPortfolioAssociation. func (mg *ProductPortfolioAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *ProvisioningArtifact) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ProvisioningArtifact. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ProvisioningArtifact) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ProvisioningArtifact. func (mg *ProvisioningArtifact) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *ProvisioningArtifact) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ProvisioningArtifact. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ProvisioningArtifact) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ProvisioningArtifact. func (mg *ProvisioningArtifact) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *ServiceAction) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServiceAction. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServiceAction) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServiceAction. func (mg *ServiceAction) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *ServiceAction) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServiceAction. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServiceAction) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServiceAction. func (mg *ServiceAction) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *TagOption) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TagOption. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TagOption) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TagOption. func (mg *TagOption) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *TagOption) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TagOption. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TagOption) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TagOption. func (mg *TagOption) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *TagOptionResourceAssociation) GetProviderConfigReference() *xpv1.Refer return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TagOptionResourceAssociation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TagOptionResourceAssociation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TagOptionResourceAssociation. func (mg *TagOptionResourceAssociation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *TagOptionResourceAssociation) SetProviderConfigReference(r *xpv1.Refer mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TagOptionResourceAssociation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TagOptionResourceAssociation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TagOptionResourceAssociation. func (mg *TagOptionResourceAssociation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/servicecatalog/v1beta1/zz_portfolio_types.go b/apis/servicecatalog/v1beta1/zz_portfolio_types.go index a0221b8126..ce08783d6a 100755 --- a/apis/servicecatalog/v1beta1/zz_portfolio_types.go +++ b/apis/servicecatalog/v1beta1/zz_portfolio_types.go @@ -112,8 +112,8 @@ type PortfolioStatus struct { type Portfolio struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || has(self.initProvider.providerName)",message="providerName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.providerName) || (has(self.initProvider) && has(self.initProvider.providerName))",message="spec.forProvider.providerName is a required parameter" Spec PortfolioSpec `json:"spec"` Status PortfolioStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go b/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go index 642e496a19..eafef161b6 100755 --- a/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go +++ b/apis/servicecatalog/v1beta1/zz_portfolioshare_types.go @@ -145,8 +145,8 @@ type PortfolioShareStatus struct { type PortfolioShare struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principalId) || has(self.initProvider.principalId)",message="principalId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principalId) || (has(self.initProvider) && has(self.initProvider.principalId))",message="spec.forProvider.principalId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec PortfolioShareSpec `json:"spec"` Status PortfolioShareStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go b/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go index 543c099ac5..3d513f8c6f 100755 --- a/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_principalportfolioassociation_types.go @@ -119,7 +119,7 @@ type PrincipalPortfolioAssociationStatus struct { type PrincipalPortfolioAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptLanguage) || has(self.initProvider.acceptLanguage)",message="acceptLanguage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptLanguage) || (has(self.initProvider) && has(self.initProvider.acceptLanguage))",message="spec.forProvider.acceptLanguage is a required parameter" Spec PrincipalPortfolioAssociationSpec `json:"spec"` Status PrincipalPortfolioAssociationStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_product_types.go b/apis/servicecatalog/v1beta1/zz_product_types.go index 35d3b6ad1d..bc0e2fd773 100755 --- a/apis/servicecatalog/v1beta1/zz_product_types.go +++ b/apis/servicecatalog/v1beta1/zz_product_types.go @@ -260,10 +260,10 @@ type ProductStatus struct { type Product struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.owner) || has(self.initProvider.owner)",message="owner is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.provisioningArtifactParameters) || has(self.initProvider.provisioningArtifactParameters)",message="provisioningArtifactParameters is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.owner) || (has(self.initProvider) && has(self.initProvider.owner))",message="spec.forProvider.owner is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.provisioningArtifactParameters) || (has(self.initProvider) && has(self.initProvider.provisioningArtifactParameters))",message="spec.forProvider.provisioningArtifactParameters is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ProductSpec `json:"spec"` Status ProductStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go b/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go index d64ac7e9c0..95b24188d6 100755 --- a/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go +++ b/apis/servicecatalog/v1beta1/zz_productportfolioassociation_types.go @@ -118,7 +118,7 @@ type ProductPortfolioAssociationStatus struct { type ProductPortfolioAssociation struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptLanguage) || has(self.initProvider.acceptLanguage)",message="acceptLanguage is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.acceptLanguage) || (has(self.initProvider) && has(self.initProvider.acceptLanguage))",message="spec.forProvider.acceptLanguage is a required parameter" Spec ProductPortfolioAssociationSpec `json:"spec"` Status ProductPortfolioAssociationStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_serviceaction_types.go b/apis/servicecatalog/v1beta1/zz_serviceaction_types.go index 1f60498172..2c3eb6f5b6 100755 --- a/apis/servicecatalog/v1beta1/zz_serviceaction_types.go +++ b/apis/servicecatalog/v1beta1/zz_serviceaction_types.go @@ -165,8 +165,8 @@ type ServiceActionStatus struct { type ServiceAction struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || has(self.initProvider.definition)",message="definition is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ServiceActionSpec `json:"spec"` Status ServiceActionStatus `json:"status,omitempty"` } diff --git a/apis/servicecatalog/v1beta1/zz_tagoption_types.go b/apis/servicecatalog/v1beta1/zz_tagoption_types.go index d0771828a9..8332108958 100755 --- a/apis/servicecatalog/v1beta1/zz_tagoption_types.go +++ b/apis/servicecatalog/v1beta1/zz_tagoption_types.go @@ -98,8 +98,8 @@ type TagOptionStatus struct { type TagOption struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || has(self.initProvider.key)",message="key is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec TagOptionSpec `json:"spec"` Status TagOptionStatus `json:"status,omitempty"` } diff --git a/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go b/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go index 724c05010c..296d307cfa 100644 --- a/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go +++ b/apis/servicediscovery/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -238,7 +237,8 @@ func (in *HTTPNamespaceInitParameters) DeepCopyInto(out *HTTPNamespaceInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -325,7 +325,8 @@ func (in *HTTPNamespaceObservation) DeepCopyInto(out *HTTPNamespaceObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -340,7 +341,8 @@ func (in *HTTPNamespaceObservation) DeepCopyInto(out *HTTPNamespaceObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -385,7 +387,8 @@ func (in *HTTPNamespaceParameters) DeepCopyInto(out *HTTPNamespaceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -637,7 +640,8 @@ func (in *PrivateDNSNamespaceInitParameters) DeepCopyInto(out *PrivateDNSNamespa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -724,7 +728,8 @@ func (in *PrivateDNSNamespaceObservation) DeepCopyInto(out *PrivateDNSNamespaceO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -739,7 +744,8 @@ func (in *PrivateDNSNamespaceObservation) DeepCopyInto(out *PrivateDNSNamespaceO if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -789,7 +795,8 @@ func (in *PrivateDNSNamespaceParameters) DeepCopyInto(out *PrivateDNSNamespacePa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -906,7 +913,8 @@ func (in *PublicDNSNamespaceInitParameters) DeepCopyInto(out *PublicDNSNamespace if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -993,7 +1001,8 @@ func (in *PublicDNSNamespaceObservation) DeepCopyInto(out *PublicDNSNamespaceObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1008,7 +1017,8 @@ func (in *PublicDNSNamespaceObservation) DeepCopyInto(out *PublicDNSNamespaceObs if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1053,7 +1063,8 @@ func (in *PublicDNSNamespaceParameters) DeepCopyInto(out *PublicDNSNamespacePara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1186,7 +1197,8 @@ func (in *ServiceInitParameters) DeepCopyInto(out *ServiceInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1304,7 +1316,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1319,7 +1332,8 @@ func (in *ServiceObservation) DeepCopyInto(out *ServiceObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1400,7 +1414,8 @@ func (in *ServiceParameters) DeepCopyInto(out *ServiceParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/servicediscovery/v1beta1/zz_generated.managed.go b/apis/servicediscovery/v1beta1/zz_generated.managed.go index 36c8595ebb..b21f12c5b2 100644 --- a/apis/servicediscovery/v1beta1/zz_generated.managed.go +++ b/apis/servicediscovery/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *HTTPNamespace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this HTTPNamespace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *HTTPNamespace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this HTTPNamespace. func (mg *HTTPNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *HTTPNamespace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this HTTPNamespace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *HTTPNamespace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this HTTPNamespace. func (mg *HTTPNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *PrivateDNSNamespace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PrivateDNSNamespace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PrivateDNSNamespace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PrivateDNSNamespace. func (mg *PrivateDNSNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *PrivateDNSNamespace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PrivateDNSNamespace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PrivateDNSNamespace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PrivateDNSNamespace. func (mg *PrivateDNSNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *PublicDNSNamespace) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PublicDNSNamespace. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PublicDNSNamespace) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PublicDNSNamespace. func (mg *PublicDNSNamespace) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *PublicDNSNamespace) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PublicDNSNamespace. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PublicDNSNamespace) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PublicDNSNamespace. func (mg *PublicDNSNamespace) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Service) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Service. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Service) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Service. func (mg *Service) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Service) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Service. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Service) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Service. func (mg *Service) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/servicediscovery/v1beta1/zz_httpnamespace_types.go b/apis/servicediscovery/v1beta1/zz_httpnamespace_types.go index bed66e38df..1afe572cd1 100755 --- a/apis/servicediscovery/v1beta1/zz_httpnamespace_types.go +++ b/apis/servicediscovery/v1beta1/zz_httpnamespace_types.go @@ -105,7 +105,7 @@ type HTTPNamespaceStatus struct { type HTTPNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec HTTPNamespaceSpec `json:"spec"` Status HTTPNamespaceStatus `json:"status,omitempty"` } diff --git a/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go b/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go index b616bc54d0..d65dd30117 100755 --- a/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go +++ b/apis/servicediscovery/v1beta1/zz_privatednsnamespace_types.go @@ -121,7 +121,7 @@ type PrivateDNSNamespaceStatus struct { type PrivateDNSNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PrivateDNSNamespaceSpec `json:"spec"` Status PrivateDNSNamespaceStatus `json:"status,omitempty"` } diff --git a/apis/servicediscovery/v1beta1/zz_publicdnsnamespace_types.go b/apis/servicediscovery/v1beta1/zz_publicdnsnamespace_types.go index d40f872abc..7febea06d8 100755 --- a/apis/servicediscovery/v1beta1/zz_publicdnsnamespace_types.go +++ b/apis/servicediscovery/v1beta1/zz_publicdnsnamespace_types.go @@ -105,7 +105,7 @@ type PublicDNSNamespaceStatus struct { type PublicDNSNamespace struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PublicDNSNamespaceSpec `json:"spec"` Status PublicDNSNamespaceStatus `json:"status,omitempty"` } diff --git a/apis/servicediscovery/v1beta1/zz_service_types.go b/apis/servicediscovery/v1beta1/zz_service_types.go index bf300ad2d8..a73de9bde5 100755 --- a/apis/servicediscovery/v1beta1/zz_service_types.go +++ b/apis/servicediscovery/v1beta1/zz_service_types.go @@ -295,7 +295,7 @@ type ServiceStatus struct { type Service struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ServiceSpec `json:"spec"` Status ServiceStatus `json:"status,omitempty"` } diff --git a/apis/servicequotas/v1beta1/zz_generated.deepcopy.go b/apis/servicequotas/v1beta1/zz_generated.deepcopy.go index 916bc1e707..49fc7a5d41 100644 --- a/apis/servicequotas/v1beta1/zz_generated.deepcopy.go +++ b/apis/servicequotas/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/servicequotas/v1beta1/zz_generated.managed.go b/apis/servicequotas/v1beta1/zz_generated.managed.go index 05c4d3a124..9b8719e116 100644 --- a/apis/servicequotas/v1beta1/zz_generated.managed.go +++ b/apis/servicequotas/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ServiceQuota) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServiceQuota. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServiceQuota) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServiceQuota. func (mg *ServiceQuota) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ServiceQuota) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServiceQuota. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServiceQuota) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServiceQuota. func (mg *ServiceQuota) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/servicequotas/v1beta1/zz_servicequota_types.go b/apis/servicequotas/v1beta1/zz_servicequota_types.go index ba5c8677bf..3908e456e5 100755 --- a/apis/servicequotas/v1beta1/zz_servicequota_types.go +++ b/apis/servicequotas/v1beta1/zz_servicequota_types.go @@ -156,9 +156,9 @@ type ServiceQuotaStatus struct { type ServiceQuota struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.quotaCode) || has(self.initProvider.quotaCode)",message="quotaCode is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceCode) || has(self.initProvider.serviceCode)",message="serviceCode is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.quotaCode) || (has(self.initProvider) && has(self.initProvider.quotaCode))",message="spec.forProvider.quotaCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceCode) || (has(self.initProvider) && has(self.initProvider.serviceCode))",message="spec.forProvider.serviceCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec ServiceQuotaSpec `json:"spec"` Status ServiceQuotaStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_activereceiptruleset_types.go b/apis/ses/v1beta1/zz_activereceiptruleset_types.go index fda58e2638..d765172b4d 100755 --- a/apis/ses/v1beta1/zz_activereceiptruleset_types.go +++ b/apis/ses/v1beta1/zz_activereceiptruleset_types.go @@ -79,7 +79,7 @@ type ActiveReceiptRuleSetStatus struct { type ActiveReceiptRuleSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || has(self.initProvider.ruleSetName)",message="ruleSetName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || (has(self.initProvider) && has(self.initProvider.ruleSetName))",message="spec.forProvider.ruleSetName is a required parameter" Spec ActiveReceiptRuleSetSpec `json:"spec"` Status ActiveReceiptRuleSetStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_domainmailfrom_types.go b/apis/ses/v1beta1/zz_domainmailfrom_types.go index d2bf0ab6b6..7fd4635777 100755 --- a/apis/ses/v1beta1/zz_domainmailfrom_types.go +++ b/apis/ses/v1beta1/zz_domainmailfrom_types.go @@ -102,7 +102,7 @@ type DomainMailFromStatus struct { type DomainMailFrom struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mailFromDomain) || has(self.initProvider.mailFromDomain)",message="mailFromDomain is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.mailFromDomain) || (has(self.initProvider) && has(self.initProvider.mailFromDomain))",message="spec.forProvider.mailFromDomain is a required parameter" Spec DomainMailFromSpec `json:"spec"` Status DomainMailFromStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_emailidentity_types.go b/apis/ses/v1beta1/zz_emailidentity_types.go index d5f6a7d638..172108d5d1 100755 --- a/apis/ses/v1beta1/zz_emailidentity_types.go +++ b/apis/ses/v1beta1/zz_emailidentity_types.go @@ -78,7 +78,7 @@ type EmailIdentityStatus struct { type EmailIdentity struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || has(self.initProvider.email)",message="email is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.email) || (has(self.initProvider) && has(self.initProvider.email))",message="spec.forProvider.email is a required parameter" Spec EmailIdentitySpec `json:"spec"` Status EmailIdentityStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_eventdestination_types.go b/apis/ses/v1beta1/zz_eventdestination_types.go index 9b28120315..2d11c6ed5f 100755 --- a/apis/ses/v1beta1/zz_eventdestination_types.go +++ b/apis/ses/v1beta1/zz_eventdestination_types.go @@ -243,7 +243,7 @@ type EventDestinationStatus struct { type EventDestination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.matchingTypes) || has(self.initProvider.matchingTypes)",message="matchingTypes is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.matchingTypes) || (has(self.initProvider) && has(self.initProvider.matchingTypes))",message="spec.forProvider.matchingTypes is a required parameter" Spec EventDestinationSpec `json:"spec"` Status EventDestinationStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_generated.deepcopy.go b/apis/ses/v1beta1/zz_generated.deepcopy.go index 2ca3d19c7e..ea2e0ae919 100644 --- a/apis/ses/v1beta1/zz_generated.deepcopy.go +++ b/apis/ses/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/ses/v1beta1/zz_generated.managed.go b/apis/ses/v1beta1/zz_generated.managed.go index d506455726..a0ac7b7a77 100644 --- a/apis/ses/v1beta1/zz_generated.managed.go +++ b/apis/ses/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ActiveReceiptRuleSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ActiveReceiptRuleSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ActiveReceiptRuleSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ActiveReceiptRuleSet. func (mg *ActiveReceiptRuleSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ActiveReceiptRuleSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ActiveReceiptRuleSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ActiveReceiptRuleSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ActiveReceiptRuleSet. func (mg *ActiveReceiptRuleSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ConfigurationSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationSet. func (mg *ConfigurationSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ConfigurationSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationSet. func (mg *ConfigurationSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DomainDKIM) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainDKIM. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainDKIM) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainDKIM. func (mg *DomainDKIM) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DomainDKIM) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainDKIM. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainDKIM) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainDKIM. func (mg *DomainDKIM) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *DomainIdentity) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainIdentity. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainIdentity) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainIdentity. func (mg *DomainIdentity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *DomainIdentity) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainIdentity. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainIdentity) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainIdentity. func (mg *DomainIdentity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *DomainMailFrom) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DomainMailFrom. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DomainMailFrom) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DomainMailFrom. func (mg *DomainMailFrom) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *DomainMailFrom) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DomainMailFrom. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DomainMailFrom) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DomainMailFrom. func (mg *DomainMailFrom) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *EmailIdentity) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EmailIdentity. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EmailIdentity) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EmailIdentity. func (mg *EmailIdentity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *EmailIdentity) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EmailIdentity. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EmailIdentity) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EmailIdentity. func (mg *EmailIdentity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *EventDestination) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EventDestination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EventDestination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EventDestination. func (mg *EventDestination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *EventDestination) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EventDestination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EventDestination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EventDestination. func (mg *EventDestination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *IdentityNotificationTopic) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IdentityNotificationTopic. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IdentityNotificationTopic) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IdentityNotificationTopic. func (mg *IdentityNotificationTopic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *IdentityNotificationTopic) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IdentityNotificationTopic. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IdentityNotificationTopic) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IdentityNotificationTopic. func (mg *IdentityNotificationTopic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *IdentityPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IdentityPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IdentityPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IdentityPolicy. func (mg *IdentityPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *IdentityPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IdentityPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IdentityPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IdentityPolicy. func (mg *IdentityPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *ReceiptFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReceiptFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReceiptFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReceiptFilter. func (mg *ReceiptFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *ReceiptFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReceiptFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReceiptFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReceiptFilter. func (mg *ReceiptFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *ReceiptRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReceiptRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReceiptRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReceiptRule. func (mg *ReceiptRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *ReceiptRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReceiptRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReceiptRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReceiptRule. func (mg *ReceiptRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *ReceiptRuleSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ReceiptRuleSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ReceiptRuleSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ReceiptRuleSet. func (mg *ReceiptRuleSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *ReceiptRuleSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ReceiptRuleSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ReceiptRuleSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ReceiptRuleSet. func (mg *ReceiptRuleSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -939,14 +747,6 @@ func (mg *Template) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Template. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Template) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Template. func (mg *Template) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -977,14 +777,6 @@ func (mg *Template) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Template. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Template) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Template. func (mg *Template) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ses/v1beta1/zz_identitynotificationtopic_types.go b/apis/ses/v1beta1/zz_identitynotificationtopic_types.go index db17a86369..d2439d8046 100755 --- a/apis/ses/v1beta1/zz_identitynotificationtopic_types.go +++ b/apis/ses/v1beta1/zz_identitynotificationtopic_types.go @@ -117,7 +117,7 @@ type IdentityNotificationTopicStatus struct { type IdentityNotificationTopic struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notificationType) || has(self.initProvider.notificationType)",message="notificationType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.notificationType) || (has(self.initProvider) && has(self.initProvider.notificationType))",message="spec.forProvider.notificationType is a required parameter" Spec IdentityNotificationTopicSpec `json:"spec"` Status IdentityNotificationTopicStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_identitypolicy_types.go b/apis/ses/v1beta1/zz_identitypolicy_types.go index 384b6fc233..950bde3f28 100755 --- a/apis/ses/v1beta1/zz_identitypolicy_types.go +++ b/apis/ses/v1beta1/zz_identitypolicy_types.go @@ -101,8 +101,8 @@ type IdentityPolicyStatus struct { type IdentityPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec IdentityPolicySpec `json:"spec"` Status IdentityPolicyStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_receiptfilter_types.go b/apis/ses/v1beta1/zz_receiptfilter_types.go index 8a61545ef1..072772188a 100755 --- a/apis/ses/v1beta1/zz_receiptfilter_types.go +++ b/apis/ses/v1beta1/zz_receiptfilter_types.go @@ -89,8 +89,8 @@ type ReceiptFilterStatus struct { type ReceiptFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidr) || has(self.initProvider.cidr)",message="cidr is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cidr) || (has(self.initProvider) && has(self.initProvider.cidr))",message="spec.forProvider.cidr is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec ReceiptFilterSpec `json:"spec"` Status ReceiptFilterStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_receiptrule_types.go b/apis/ses/v1beta1/zz_receiptrule_types.go index dc9b5c0130..9f5cd3d2de 100755 --- a/apis/ses/v1beta1/zz_receiptrule_types.go +++ b/apis/ses/v1beta1/zz_receiptrule_types.go @@ -542,8 +542,8 @@ type ReceiptRuleStatus struct { type ReceiptRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || has(self.initProvider.ruleSetName)",message="ruleSetName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || (has(self.initProvider) && has(self.initProvider.ruleSetName))",message="spec.forProvider.ruleSetName is a required parameter" Spec ReceiptRuleSpec `json:"spec"` Status ReceiptRuleStatus `json:"status,omitempty"` } diff --git a/apis/ses/v1beta1/zz_receiptruleset_types.go b/apis/ses/v1beta1/zz_receiptruleset_types.go index 9a3a66e5ad..b0cf394ae8 100755 --- a/apis/ses/v1beta1/zz_receiptruleset_types.go +++ b/apis/ses/v1beta1/zz_receiptruleset_types.go @@ -79,7 +79,7 @@ type ReceiptRuleSetStatus struct { type ReceiptRuleSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || has(self.initProvider.ruleSetName)",message="ruleSetName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ruleSetName) || (has(self.initProvider) && has(self.initProvider.ruleSetName))",message="spec.forProvider.ruleSetName is a required parameter" Spec ReceiptRuleSetSpec `json:"spec"` Status ReceiptRuleSetStatus `json:"status,omitempty"` } diff --git a/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go b/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go index 14974882b9..ede08efd9e 100755 --- a/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go +++ b/apis/sesv2/v1beta1/zz_configurationseteventdestination_types.go @@ -321,8 +321,8 @@ type ConfigurationSetEventDestinationStatus struct { type ConfigurationSetEventDestination struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventDestination) || has(self.initProvider.eventDestination)",message="eventDestination is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventDestinationName) || has(self.initProvider.eventDestinationName)",message="eventDestinationName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventDestination) || (has(self.initProvider) && has(self.initProvider.eventDestination))",message="spec.forProvider.eventDestination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.eventDestinationName) || (has(self.initProvider) && has(self.initProvider.eventDestinationName))",message="spec.forProvider.eventDestinationName is a required parameter" Spec ConfigurationSetEventDestinationSpec `json:"spec"` Status ConfigurationSetEventDestinationStatus `json:"status,omitempty"` } diff --git a/apis/sesv2/v1beta1/zz_generated.deepcopy.go b/apis/sesv2/v1beta1/zz_generated.deepcopy.go index fda6d325b0..8830a4c51c 100644 --- a/apis/sesv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/sesv2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -351,7 +350,8 @@ func (in *ConfigurationSetInitParameters) DeepCopyInto(out *ConfigurationSetInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -465,7 +465,8 @@ func (in *ConfigurationSetObservation) DeepCopyInto(out *ConfigurationSetObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -480,7 +481,8 @@ func (in *ConfigurationSetObservation) DeepCopyInto(out *ConfigurationSetObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -557,7 +559,8 @@ func (in *ConfigurationSetParameters) DeepCopyInto(out *ConfigurationSetParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -849,7 +852,8 @@ func (in *DedicatedIPPoolInitParameters) DeepCopyInto(out *DedicatedIPPoolInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -926,7 +930,8 @@ func (in *DedicatedIPPoolObservation) DeepCopyInto(out *DedicatedIPPoolObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -941,7 +946,8 @@ func (in *DedicatedIPPoolObservation) DeepCopyInto(out *DedicatedIPPoolObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -981,7 +987,8 @@ func (in *DedicatedIPPoolParameters) DeepCopyInto(out *DedicatedIPPoolParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1409,7 +1416,8 @@ func (in *EmailIdentityInitParameters) DeepCopyInto(out *EmailIdentityInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1677,7 +1685,8 @@ func (in *EmailIdentityObservation) DeepCopyInto(out *EmailIdentityObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1692,7 +1701,8 @@ func (in *EmailIdentityObservation) DeepCopyInto(out *EmailIdentityObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1754,7 +1764,8 @@ func (in *EmailIdentityParameters) DeepCopyInto(out *EmailIdentityParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/sesv2/v1beta1/zz_generated.managed.go b/apis/sesv2/v1beta1/zz_generated.managed.go index 462648e70b..df2e36f991 100644 --- a/apis/sesv2/v1beta1/zz_generated.managed.go +++ b/apis/sesv2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ConfigurationSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationSet. func (mg *ConfigurationSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ConfigurationSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationSet. func (mg *ConfigurationSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ConfigurationSetEventDestination) GetProviderConfigReference() *xpv1.R return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ConfigurationSetEventDestination. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ConfigurationSetEventDestination) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ConfigurationSetEventDestination. func (mg *ConfigurationSetEventDestination) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ConfigurationSetEventDestination) SetProviderConfigReference(r *xpv1.R mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ConfigurationSetEventDestination. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ConfigurationSetEventDestination) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ConfigurationSetEventDestination. func (mg *ConfigurationSetEventDestination) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DedicatedIPPool) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DedicatedIPPool. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DedicatedIPPool) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DedicatedIPPool. func (mg *DedicatedIPPool) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DedicatedIPPool) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DedicatedIPPool. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DedicatedIPPool) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DedicatedIPPool. func (mg *DedicatedIPPool) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *EmailIdentity) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EmailIdentity. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EmailIdentity) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EmailIdentity. func (mg *EmailIdentity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *EmailIdentity) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EmailIdentity. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EmailIdentity) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EmailIdentity. func (mg *EmailIdentity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *EmailIdentityFeedbackAttributes) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EmailIdentityFeedbackAttributes. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EmailIdentityFeedbackAttributes) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EmailIdentityFeedbackAttributes. func (mg *EmailIdentityFeedbackAttributes) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *EmailIdentityFeedbackAttributes) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EmailIdentityFeedbackAttributes. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EmailIdentityFeedbackAttributes) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EmailIdentityFeedbackAttributes. func (mg *EmailIdentityFeedbackAttributes) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *EmailIdentityMailFromAttributes) GetProviderConfigReference() *xpv1.Re return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EmailIdentityMailFromAttributes. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EmailIdentityMailFromAttributes) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EmailIdentityMailFromAttributes. func (mg *EmailIdentityMailFromAttributes) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *EmailIdentityMailFromAttributes) SetProviderConfigReference(r *xpv1.Re mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EmailIdentityMailFromAttributes. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EmailIdentityMailFromAttributes) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EmailIdentityMailFromAttributes. func (mg *EmailIdentityMailFromAttributes) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sfn/v1beta1/zz_generated.deepcopy.go b/apis/sfn/v1beta1/zz_generated.deepcopy.go index 5edf6a5b53..db930eae5e 100644 --- a/apis/sfn/v1beta1/zz_generated.deepcopy.go +++ b/apis/sfn/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *ActivityInitParameters) DeepCopyInto(out *ActivityInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -124,7 +124,8 @@ func (in *ActivityObservation) DeepCopyInto(out *ActivityObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -139,7 +140,8 @@ func (in *ActivityObservation) DeepCopyInto(out *ActivityObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -174,7 +176,8 @@ func (in *ActivityParameters) DeepCopyInto(out *ActivityParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -368,7 +371,8 @@ func (in *StateMachineInitParameters) DeepCopyInto(out *StateMachineInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -479,7 +483,8 @@ func (in *StateMachineObservation) DeepCopyInto(out *StateMachineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -494,7 +499,8 @@ func (in *StateMachineObservation) DeepCopyInto(out *StateMachineObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -568,7 +574,8 @@ func (in *StateMachineParameters) DeepCopyInto(out *StateMachineParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/sfn/v1beta1/zz_generated.managed.go b/apis/sfn/v1beta1/zz_generated.managed.go index e3ceb0be8c..d054349fa4 100644 --- a/apis/sfn/v1beta1/zz_generated.managed.go +++ b/apis/sfn/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Activity) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Activity. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Activity) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Activity. func (mg *Activity) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Activity) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Activity. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Activity) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Activity. func (mg *Activity) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *StateMachine) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this StateMachine. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *StateMachine) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this StateMachine. func (mg *StateMachine) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *StateMachine) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this StateMachine. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *StateMachine) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this StateMachine. func (mg *StateMachine) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sfn/v1beta1/zz_statemachine_types.go b/apis/sfn/v1beta1/zz_statemachine_types.go index 0ed24ddae5..e03097ed2b 100755 --- a/apis/sfn/v1beta1/zz_statemachine_types.go +++ b/apis/sfn/v1beta1/zz_statemachine_types.go @@ -203,7 +203,7 @@ type StateMachineStatus struct { type StateMachine struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || has(self.initProvider.definition)",message="definition is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.definition) || (has(self.initProvider) && has(self.initProvider.definition))",message="spec.forProvider.definition is a required parameter" Spec StateMachineSpec `json:"spec"` Status StateMachineStatus `json:"status,omitempty"` } diff --git a/apis/signer/v1beta1/zz_generated.deepcopy.go b/apis/signer/v1beta1/zz_generated.deepcopy.go index 10ad1624a1..c88382c267 100644 --- a/apis/signer/v1beta1/zz_generated.deepcopy.go +++ b/apis/signer/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -747,7 +746,8 @@ func (in *SigningProfileInitParameters) DeepCopyInto(out *SigningProfileInitPara if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -848,7 +848,8 @@ func (in *SigningProfileObservation) DeepCopyInto(out *SigningProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -863,7 +864,8 @@ func (in *SigningProfileObservation) DeepCopyInto(out *SigningProfileObservation if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -920,7 +922,8 @@ func (in *SigningProfileParameters) DeepCopyInto(out *SigningProfileParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/signer/v1beta1/zz_generated.managed.go b/apis/signer/v1beta1/zz_generated.managed.go index fde9334c4d..23a477a418 100644 --- a/apis/signer/v1beta1/zz_generated.managed.go +++ b/apis/signer/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *SigningJob) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SigningJob. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SigningJob) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SigningJob. func (mg *SigningJob) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *SigningJob) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SigningJob. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SigningJob) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SigningJob. func (mg *SigningJob) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *SigningProfile) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SigningProfile. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SigningProfile) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SigningProfile. func (mg *SigningProfile) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *SigningProfile) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SigningProfile. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SigningProfile) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SigningProfile. func (mg *SigningProfile) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *SigningProfilePermission) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SigningProfilePermission. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SigningProfilePermission) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SigningProfilePermission. func (mg *SigningProfilePermission) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *SigningProfilePermission) SetProviderConfigReference(r *xpv1.Reference mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SigningProfilePermission. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SigningProfilePermission) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SigningProfilePermission. func (mg *SigningProfilePermission) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/signer/v1beta1/zz_signingjob_types.go b/apis/signer/v1beta1/zz_signingjob_types.go index 865fcaad0a..dda1620cf6 100755 --- a/apis/signer/v1beta1/zz_signingjob_types.go +++ b/apis/signer/v1beta1/zz_signingjob_types.go @@ -300,8 +300,8 @@ type SigningJobStatus struct { type SigningJob struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || has(self.initProvider.source)",message="source is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter" Spec SigningJobSpec `json:"spec"` Status SigningJobStatus `json:"status,omitempty"` } diff --git a/apis/signer/v1beta1/zz_signingprofile_types.go b/apis/signer/v1beta1/zz_signingprofile_types.go index 14e3670e42..a560789c20 100755 --- a/apis/signer/v1beta1/zz_signingprofile_types.go +++ b/apis/signer/v1beta1/zz_signingprofile_types.go @@ -151,7 +151,7 @@ type SigningProfileStatus struct { type SigningProfile struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformId) || has(self.initProvider.platformId)",message="platformId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformId) || (has(self.initProvider) && has(self.initProvider.platformId))",message="spec.forProvider.platformId is a required parameter" Spec SigningProfileSpec `json:"spec"` Status SigningProfileStatus `json:"status,omitempty"` } diff --git a/apis/signer/v1beta1/zz_signingprofilepermission_types.go b/apis/signer/v1beta1/zz_signingprofilepermission_types.go index 4ead846778..32d72a0288 100755 --- a/apis/signer/v1beta1/zz_signingprofilepermission_types.go +++ b/apis/signer/v1beta1/zz_signingprofilepermission_types.go @@ -135,8 +135,8 @@ type SigningProfilePermissionStatus struct { type SigningProfilePermission struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || has(self.initProvider.action)",message="action is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || has(self.initProvider.principal)",message="principal is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.action) || (has(self.initProvider) && has(self.initProvider.action))",message="spec.forProvider.action is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.principal) || (has(self.initProvider) && has(self.initProvider.principal))",message="spec.forProvider.principal is a required parameter" Spec SigningProfilePermissionSpec `json:"spec"` Status SigningProfilePermissionStatus `json:"status,omitempty"` } diff --git a/apis/simpledb/v1beta1/zz_generated.deepcopy.go b/apis/simpledb/v1beta1/zz_generated.deepcopy.go index a2abb5fe1f..4e42df9b50 100644 --- a/apis/simpledb/v1beta1/zz_generated.deepcopy.go +++ b/apis/simpledb/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/simpledb/v1beta1/zz_generated.managed.go b/apis/simpledb/v1beta1/zz_generated.managed.go index 27a76ab723..624234d312 100644 --- a/apis/simpledb/v1beta1/zz_generated.managed.go +++ b/apis/simpledb/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sns/v1beta1/zz_generated.deepcopy.go b/apis/sns/v1beta1/zz_generated.deepcopy.go index 88910d26f5..b4a72cc27b 100644 --- a/apis/sns/v1beta1/zz_generated.deepcopy.go +++ b/apis/sns/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -676,7 +675,8 @@ func (in *TopicInitParameters) DeepCopyInto(out *TopicInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -868,7 +868,8 @@ func (in *TopicObservation) DeepCopyInto(out *TopicObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -883,7 +884,8 @@ func (in *TopicObservation) DeepCopyInto(out *TopicObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1133,7 +1135,8 @@ func (in *TopicParameters) DeepCopyInto(out *TopicParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/sns/v1beta1/zz_generated.managed.go b/apis/sns/v1beta1/zz_generated.managed.go index 25b1a1e5bc..7bc8060f9a 100644 --- a/apis/sns/v1beta1/zz_generated.managed.go +++ b/apis/sns/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *PlatformApplication) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PlatformApplication. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PlatformApplication) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PlatformApplication. func (mg *PlatformApplication) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *PlatformApplication) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PlatformApplication. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PlatformApplication) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PlatformApplication. func (mg *PlatformApplication) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *SMSPreferences) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SMSPreferences. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SMSPreferences) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SMSPreferences. func (mg *SMSPreferences) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *SMSPreferences) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SMSPreferences. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SMSPreferences) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SMSPreferences. func (mg *SMSPreferences) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Topic) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Topic. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Topic) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Topic. func (mg *Topic) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Topic) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Topic. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Topic) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Topic. func (mg *Topic) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *TopicPolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TopicPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TopicPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TopicPolicy. func (mg *TopicPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *TopicPolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TopicPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TopicPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TopicPolicy. func (mg *TopicPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *TopicSubscription) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this TopicSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *TopicSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this TopicSubscription. func (mg *TopicSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *TopicSubscription) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this TopicSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *TopicSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this TopicSubscription. func (mg *TopicSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sns/v1beta1/zz_platformapplication_types.go b/apis/sns/v1beta1/zz_platformapplication_types.go index 7ab5740d1a..557a10f4f7 100755 --- a/apis/sns/v1beta1/zz_platformapplication_types.go +++ b/apis/sns/v1beta1/zz_platformapplication_types.go @@ -191,8 +191,8 @@ type PlatformApplicationStatus struct { type PlatformApplication struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platform) || has(self.initProvider.platform)",message="platform is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformCredentialSecretRef)",message="platformCredentialSecretRef is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platform) || (has(self.initProvider) && has(self.initProvider.platform))",message="spec.forProvider.platform is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.platformCredentialSecretRef)",message="spec.forProvider.platformCredentialSecretRef is a required parameter" Spec PlatformApplicationSpec `json:"spec"` Status PlatformApplicationStatus `json:"status,omitempty"` } diff --git a/apis/sns/v1beta1/zz_topicpolicy_types.go b/apis/sns/v1beta1/zz_topicpolicy_types.go index 3c87bceabe..17f89d804d 100755 --- a/apis/sns/v1beta1/zz_topicpolicy_types.go +++ b/apis/sns/v1beta1/zz_topicpolicy_types.go @@ -95,7 +95,7 @@ type TopicPolicyStatus struct { type TopicPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec TopicPolicySpec `json:"spec"` Status TopicPolicyStatus `json:"status,omitempty"` } diff --git a/apis/sns/v1beta1/zz_topicsubscription_types.go b/apis/sns/v1beta1/zz_topicsubscription_types.go index e2872db8f1..2c49016000 100755 --- a/apis/sns/v1beta1/zz_topicsubscription_types.go +++ b/apis/sns/v1beta1/zz_topicsubscription_types.go @@ -209,7 +209,7 @@ type TopicSubscriptionStatus struct { type TopicSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || has(self.initProvider.protocol)",message="protocol is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.protocol) || (has(self.initProvider) && has(self.initProvider.protocol))",message="spec.forProvider.protocol is a required parameter" Spec TopicSubscriptionSpec `json:"spec"` Status TopicSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/sqs/v1beta1/zz_generated.deepcopy.go b/apis/sqs/v1beta1/zz_generated.deepcopy.go index 50f7ee7c08..b0931cf940 100644 --- a/apis/sqs/v1beta1/zz_generated.deepcopy.go +++ b/apis/sqs/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -127,7 +126,8 @@ func (in *QueueInitParameters) DeepCopyInto(out *QueueInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -279,7 +279,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -294,7 +295,8 @@ func (in *QueueObservation) DeepCopyInto(out *QueueObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -414,7 +416,8 @@ func (in *QueueParameters) DeepCopyInto(out *QueueParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/sqs/v1beta1/zz_generated.managed.go b/apis/sqs/v1beta1/zz_generated.managed.go index 1f310c2032..276ce9d281 100644 --- a/apis/sqs/v1beta1/zz_generated.managed.go +++ b/apis/sqs/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Queue) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Queue. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Queue) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Queue. func (mg *Queue) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Queue) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Queue. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Queue) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Queue. func (mg *Queue) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *QueuePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this QueuePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *QueuePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this QueuePolicy. func (mg *QueuePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *QueuePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this QueuePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *QueuePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this QueuePolicy. func (mg *QueuePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *QueueRedriveAllowPolicy) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this QueueRedriveAllowPolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *QueueRedriveAllowPolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this QueueRedriveAllowPolicy. func (mg *QueueRedriveAllowPolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *QueueRedriveAllowPolicy) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this QueueRedriveAllowPolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *QueueRedriveAllowPolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this QueueRedriveAllowPolicy. func (mg *QueueRedriveAllowPolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *QueueRedrivePolicy) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this QueueRedrivePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *QueueRedrivePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this QueueRedrivePolicy. func (mg *QueueRedrivePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *QueueRedrivePolicy) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this QueueRedrivePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *QueueRedrivePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this QueueRedrivePolicy. func (mg *QueueRedrivePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/sqs/v1beta1/zz_queuepolicy_types.go b/apis/sqs/v1beta1/zz_queuepolicy_types.go index 9a17b9cf99..325e613b51 100755 --- a/apis/sqs/v1beta1/zz_queuepolicy_types.go +++ b/apis/sqs/v1beta1/zz_queuepolicy_types.go @@ -91,7 +91,7 @@ type QueuePolicyStatus struct { type QueuePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || has(self.initProvider.policy)",message="policy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.policy) || (has(self.initProvider) && has(self.initProvider.policy))",message="spec.forProvider.policy is a required parameter" Spec QueuePolicySpec `json:"spec"` Status QueuePolicyStatus `json:"status,omitempty"` } diff --git a/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go b/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go index 3acc44146f..041507032f 100755 --- a/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go +++ b/apis/sqs/v1beta1/zz_queueredriveallowpolicy_types.go @@ -91,7 +91,7 @@ type QueueRedriveAllowPolicyStatus struct { type QueueRedriveAllowPolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.redriveAllowPolicy) || has(self.initProvider.redriveAllowPolicy)",message="redriveAllowPolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.redriveAllowPolicy) || (has(self.initProvider) && has(self.initProvider.redriveAllowPolicy))",message="spec.forProvider.redriveAllowPolicy is a required parameter" Spec QueueRedriveAllowPolicySpec `json:"spec"` Status QueueRedriveAllowPolicyStatus `json:"status,omitempty"` } diff --git a/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go b/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go index 60cb399fc5..a14fa46cac 100755 --- a/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go +++ b/apis/sqs/v1beta1/zz_queueredrivepolicy_types.go @@ -91,7 +91,7 @@ type QueueRedrivePolicyStatus struct { type QueueRedrivePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.redrivePolicy) || has(self.initProvider.redrivePolicy)",message="redrivePolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.redrivePolicy) || (has(self.initProvider) && has(self.initProvider.redrivePolicy))",message="spec.forProvider.redrivePolicy is a required parameter" Spec QueueRedrivePolicySpec `json:"spec"` Status QueueRedrivePolicyStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_document_types.go b/apis/ssm/v1beta1/zz_document_types.go index 3083585678..5fa4e2f191 100755 --- a/apis/ssm/v1beta1/zz_document_types.go +++ b/apis/ssm/v1beta1/zz_document_types.go @@ -243,8 +243,8 @@ type DocumentStatus struct { type Document struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || has(self.initProvider.content)",message="content is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.documentType) || has(self.initProvider.documentType)",message="documentType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.content) || (has(self.initProvider) && has(self.initProvider.content))",message="spec.forProvider.content is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.documentType) || (has(self.initProvider) && has(self.initProvider.documentType))",message="spec.forProvider.documentType is a required parameter" Spec DocumentSpec `json:"spec"` Status DocumentStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_generated.deepcopy.go b/apis/ssm/v1beta1/zz_generated.deepcopy.go index 9efce3a487..d7d0e3b428 100644 --- a/apis/ssm/v1beta1/zz_generated.deepcopy.go +++ b/apis/ssm/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -72,7 +71,8 @@ func (in *ActivationInitParameters) DeepCopyInto(out *ActivationInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -179,7 +179,8 @@ func (in *ActivationObservation) DeepCopyInto(out *ActivationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -194,7 +195,8 @@ func (in *ActivationObservation) DeepCopyInto(out *ActivationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -264,7 +266,8 @@ func (in *ActivationParameters) DeepCopyInto(out *ActivationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -529,7 +532,8 @@ func (in *AssociationInitParameters) DeepCopyInto(out *AssociationInitParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -675,7 +679,8 @@ func (in *AssociationObservation) DeepCopyInto(out *AssociationObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -784,7 +789,8 @@ func (in *AssociationParameters) DeepCopyInto(out *AssociationParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1466,7 +1472,8 @@ func (in *DocumentInitParameters) DeepCopyInto(out *DocumentInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1481,7 +1488,8 @@ func (in *DocumentInitParameters) DeepCopyInto(out *DocumentInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1632,7 +1640,8 @@ func (in *DocumentObservation) DeepCopyInto(out *DocumentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1668,7 +1677,8 @@ func (in *DocumentObservation) DeepCopyInto(out *DocumentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1683,7 +1693,8 @@ func (in *DocumentObservation) DeepCopyInto(out *DocumentObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1745,7 +1756,8 @@ func (in *DocumentParameters) DeepCopyInto(out *DocumentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1765,7 +1777,8 @@ func (in *DocumentParameters) DeepCopyInto(out *DocumentParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2095,7 +2108,8 @@ func (in *MaintenanceWindowInitParameters) DeepCopyInto(out *MaintenanceWindowIn if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2217,7 +2231,8 @@ func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2232,7 +2247,8 @@ func (in *MaintenanceWindowObservation) DeepCopyInto(out *MaintenanceWindowObser if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2322,7 +2338,8 @@ func (in *MaintenanceWindowParameters) DeepCopyInto(out *MaintenanceWindowParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3469,7 +3486,8 @@ func (in *ParameterInitParameters_2) DeepCopyInto(out *ParameterInitParameters_2 if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3616,7 +3634,8 @@ func (in *ParameterObservation_2) DeepCopyInto(out *ParameterObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3631,7 +3650,8 @@ func (in *ParameterObservation_2) DeepCopyInto(out *ParameterObservation_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3731,7 +3751,8 @@ func (in *ParameterParameters_2) DeepCopyInto(out *ParameterParameters_2) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3911,7 +3932,8 @@ func (in *PatchBaselineInitParameters) DeepCopyInto(out *PatchBaselineInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4056,7 +4078,8 @@ func (in *PatchBaselineObservation) DeepCopyInto(out *PatchBaselineObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4071,7 +4094,8 @@ func (in *PatchBaselineObservation) DeepCopyInto(out *PatchBaselineObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4179,7 +4203,8 @@ func (in *PatchBaselineParameters) DeepCopyInto(out *PatchBaselineParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ssm/v1beta1/zz_generated.managed.go b/apis/ssm/v1beta1/zz_generated.managed.go index dc43528607..46e1807fac 100644 --- a/apis/ssm/v1beta1/zz_generated.managed.go +++ b/apis/ssm/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Activation) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Activation. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Activation) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Activation. func (mg *Activation) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Activation) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Activation. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Activation) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Activation. func (mg *Activation) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Association) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Association. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Association) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Association. func (mg *Association) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Association) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Association. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Association) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Association. func (mg *Association) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *DefaultPatchBaseline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this DefaultPatchBaseline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *DefaultPatchBaseline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this DefaultPatchBaseline. func (mg *DefaultPatchBaseline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *DefaultPatchBaseline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this DefaultPatchBaseline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *DefaultPatchBaseline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this DefaultPatchBaseline. func (mg *DefaultPatchBaseline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *Document) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Document. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Document) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Document. func (mg *Document) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *Document) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Document. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Document) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Document. func (mg *Document) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *MaintenanceWindow) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MaintenanceWindow. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MaintenanceWindow) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MaintenanceWindow. func (mg *MaintenanceWindow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *MaintenanceWindow) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MaintenanceWindow. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MaintenanceWindow) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MaintenanceWindow. func (mg *MaintenanceWindow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *MaintenanceWindowTarget) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MaintenanceWindowTarget. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MaintenanceWindowTarget) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MaintenanceWindowTarget. func (mg *MaintenanceWindowTarget) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *MaintenanceWindowTarget) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MaintenanceWindowTarget. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MaintenanceWindowTarget) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MaintenanceWindowTarget. func (mg *MaintenanceWindowTarget) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *MaintenanceWindowTask) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this MaintenanceWindowTask. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *MaintenanceWindowTask) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this MaintenanceWindowTask. func (mg *MaintenanceWindowTask) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *MaintenanceWindowTask) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this MaintenanceWindowTask. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *MaintenanceWindowTask) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this MaintenanceWindowTask. func (mg *MaintenanceWindowTask) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *Parameter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Parameter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Parameter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Parameter. func (mg *Parameter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *Parameter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Parameter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Parameter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Parameter. func (mg *Parameter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *PatchBaseline) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PatchBaseline. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PatchBaseline) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PatchBaseline. func (mg *PatchBaseline) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *PatchBaseline) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PatchBaseline. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PatchBaseline) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PatchBaseline. func (mg *PatchBaseline) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *PatchGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PatchGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PatchGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PatchGroup. func (mg *PatchGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *PatchGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PatchGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PatchGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PatchGroup. func (mg *PatchGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *ResourceDataSync) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ResourceDataSync. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ResourceDataSync) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ResourceDataSync. func (mg *ResourceDataSync) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *ResourceDataSync) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ResourceDataSync. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ResourceDataSync) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ResourceDataSync. func (mg *ResourceDataSync) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -863,14 +687,6 @@ func (mg *ServiceSetting) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ServiceSetting. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ServiceSetting) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ServiceSetting. func (mg *ServiceSetting) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -901,14 +717,6 @@ func (mg *ServiceSetting) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ServiceSetting. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ServiceSetting) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ServiceSetting. func (mg *ServiceSetting) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ssm/v1beta1/zz_maintenancewindow_types.go b/apis/ssm/v1beta1/zz_maintenancewindow_types.go index 9db6cb0ef4..2fa0e909a9 100755 --- a/apis/ssm/v1beta1/zz_maintenancewindow_types.go +++ b/apis/ssm/v1beta1/zz_maintenancewindow_types.go @@ -189,10 +189,10 @@ type MaintenanceWindowStatus struct { type MaintenanceWindow struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cutoff) || has(self.initProvider.cutoff)",message="cutoff is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.duration) || has(self.initProvider.duration)",message="duration is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || has(self.initProvider.schedule)",message="schedule is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.cutoff) || (has(self.initProvider) && has(self.initProvider.cutoff))",message="spec.forProvider.cutoff is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.duration) || (has(self.initProvider) && has(self.initProvider.duration))",message="spec.forProvider.duration is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.schedule) || (has(self.initProvider) && has(self.initProvider.schedule))",message="spec.forProvider.schedule is a required parameter" Spec MaintenanceWindowSpec `json:"spec"` Status MaintenanceWindowStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go b/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go index 458cbfcd56..ada2b446d0 100755 --- a/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go +++ b/apis/ssm/v1beta1/zz_maintenancewindowtarget_types.go @@ -157,8 +157,8 @@ type MaintenanceWindowTargetStatus struct { type MaintenanceWindowTarget struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || has(self.initProvider.resourceType)",message="resourceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targets) || has(self.initProvider.targets)",message="targets is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceType) || (has(self.initProvider) && has(self.initProvider.resourceType))",message="spec.forProvider.resourceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.targets) || (has(self.initProvider) && has(self.initProvider.targets))",message="spec.forProvider.targets is a required parameter" Spec MaintenanceWindowTargetSpec `json:"spec"` Status MaintenanceWindowTargetStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go b/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go index f05c67dd9f..d34ed4f1ee 100755 --- a/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go +++ b/apis/ssm/v1beta1/zz_maintenancewindowtask_types.go @@ -637,7 +637,7 @@ type MaintenanceWindowTaskStatus struct { type MaintenanceWindowTask struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.taskType) || has(self.initProvider.taskType)",message="taskType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.taskType) || (has(self.initProvider) && has(self.initProvider.taskType))",message="spec.forProvider.taskType is a required parameter" Spec MaintenanceWindowTaskSpec `json:"spec"` Status MaintenanceWindowTaskStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_parameter_types.go b/apis/ssm/v1beta1/zz_parameter_types.go index 41f9dcb12e..c2daecc0e4 100755 --- a/apis/ssm/v1beta1/zz_parameter_types.go +++ b/apis/ssm/v1beta1/zz_parameter_types.go @@ -175,7 +175,7 @@ type ParameterStatus struct { type Parameter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec ParameterSpec `json:"spec"` Status ParameterStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_patchbaseline_types.go b/apis/ssm/v1beta1/zz_patchbaseline_types.go index b8362fe402..8eab68a388 100755 --- a/apis/ssm/v1beta1/zz_patchbaseline_types.go +++ b/apis/ssm/v1beta1/zz_patchbaseline_types.go @@ -455,7 +455,7 @@ type PatchBaselineStatus struct { type PatchBaseline struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PatchBaselineSpec `json:"spec"` Status PatchBaselineStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_patchgroup_types.go b/apis/ssm/v1beta1/zz_patchgroup_types.go index 7fb80f177e..b285b82c7f 100755 --- a/apis/ssm/v1beta1/zz_patchgroup_types.go +++ b/apis/ssm/v1beta1/zz_patchgroup_types.go @@ -93,7 +93,7 @@ type PatchGroupStatus struct { type PatchGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.patchGroup) || has(self.initProvider.patchGroup)",message="patchGroup is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.patchGroup) || (has(self.initProvider) && has(self.initProvider.patchGroup))",message="spec.forProvider.patchGroup is a required parameter" Spec PatchGroupSpec `json:"spec"` Status PatchGroupStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_resourcedatasync_types.go b/apis/ssm/v1beta1/zz_resourcedatasync_types.go index ee98917687..b5e5e93a90 100755 --- a/apis/ssm/v1beta1/zz_resourcedatasync_types.go +++ b/apis/ssm/v1beta1/zz_resourcedatasync_types.go @@ -147,7 +147,7 @@ type ResourceDataSyncStatus struct { type ResourceDataSync struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Destination) || has(self.initProvider.s3Destination)",message="s3Destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.s3Destination) || (has(self.initProvider) && has(self.initProvider.s3Destination))",message="spec.forProvider.s3Destination is a required parameter" Spec ResourceDataSyncSpec `json:"spec"` Status ResourceDataSyncStatus `json:"status,omitempty"` } diff --git a/apis/ssm/v1beta1/zz_servicesetting_types.go b/apis/ssm/v1beta1/zz_servicesetting_types.go index 36659bcb0a..e44e056cff 100755 --- a/apis/ssm/v1beta1/zz_servicesetting_types.go +++ b/apis/ssm/v1beta1/zz_servicesetting_types.go @@ -91,8 +91,8 @@ type ServiceSettingStatus struct { type ServiceSetting struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settingId) || has(self.initProvider.settingId)",message="settingId is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settingValue) || has(self.initProvider.settingValue)",message="settingValue is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settingId) || (has(self.initProvider) && has(self.initProvider.settingId))",message="spec.forProvider.settingId is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.settingValue) || (has(self.initProvider) && has(self.initProvider.settingValue))",message="spec.forProvider.settingValue is a required parameter" Spec ServiceSettingSpec `json:"spec"` Status ServiceSettingStatus `json:"status,omitempty"` } diff --git a/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go b/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go index 0f7a92e98c..ab2cd70603 100644 --- a/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go +++ b/apis/ssoadmin/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -480,7 +479,8 @@ func (in *PermissionSetInitParameters) DeepCopyInto(out *PermissionSetInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -776,7 +776,8 @@ func (in *PermissionSetObservation) DeepCopyInto(out *PermissionSetObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -791,7 +792,8 @@ func (in *PermissionSetObservation) DeepCopyInto(out *PermissionSetObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -851,7 +853,8 @@ func (in *PermissionSetParameters) DeepCopyInto(out *PermissionSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/ssoadmin/v1beta1/zz_generated.managed.go b/apis/ssoadmin/v1beta1/zz_generated.managed.go index 6ba5e326e6..c0dd6c2b70 100644 --- a/apis/ssoadmin/v1beta1/zz_generated.managed.go +++ b/apis/ssoadmin/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *AccountAssignment) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this AccountAssignment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *AccountAssignment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this AccountAssignment. func (mg *AccountAssignment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *AccountAssignment) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this AccountAssignment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *AccountAssignment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this AccountAssignment. func (mg *AccountAssignment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *ManagedPolicyAttachment) GetProviderConfigReference() *xpv1.Reference return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ManagedPolicyAttachment. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ManagedPolicyAttachment) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ManagedPolicyAttachment. func (mg *ManagedPolicyAttachment) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *ManagedPolicyAttachment) SetProviderConfigReference(r *xpv1.Reference) mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ManagedPolicyAttachment. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ManagedPolicyAttachment) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ManagedPolicyAttachment. func (mg *ManagedPolicyAttachment) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *PermissionSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PermissionSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PermissionSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PermissionSet. func (mg *PermissionSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *PermissionSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PermissionSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PermissionSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PermissionSet. func (mg *PermissionSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *PermissionSetInlinePolicy) GetProviderConfigReference() *xpv1.Referenc return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this PermissionSetInlinePolicy. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *PermissionSetInlinePolicy) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this PermissionSetInlinePolicy. func (mg *PermissionSetInlinePolicy) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *PermissionSetInlinePolicy) SetProviderConfigReference(r *xpv1.Referenc mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this PermissionSetInlinePolicy. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *PermissionSetInlinePolicy) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this PermissionSetInlinePolicy. func (mg *PermissionSetInlinePolicy) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/ssoadmin/v1beta1/zz_permissionset_types.go b/apis/ssoadmin/v1beta1/zz_permissionset_types.go index 352edc5362..807ed5c6f6 100755 --- a/apis/ssoadmin/v1beta1/zz_permissionset_types.go +++ b/apis/ssoadmin/v1beta1/zz_permissionset_types.go @@ -135,8 +135,8 @@ type PermissionSetStatus struct { type PermissionSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceArn) || has(self.initProvider.instanceArn)",message="instanceArn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.instanceArn) || (has(self.initProvider) && has(self.initProvider.instanceArn))",message="spec.forProvider.instanceArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec PermissionSetSpec `json:"spec"` Status PermissionSetStatus `json:"status,omitempty"` } diff --git a/apis/ssoadmin/v1beta1/zz_permissionsetinlinepolicy_types.go b/apis/ssoadmin/v1beta1/zz_permissionsetinlinepolicy_types.go index 22e079501d..a441cfc1ac 100755 --- a/apis/ssoadmin/v1beta1/zz_permissionsetinlinepolicy_types.go +++ b/apis/ssoadmin/v1beta1/zz_permissionsetinlinepolicy_types.go @@ -100,7 +100,7 @@ type PermissionSetInlinePolicyStatus struct { type PermissionSetInlinePolicy struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inlinePolicy) || has(self.initProvider.inlinePolicy)",message="inlinePolicy is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inlinePolicy) || (has(self.initProvider) && has(self.initProvider.inlinePolicy))",message="spec.forProvider.inlinePolicy is a required parameter" Spec PermissionSetInlinePolicySpec `json:"spec"` Status PermissionSetInlinePolicyStatus `json:"status,omitempty"` } diff --git a/apis/swf/v1beta1/zz_domain_types.go b/apis/swf/v1beta1/zz_domain_types.go index 496abee8bd..a3afbb0e79 100755 --- a/apis/swf/v1beta1/zz_domain_types.go +++ b/apis/swf/v1beta1/zz_domain_types.go @@ -102,7 +102,7 @@ type DomainStatus struct { type Domain struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workflowExecutionRetentionPeriodInDays) || has(self.initProvider.workflowExecutionRetentionPeriodInDays)",message="workflowExecutionRetentionPeriodInDays is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.workflowExecutionRetentionPeriodInDays) || (has(self.initProvider) && has(self.initProvider.workflowExecutionRetentionPeriodInDays))",message="spec.forProvider.workflowExecutionRetentionPeriodInDays is a required parameter" Spec DomainSpec `json:"spec"` Status DomainStatus `json:"status,omitempty"` } diff --git a/apis/swf/v1beta1/zz_generated.deepcopy.go b/apis/swf/v1beta1/zz_generated.deepcopy.go index b9cf661e50..07f9ae9b7d 100644 --- a/apis/swf/v1beta1/zz_generated.deepcopy.go +++ b/apis/swf/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -56,7 +55,8 @@ func (in *DomainInitParameters) DeepCopyInto(out *DomainInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -138,7 +138,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -153,7 +154,8 @@ func (in *DomainObservation) DeepCopyInto(out *DomainObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -198,7 +200,8 @@ func (in *DomainParameters) DeepCopyInto(out *DomainParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/swf/v1beta1/zz_generated.managed.go b/apis/swf/v1beta1/zz_generated.managed.go index 27a76ab723..624234d312 100644 --- a/apis/swf/v1beta1/zz_generated.managed.go +++ b/apis/swf/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Domain) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Domain. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Domain) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Domain. func (mg *Domain) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Domain) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Domain. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Domain) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Domain. func (mg *Domain) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go b/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go index 62cb668638..2818c88c1b 100644 --- a/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go +++ b/apis/timestreamwrite/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -52,7 +51,8 @@ func (in *DatabaseInitParameters) DeepCopyInto(out *DatabaseInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -134,7 +134,8 @@ func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -149,7 +150,8 @@ func (in *DatabaseObservation) DeepCopyInto(out *DatabaseObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -199,7 +201,8 @@ func (in *DatabaseParameters) DeepCopyInto(out *DatabaseParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -632,7 +635,8 @@ func (in *TableInitParameters) DeepCopyInto(out *TableInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -728,7 +732,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -743,7 +748,8 @@ func (in *TableObservation) DeepCopyInto(out *TableObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -812,7 +818,8 @@ func (in *TableParameters) DeepCopyInto(out *TableParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/timestreamwrite/v1beta1/zz_generated.managed.go b/apis/timestreamwrite/v1beta1/zz_generated.managed.go index a029761bfa..e354301fd3 100644 --- a/apis/timestreamwrite/v1beta1/zz_generated.managed.go +++ b/apis/timestreamwrite/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Database) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Database. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Database) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Database. func (mg *Database) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Database) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Database. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Database) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Database. func (mg *Database) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Table) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Table. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Table) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Table. func (mg *Table) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Table) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Table. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Table) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Table. func (mg *Table) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/transcribe/v1beta1/zz_generated.deepcopy.go b/apis/transcribe/v1beta1/zz_generated.deepcopy.go index b789b5826a..ec536c6c25 100644 --- a/apis/transcribe/v1beta1/zz_generated.deepcopy.go +++ b/apis/transcribe/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -164,7 +163,8 @@ func (in *LanguageModelInitParameters) DeepCopyInto(out *LanguageModelInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -253,7 +253,8 @@ func (in *LanguageModelObservation) DeepCopyInto(out *LanguageModelObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -268,7 +269,8 @@ func (in *LanguageModelObservation) DeepCopyInto(out *LanguageModelObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -320,7 +322,8 @@ func (in *LanguageModelParameters) DeepCopyInto(out *LanguageModelParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -444,7 +447,8 @@ func (in *VocabularyFilterInitParameters) DeepCopyInto(out *VocabularyFilterInit if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -542,7 +546,8 @@ func (in *VocabularyFilterObservation) DeepCopyInto(out *VocabularyFilterObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -557,7 +562,8 @@ func (in *VocabularyFilterObservation) DeepCopyInto(out *VocabularyFilterObserva if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -613,7 +619,8 @@ func (in *VocabularyFilterParameters) DeepCopyInto(out *VocabularyFilterParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -710,7 +717,8 @@ func (in *VocabularyInitParameters) DeepCopyInto(out *VocabularyInitParameters) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -808,7 +816,8 @@ func (in *VocabularyObservation) DeepCopyInto(out *VocabularyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -823,7 +832,8 @@ func (in *VocabularyObservation) DeepCopyInto(out *VocabularyObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -879,7 +889,8 @@ func (in *VocabularyParameters) DeepCopyInto(out *VocabularyParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/transcribe/v1beta1/zz_generated.managed.go b/apis/transcribe/v1beta1/zz_generated.managed.go index d56865e905..533ca5140c 100644 --- a/apis/transcribe/v1beta1/zz_generated.managed.go +++ b/apis/transcribe/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *LanguageModel) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this LanguageModel. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *LanguageModel) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this LanguageModel. func (mg *LanguageModel) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *LanguageModel) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this LanguageModel. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *LanguageModel) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this LanguageModel. func (mg *LanguageModel) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Vocabulary) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Vocabulary. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Vocabulary) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Vocabulary. func (mg *Vocabulary) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Vocabulary) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Vocabulary. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Vocabulary) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Vocabulary. func (mg *Vocabulary) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *VocabularyFilter) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this VocabularyFilter. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *VocabularyFilter) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this VocabularyFilter. func (mg *VocabularyFilter) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *VocabularyFilter) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this VocabularyFilter. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *VocabularyFilter) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this VocabularyFilter. func (mg *VocabularyFilter) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/transcribe/v1beta1/zz_languagemodel_types.go b/apis/transcribe/v1beta1/zz_languagemodel_types.go index 051d2b1681..e91d273010 100755 --- a/apis/transcribe/v1beta1/zz_languagemodel_types.go +++ b/apis/transcribe/v1beta1/zz_languagemodel_types.go @@ -157,9 +157,9 @@ type LanguageModelStatus struct { type LanguageModel struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseModelName) || has(self.initProvider.baseModelName)",message="baseModelName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputDataConfig) || has(self.initProvider.inputDataConfig)",message="inputDataConfig is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || has(self.initProvider.languageCode)",message="languageCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.baseModelName) || (has(self.initProvider) && has(self.initProvider.baseModelName))",message="spec.forProvider.baseModelName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.inputDataConfig) || (has(self.initProvider) && has(self.initProvider.inputDataConfig))",message="spec.forProvider.inputDataConfig is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter" Spec LanguageModelSpec `json:"spec"` Status LanguageModelStatus `json:"status,omitempty"` } diff --git a/apis/transcribe/v1beta1/zz_vocabulary_types.go b/apis/transcribe/v1beta1/zz_vocabulary_types.go index b145f72bc0..42a8676178 100755 --- a/apis/transcribe/v1beta1/zz_vocabulary_types.go +++ b/apis/transcribe/v1beta1/zz_vocabulary_types.go @@ -114,7 +114,7 @@ type VocabularyStatus struct { type Vocabulary struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || has(self.initProvider.languageCode)",message="languageCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter" Spec VocabularySpec `json:"spec"` Status VocabularyStatus `json:"status,omitempty"` } diff --git a/apis/transcribe/v1beta1/zz_vocabularyfilter_types.go b/apis/transcribe/v1beta1/zz_vocabularyfilter_types.go index 28300dbd59..a821a54a26 100755 --- a/apis/transcribe/v1beta1/zz_vocabularyfilter_types.go +++ b/apis/transcribe/v1beta1/zz_vocabularyfilter_types.go @@ -114,7 +114,7 @@ type VocabularyFilterStatus struct { type VocabularyFilter struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || has(self.initProvider.languageCode)",message="languageCode is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.languageCode) || (has(self.initProvider) && has(self.initProvider.languageCode))",message="spec.forProvider.languageCode is a required parameter" Spec VocabularyFilterSpec `json:"spec"` Status VocabularyFilterStatus `json:"status,omitempty"` } diff --git a/apis/transfer/v1beta1/zz_generated.deepcopy.go b/apis/transfer/v1beta1/zz_generated.deepcopy.go index 483ed90f86..2d64e57642 100644 --- a/apis/transfer/v1beta1/zz_generated.deepcopy.go +++ b/apis/transfer/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -2399,7 +2398,8 @@ func (in *ServerInitParameters) DeepCopyInto(out *ServerInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2568,7 +2568,8 @@ func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2583,7 +2584,8 @@ func (in *ServerObservation) DeepCopyInto(out *ServerObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2740,7 +2742,8 @@ func (in *ServerParameters) DeepCopyInto(out *ServerParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4088,7 +4091,8 @@ func (in *UserInitParameters) DeepCopyInto(out *UserInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4199,7 +4203,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4214,7 +4219,8 @@ func (in *UserObservation) DeepCopyInto(out *UserObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4308,7 +4314,8 @@ func (in *UserParameters) DeepCopyInto(out *UserParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4506,7 +4513,8 @@ func (in *WorkflowInitParameters) DeepCopyInto(out *WorkflowInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4597,7 +4605,8 @@ func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4612,7 +4621,8 @@ func (in *WorkflowObservation) DeepCopyInto(out *WorkflowObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -4666,7 +4676,8 @@ func (in *WorkflowParameters) DeepCopyInto(out *WorkflowParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/transfer/v1beta1/zz_generated.managed.go b/apis/transfer/v1beta1/zz_generated.managed.go index 5309b1e688..3d8477c33b 100644 --- a/apis/transfer/v1beta1/zz_generated.managed.go +++ b/apis/transfer/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *SSHKey) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SSHKey. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SSHKey) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SSHKey. func (mg *SSHKey) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *SSHKey) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SSHKey. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SSHKey) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SSHKey. func (mg *SSHKey) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Server) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Server. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Server) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Server. func (mg *Server) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Server) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Server. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Server) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Server. func (mg *Server) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *Tag) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Tag. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Tag) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Tag. func (mg *Tag) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *Tag) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Tag. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Tag) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Tag. func (mg *Tag) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *User) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this User. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *User) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this User. func (mg *User) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *User) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this User. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *User) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this User. func (mg *User) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *Workflow) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Workflow. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Workflow) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Workflow. func (mg *Workflow) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *Workflow) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Workflow. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Workflow) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Workflow. func (mg *Workflow) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/transfer/v1beta1/zz_sshkey_types.go b/apis/transfer/v1beta1/zz_sshkey_types.go index 686510044d..363acbca52 100755 --- a/apis/transfer/v1beta1/zz_sshkey_types.go +++ b/apis/transfer/v1beta1/zz_sshkey_types.go @@ -108,7 +108,7 @@ type SSHKeyStatus struct { type SSHKey struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.body) || has(self.initProvider.body)",message="body is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.body) || (has(self.initProvider) && has(self.initProvider.body))",message="spec.forProvider.body is a required parameter" Spec SSHKeySpec `json:"spec"` Status SSHKeyStatus `json:"status,omitempty"` } diff --git a/apis/transfer/v1beta1/zz_tag_types.go b/apis/transfer/v1beta1/zz_tag_types.go index 4d0c7ff938..75d1558f06 100755 --- a/apis/transfer/v1beta1/zz_tag_types.go +++ b/apis/transfer/v1beta1/zz_tag_types.go @@ -103,8 +103,8 @@ type TagStatus struct { type Tag struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || has(self.initProvider.key)",message="key is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || has(self.initProvider.value)",message="value is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.key) || (has(self.initProvider) && has(self.initProvider.key))",message="spec.forProvider.key is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.value) || (has(self.initProvider) && has(self.initProvider.value))",message="spec.forProvider.value is a required parameter" Spec TagSpec `json:"spec"` Status TagStatus `json:"status,omitempty"` } diff --git a/apis/transfer/v1beta1/zz_workflow_types.go b/apis/transfer/v1beta1/zz_workflow_types.go index 50de91923c..8778449124 100755 --- a/apis/transfer/v1beta1/zz_workflow_types.go +++ b/apis/transfer/v1beta1/zz_workflow_types.go @@ -1113,7 +1113,7 @@ type WorkflowStatus struct { type Workflow struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.steps) || has(self.initProvider.steps)",message="steps is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.steps) || (has(self.initProvider) && has(self.initProvider.steps))",message="spec.forProvider.steps is a required parameter" Spec WorkflowSpec `json:"spec"` Status WorkflowStatus `json:"status,omitempty"` } diff --git a/apis/v1alpha1/zz_generated.deepcopy.go b/apis/v1alpha1/zz_generated.deepcopy.go index 9d284bac01..86f2d2946a 100644 --- a/apis/v1alpha1/zz_generated.deepcopy.go +++ b/apis/v1alpha1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/v1beta1/zz_generated.deepcopy.go b/apis/v1beta1/zz_generated.deepcopy.go index 143462504f..20af3f5138 100644 --- a/apis/v1beta1/zz_generated.deepcopy.go +++ b/apis/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/vpc/v1beta1/zz_generated.deepcopy.go b/apis/vpc/v1beta1/zz_generated.deepcopy.go index c8aa60de08..4199171490 100644 --- a/apis/vpc/v1beta1/zz_generated.deepcopy.go +++ b/apis/vpc/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. diff --git a/apis/vpc/v1beta1/zz_generated.managed.go b/apis/vpc/v1beta1/zz_generated.managed.go index 40de0ed9c5..6131145a87 100644 --- a/apis/vpc/v1beta1/zz_generated.managed.go +++ b/apis/vpc/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *NetworkPerformanceMetricSubscription) GetProviderConfigReference() *xp return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this NetworkPerformanceMetricSubscription. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *NetworkPerformanceMetricSubscription) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this NetworkPerformanceMetricSubscription. func (mg *NetworkPerformanceMetricSubscription) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *NetworkPerformanceMetricSubscription) SetProviderConfigReference(r *xp mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this NetworkPerformanceMetricSubscription. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *NetworkPerformanceMetricSubscription) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this NetworkPerformanceMetricSubscription. func (mg *NetworkPerformanceMetricSubscription) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/vpc/v1beta1/zz_networkperformancemetricsubscription_types.go b/apis/vpc/v1beta1/zz_networkperformancemetricsubscription_types.go index 3f41b83588..7a17f745b7 100755 --- a/apis/vpc/v1beta1/zz_networkperformancemetricsubscription_types.go +++ b/apis/vpc/v1beta1/zz_networkperformancemetricsubscription_types.go @@ -108,8 +108,8 @@ type NetworkPerformanceMetricSubscriptionStatus struct { type NetworkPerformanceMetricSubscription struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || has(self.initProvider.destination)",message="destination is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || has(self.initProvider.source)",message="source is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.destination) || (has(self.initProvider) && has(self.initProvider.destination))",message="spec.forProvider.destination is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.source) || (has(self.initProvider) && has(self.initProvider.source))",message="spec.forProvider.source is a required parameter" Spec NetworkPerformanceMetricSubscriptionSpec `json:"spec"` Status NetworkPerformanceMetricSubscriptionStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_bytematchset_types.go b/apis/waf/v1beta1/zz_bytematchset_types.go index 8f37a485b5..8c2eba902e 100755 --- a/apis/waf/v1beta1/zz_bytematchset_types.go +++ b/apis/waf/v1beta1/zz_bytematchset_types.go @@ -212,7 +212,7 @@ type ByteMatchSetStatus struct { type ByteMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ByteMatchSetSpec `json:"spec"` Status ByteMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_generated.deepcopy.go b/apis/waf/v1beta1/zz_generated.deepcopy.go index cf0fae30de..0dd79af64d 100644 --- a/apis/waf/v1beta1/zz_generated.deepcopy.go +++ b/apis/waf/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1341,7 +1340,8 @@ func (in *RateBasedRuleInitParameters) DeepCopyInto(out *RateBasedRuleInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1440,7 +1440,8 @@ func (in *RateBasedRuleObservation) DeepCopyInto(out *RateBasedRuleObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1455,7 +1456,8 @@ func (in *RateBasedRuleObservation) DeepCopyInto(out *RateBasedRuleObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1517,7 +1519,8 @@ func (in *RateBasedRuleParameters) DeepCopyInto(out *RateBasedRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2335,7 +2338,8 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2424,7 +2428,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2439,7 +2444,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2491,7 +2497,8 @@ func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3563,7 +3570,8 @@ func (in *WebACLInitParameters) DeepCopyInto(out *WebACLInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3666,7 +3674,8 @@ func (in *WebACLObservation) DeepCopyInto(out *WebACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3681,7 +3690,8 @@ func (in *WebACLObservation) DeepCopyInto(out *WebACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3747,7 +3757,8 @@ func (in *WebACLParameters) DeepCopyInto(out *WebACLParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/waf/v1beta1/zz_generated.managed.go b/apis/waf/v1beta1/zz_generated.managed.go index e52f638b41..c847c73285 100644 --- a/apis/waf/v1beta1/zz_generated.managed.go +++ b/apis/waf/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ByteMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ByteMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ByteMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ByteMatchSet. func (mg *ByteMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ByteMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ByteMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ByteMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ByteMatchSet. func (mg *ByteMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *GeoMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GeoMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GeoMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GeoMatchSet. func (mg *GeoMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *GeoMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GeoMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GeoMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GeoMatchSet. func (mg *GeoMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *IPSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IPSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IPSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *IPSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IPSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IPSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *RateBasedRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RateBasedRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RateBasedRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RateBasedRule. func (mg *RateBasedRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *RateBasedRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RateBasedRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RateBasedRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RateBasedRule. func (mg *RateBasedRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *RegexMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegexMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegexMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegexMatchSet. func (mg *RegexMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *RegexMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegexMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegexMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegexMatchSet. func (mg *RegexMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *RegexPatternSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegexPatternSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegexPatternSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *RegexPatternSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegexPatternSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegexPatternSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Rule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Rule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Rule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Rule. func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Rule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Rule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Rule. func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *SQLInjectionMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SQLInjectionMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SQLInjectionMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SQLInjectionMatchSet. func (mg *SQLInjectionMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *SQLInjectionMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SQLInjectionMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SQLInjectionMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SQLInjectionMatchSet. func (mg *SQLInjectionMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *SizeConstraintSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SizeConstraintSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SizeConstraintSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SizeConstraintSet. func (mg *SizeConstraintSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *SizeConstraintSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SizeConstraintSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SizeConstraintSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SizeConstraintSet. func (mg *SizeConstraintSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *WebACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this WebACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *WebACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this WebACL. func (mg *WebACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *WebACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this WebACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *WebACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this WebACL. func (mg *WebACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *XSSMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this XSSMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *XSSMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this XSSMatchSet. func (mg *XSSMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *XSSMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this XSSMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *XSSMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this XSSMatchSet. func (mg *XSSMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/waf/v1beta1/zz_geomatchset_types.go b/apis/waf/v1beta1/zz_geomatchset_types.go index 7048d15dc9..94d24f04a3 100755 --- a/apis/waf/v1beta1/zz_geomatchset_types.go +++ b/apis/waf/v1beta1/zz_geomatchset_types.go @@ -124,7 +124,7 @@ type GeoMatchSetStatus struct { type GeoMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec GeoMatchSetSpec `json:"spec"` Status GeoMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_ipset_types.go b/apis/waf/v1beta1/zz_ipset_types.go index c2e0282560..de1b6805c3 100755 --- a/apis/waf/v1beta1/zz_ipset_types.go +++ b/apis/waf/v1beta1/zz_ipset_types.go @@ -118,7 +118,7 @@ type IPSetStatus struct { type IPSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec IPSetSpec `json:"spec"` Status IPSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_ratebasedrule_types.go b/apis/waf/v1beta1/zz_ratebasedrule_types.go index 224caf4f34..4c1a02f381 100755 --- a/apis/waf/v1beta1/zz_ratebasedrule_types.go +++ b/apis/waf/v1beta1/zz_ratebasedrule_types.go @@ -187,10 +187,10 @@ type RateBasedRuleStatus struct { type RateBasedRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateKey) || has(self.initProvider.rateKey)",message="rateKey is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateLimit) || has(self.initProvider.rateLimit)",message="rateLimit is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateKey) || (has(self.initProvider) && has(self.initProvider.rateKey))",message="spec.forProvider.rateKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateLimit) || (has(self.initProvider) && has(self.initProvider.rateLimit))",message="spec.forProvider.rateLimit is a required parameter" Spec RateBasedRuleSpec `json:"spec"` Status RateBasedRuleStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_regexmatchset_types.go b/apis/waf/v1beta1/zz_regexmatchset_types.go index 2849f9ad7c..20fff3d13b 100755 --- a/apis/waf/v1beta1/zz_regexmatchset_types.go +++ b/apis/waf/v1beta1/zz_regexmatchset_types.go @@ -185,7 +185,7 @@ type RegexMatchSetStatus struct { type RegexMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RegexMatchSetSpec `json:"spec"` Status RegexMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_regexpatternset_types.go b/apis/waf/v1beta1/zz_regexpatternset_types.go index bb8e38b3c7..11cfbf2f6f 100755 --- a/apis/waf/v1beta1/zz_regexpatternset_types.go +++ b/apis/waf/v1beta1/zz_regexpatternset_types.go @@ -89,7 +89,7 @@ type RegexPatternSetStatus struct { type RegexPatternSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RegexPatternSetSpec `json:"spec"` Status RegexPatternSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_rule_types.go b/apis/waf/v1beta1/zz_rule_types.go index a24ffd987f..8284d3b00a 100755 --- a/apis/waf/v1beta1/zz_rule_types.go +++ b/apis/waf/v1beta1/zz_rule_types.go @@ -167,8 +167,8 @@ type RuleStatus struct { type Rule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RuleSpec `json:"spec"` Status RuleStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_sizeconstraintset_types.go b/apis/waf/v1beta1/zz_sizeconstraintset_types.go index 0c1361ea82..a814fc7fd2 100755 --- a/apis/waf/v1beta1/zz_sizeconstraintset_types.go +++ b/apis/waf/v1beta1/zz_sizeconstraintset_types.go @@ -203,7 +203,7 @@ type SizeConstraintSetStatus struct { type SizeConstraintSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SizeConstraintSetSpec `json:"spec"` Status SizeConstraintSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_sqlinjectionmatchset_types.go b/apis/waf/v1beta1/zz_sqlinjectionmatchset_types.go index d37aefa9e0..921adaef35 100755 --- a/apis/waf/v1beta1/zz_sqlinjectionmatchset_types.go +++ b/apis/waf/v1beta1/zz_sqlinjectionmatchset_types.go @@ -168,7 +168,7 @@ type SQLInjectionMatchSetStatus struct { type SQLInjectionMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SQLInjectionMatchSetSpec `json:"spec"` Status SQLInjectionMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_webacl_types.go b/apis/waf/v1beta1/zz_webacl_types.go index 503e80a3b6..6470780ab0 100755 --- a/apis/waf/v1beta1/zz_webacl_types.go +++ b/apis/waf/v1beta1/zz_webacl_types.go @@ -345,9 +345,9 @@ type WebACLStatus struct { type WebACL struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || has(self.initProvider.defaultAction)",message="defaultAction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || (has(self.initProvider) && has(self.initProvider.defaultAction))",message="spec.forProvider.defaultAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec WebACLSpec `json:"spec"` Status WebACLStatus `json:"status,omitempty"` } diff --git a/apis/waf/v1beta1/zz_xssmatchset_types.go b/apis/waf/v1beta1/zz_xssmatchset_types.go index d7c0417571..41639e5b09 100755 --- a/apis/waf/v1beta1/zz_xssmatchset_types.go +++ b/apis/waf/v1beta1/zz_xssmatchset_types.go @@ -171,7 +171,7 @@ type XSSMatchSetStatus struct { type XSSMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec XSSMatchSetSpec `json:"spec"` Status XSSMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_bytematchset_types.go b/apis/wafregional/v1beta1/zz_bytematchset_types.go index 8a2938a1ae..397d7561fe 100755 --- a/apis/wafregional/v1beta1/zz_bytematchset_types.go +++ b/apis/wafregional/v1beta1/zz_bytematchset_types.go @@ -164,7 +164,7 @@ type ByteMatchSetStatus struct { type ByteMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec ByteMatchSetSpec `json:"spec"` Status ByteMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_generated.deepcopy.go b/apis/wafregional/v1beta1/zz_generated.deepcopy.go index 4e8f69c800..6258c7ca5e 100644 --- a/apis/wafregional/v1beta1/zz_generated.deepcopy.go +++ b/apis/wafregional/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -1336,7 +1335,8 @@ func (in *RateBasedRuleInitParameters) DeepCopyInto(out *RateBasedRuleInitParame if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1435,7 +1435,8 @@ func (in *RateBasedRuleObservation) DeepCopyInto(out *RateBasedRuleObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1450,7 +1451,8 @@ func (in *RateBasedRuleObservation) DeepCopyInto(out *RateBasedRuleObservation) if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -1512,7 +1514,8 @@ func (in *RateBasedRuleParameters) DeepCopyInto(out *RateBasedRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2320,7 +2323,8 @@ func (in *RuleInitParameters) DeepCopyInto(out *RuleInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2409,7 +2413,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2424,7 +2429,8 @@ func (in *RuleObservation) DeepCopyInto(out *RuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -2476,7 +2482,8 @@ func (in *RuleParameters) DeepCopyInto(out *RuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3411,7 +3418,8 @@ func (in *WebACLInitParameters) DeepCopyInto(out *WebACLInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3514,7 +3522,8 @@ func (in *WebACLObservation) DeepCopyInto(out *WebACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3529,7 +3538,8 @@ func (in *WebACLObservation) DeepCopyInto(out *WebACLObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -3595,7 +3605,8 @@ func (in *WebACLParameters) DeepCopyInto(out *WebACLParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/wafregional/v1beta1/zz_generated.managed.go b/apis/wafregional/v1beta1/zz_generated.managed.go index e52f638b41..c847c73285 100644 --- a/apis/wafregional/v1beta1/zz_generated.managed.go +++ b/apis/wafregional/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *ByteMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this ByteMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *ByteMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this ByteMatchSet. func (mg *ByteMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *ByteMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this ByteMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *ByteMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this ByteMatchSet. func (mg *ByteMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *GeoMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this GeoMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *GeoMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this GeoMatchSet. func (mg *GeoMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *GeoMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this GeoMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *GeoMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this GeoMatchSet. func (mg *GeoMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *IPSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IPSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IPSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *IPSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IPSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IPSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -255,14 +207,6 @@ func (mg *RateBasedRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RateBasedRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RateBasedRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RateBasedRule. func (mg *RateBasedRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -293,14 +237,6 @@ func (mg *RateBasedRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RateBasedRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RateBasedRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RateBasedRule. func (mg *RateBasedRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -331,14 +267,6 @@ func (mg *RegexMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegexMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegexMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegexMatchSet. func (mg *RegexMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -369,14 +297,6 @@ func (mg *RegexMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegexMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegexMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegexMatchSet. func (mg *RegexMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -407,14 +327,6 @@ func (mg *RegexPatternSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegexPatternSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegexPatternSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -445,14 +357,6 @@ func (mg *RegexPatternSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegexPatternSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegexPatternSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -483,14 +387,6 @@ func (mg *Rule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Rule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Rule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Rule. func (mg *Rule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -521,14 +417,6 @@ func (mg *Rule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Rule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Rule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Rule. func (mg *Rule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -559,14 +447,6 @@ func (mg *SQLInjectionMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SQLInjectionMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SQLInjectionMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SQLInjectionMatchSet. func (mg *SQLInjectionMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -597,14 +477,6 @@ func (mg *SQLInjectionMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SQLInjectionMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SQLInjectionMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SQLInjectionMatchSet. func (mg *SQLInjectionMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -635,14 +507,6 @@ func (mg *SizeConstraintSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SizeConstraintSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SizeConstraintSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SizeConstraintSet. func (mg *SizeConstraintSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -673,14 +537,6 @@ func (mg *SizeConstraintSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SizeConstraintSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SizeConstraintSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SizeConstraintSet. func (mg *SizeConstraintSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -711,14 +567,6 @@ func (mg *WebACL) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this WebACL. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *WebACL) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this WebACL. func (mg *WebACL) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -749,14 +597,6 @@ func (mg *WebACL) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this WebACL. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *WebACL) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this WebACL. func (mg *WebACL) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -787,14 +627,6 @@ func (mg *XSSMatchSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this XSSMatchSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *XSSMatchSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this XSSMatchSet. func (mg *XSSMatchSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -825,14 +657,6 @@ func (mg *XSSMatchSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this XSSMatchSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *XSSMatchSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this XSSMatchSet. func (mg *XSSMatchSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/wafregional/v1beta1/zz_geomatchset_types.go b/apis/wafregional/v1beta1/zz_geomatchset_types.go index 2642f91ff7..08a430ba6e 100755 --- a/apis/wafregional/v1beta1/zz_geomatchset_types.go +++ b/apis/wafregional/v1beta1/zz_geomatchset_types.go @@ -121,7 +121,7 @@ type GeoMatchSetStatus struct { type GeoMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec GeoMatchSetSpec `json:"spec"` Status GeoMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_ipset_types.go b/apis/wafregional/v1beta1/zz_ipset_types.go index 4cb3634b21..f83481d8fc 100755 --- a/apis/wafregional/v1beta1/zz_ipset_types.go +++ b/apis/wafregional/v1beta1/zz_ipset_types.go @@ -118,7 +118,7 @@ type IPSetStatus struct { type IPSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec IPSetSpec `json:"spec"` Status IPSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_ratebasedrule_types.go b/apis/wafregional/v1beta1/zz_ratebasedrule_types.go index de0ea0492e..1e407d2cd0 100755 --- a/apis/wafregional/v1beta1/zz_ratebasedrule_types.go +++ b/apis/wafregional/v1beta1/zz_ratebasedrule_types.go @@ -187,10 +187,10 @@ type RateBasedRuleStatus struct { type RateBasedRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateKey) || has(self.initProvider.rateKey)",message="rateKey is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateLimit) || has(self.initProvider.rateLimit)",message="rateLimit is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateKey) || (has(self.initProvider) && has(self.initProvider.rateKey))",message="spec.forProvider.rateKey is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.rateLimit) || (has(self.initProvider) && has(self.initProvider.rateLimit))",message="spec.forProvider.rateLimit is a required parameter" Spec RateBasedRuleSpec `json:"spec"` Status RateBasedRuleStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_regexmatchset_types.go b/apis/wafregional/v1beta1/zz_regexmatchset_types.go index 1477fac384..bb5e95bd7b 100755 --- a/apis/wafregional/v1beta1/zz_regexmatchset_types.go +++ b/apis/wafregional/v1beta1/zz_regexmatchset_types.go @@ -182,7 +182,7 @@ type RegexMatchSetStatus struct { type RegexMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RegexMatchSetSpec `json:"spec"` Status RegexMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_regexpatternset_types.go b/apis/wafregional/v1beta1/zz_regexpatternset_types.go index 9efe8688c7..4aedf98a0b 100755 --- a/apis/wafregional/v1beta1/zz_regexpatternset_types.go +++ b/apis/wafregional/v1beta1/zz_regexpatternset_types.go @@ -86,7 +86,7 @@ type RegexPatternSetStatus struct { type RegexPatternSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RegexPatternSetSpec `json:"spec"` Status RegexPatternSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_rule_types.go b/apis/wafregional/v1beta1/zz_rule_types.go index ba26c88e0b..b04ec11d8b 100755 --- a/apis/wafregional/v1beta1/zz_rule_types.go +++ b/apis/wafregional/v1beta1/zz_rule_types.go @@ -158,8 +158,8 @@ type RuleStatus struct { type Rule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec RuleSpec `json:"spec"` Status RuleStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_sizeconstraintset_types.go b/apis/wafregional/v1beta1/zz_sizeconstraintset_types.go index 70bf48db1c..621c26e4cb 100755 --- a/apis/wafregional/v1beta1/zz_sizeconstraintset_types.go +++ b/apis/wafregional/v1beta1/zz_sizeconstraintset_types.go @@ -201,7 +201,7 @@ type SizeConstraintSetStatus struct { type SizeConstraintSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SizeConstraintSetSpec `json:"spec"` Status SizeConstraintSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_sqlinjectionmatchset_types.go b/apis/wafregional/v1beta1/zz_sqlinjectionmatchset_types.go index 05999a9147..aae9db70ec 100755 --- a/apis/wafregional/v1beta1/zz_sqlinjectionmatchset_types.go +++ b/apis/wafregional/v1beta1/zz_sqlinjectionmatchset_types.go @@ -168,7 +168,7 @@ type SQLInjectionMatchSetStatus struct { type SQLInjectionMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec SQLInjectionMatchSetSpec `json:"spec"` Status SQLInjectionMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_webacl_types.go b/apis/wafregional/v1beta1/zz_webacl_types.go index d3c1d4f739..b48a29fc6e 100755 --- a/apis/wafregional/v1beta1/zz_webacl_types.go +++ b/apis/wafregional/v1beta1/zz_webacl_types.go @@ -342,9 +342,9 @@ type WebACLStatus struct { type WebACL struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || has(self.initProvider.defaultAction)",message="defaultAction is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || has(self.initProvider.metricName)",message="metricName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.defaultAction) || (has(self.initProvider) && has(self.initProvider.defaultAction))",message="spec.forProvider.defaultAction is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.metricName) || (has(self.initProvider) && has(self.initProvider.metricName))",message="spec.forProvider.metricName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec WebACLSpec `json:"spec"` Status WebACLStatus `json:"status,omitempty"` } diff --git a/apis/wafregional/v1beta1/zz_xssmatchset_types.go b/apis/wafregional/v1beta1/zz_xssmatchset_types.go index c58ccabaad..69c9b0ced5 100755 --- a/apis/wafregional/v1beta1/zz_xssmatchset_types.go +++ b/apis/wafregional/v1beta1/zz_xssmatchset_types.go @@ -144,7 +144,7 @@ type XSSMatchSetStatus struct { type XSSMatchSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec XSSMatchSetSpec `json:"spec"` Status XSSMatchSetStatus `json:"status,omitempty"` } diff --git a/apis/wafv2/v1beta1/zz_generated.deepcopy.go b/apis/wafv2/v1beta1/zz_generated.deepcopy.go index 4e6429ef66..be5247d864 100644 --- a/apis/wafv2/v1beta1/zz_generated.deepcopy.go +++ b/apis/wafv2/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -82,7 +81,8 @@ func (in *IPSetInitParameters) DeepCopyInto(out *IPSetInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -190,7 +190,8 @@ func (in *IPSetObservation) DeepCopyInto(out *IPSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -205,7 +206,8 @@ func (in *IPSetObservation) DeepCopyInto(out *IPSetObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -271,7 +273,8 @@ func (in *IPSetParameters) DeepCopyInto(out *IPSetParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -385,7 +388,8 @@ func (in *RegexPatternSetInitParameters) DeepCopyInto(out *RegexPatternSetInitPa if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -484,7 +488,8 @@ func (in *RegexPatternSetObservation) DeepCopyInto(out *RegexPatternSetObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -499,7 +504,8 @@ func (in *RegexPatternSetObservation) DeepCopyInto(out *RegexPatternSetObservati if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -556,7 +562,8 @@ func (in *RegexPatternSetParameters) DeepCopyInto(out *RegexPatternSetParameters if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/wafv2/v1beta1/zz_generated.managed.go b/apis/wafv2/v1beta1/zz_generated.managed.go index f44a837f68..2777716fac 100644 --- a/apis/wafv2/v1beta1/zz_generated.managed.go +++ b/apis/wafv2/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *IPSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IPSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IPSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *IPSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IPSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IPSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IPSet. func (mg *IPSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *RegexPatternSet) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this RegexPatternSet. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *RegexPatternSet) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *RegexPatternSet) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this RegexPatternSet. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *RegexPatternSet) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this RegexPatternSet. func (mg *RegexPatternSet) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/wafv2/v1beta1/zz_ipset_types.go b/apis/wafv2/v1beta1/zz_ipset_types.go index 6914a8a7d3..5d3a855c38 100755 --- a/apis/wafv2/v1beta1/zz_ipset_types.go +++ b/apis/wafv2/v1beta1/zz_ipset_types.go @@ -134,9 +134,9 @@ type IPSetStatus struct { type IPSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddressVersion) || has(self.initProvider.ipAddressVersion)",message="ipAddressVersion is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || has(self.initProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.ipAddressVersion) || (has(self.initProvider) && has(self.initProvider.ipAddressVersion))",message="spec.forProvider.ipAddressVersion is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || (has(self.initProvider) && has(self.initProvider.scope))",message="spec.forProvider.scope is a required parameter" Spec IPSetSpec `json:"spec"` Status IPSetStatus `json:"status,omitempty"` } diff --git a/apis/wafv2/v1beta1/zz_regexpatternset_types.go b/apis/wafv2/v1beta1/zz_regexpatternset_types.go index 208133e32a..acb36b8f63 100755 --- a/apis/wafv2/v1beta1/zz_regexpatternset_types.go +++ b/apis/wafv2/v1beta1/zz_regexpatternset_types.go @@ -143,8 +143,8 @@ type RegexPatternSetStatus struct { type RegexPatternSet struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || has(self.initProvider.scope)",message="scope is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.scope) || (has(self.initProvider) && has(self.initProvider.scope))",message="spec.forProvider.scope is a required parameter" Spec RegexPatternSetSpec `json:"spec"` Status RegexPatternSetStatus `json:"status,omitempty"` } diff --git a/apis/workspaces/v1beta1/zz_generated.deepcopy.go b/apis/workspaces/v1beta1/zz_generated.deepcopy.go index 7827a461b7..53f6c941da 100644 --- a/apis/workspaces/v1beta1/zz_generated.deepcopy.go +++ b/apis/workspaces/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -70,7 +69,8 @@ func (in *DirectoryInitParameters) DeepCopyInto(out *DirectoryInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -226,7 +226,8 @@ func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -241,7 +242,8 @@ func (in *DirectoryObservation) DeepCopyInto(out *DirectoryObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -351,7 +353,8 @@ func (in *DirectoryParameters) DeepCopyInto(out *DirectoryParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -474,7 +477,8 @@ func (in *IPGroupInitParameters) DeepCopyInto(out *IPGroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -558,7 +562,8 @@ func (in *IPGroupObservation) DeepCopyInto(out *IPGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -573,7 +578,8 @@ func (in *IPGroupObservation) DeepCopyInto(out *IPGroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -625,7 +631,8 @@ func (in *IPGroupParameters) DeepCopyInto(out *IPGroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/workspaces/v1beta1/zz_generated.managed.go b/apis/workspaces/v1beta1/zz_generated.managed.go index d3952a4d2c..9e7e10d2fc 100644 --- a/apis/workspaces/v1beta1/zz_generated.managed.go +++ b/apis/workspaces/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *Directory) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Directory. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Directory) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Directory. func (mg *Directory) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *Directory) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Directory. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Directory) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Directory. func (mg *Directory) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *IPGroup) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this IPGroup. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *IPGroup) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this IPGroup. func (mg *IPGroup) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *IPGroup) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this IPGroup. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *IPGroup) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this IPGroup. func (mg *IPGroup) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/workspaces/v1beta1/zz_ipgroup_types.go b/apis/workspaces/v1beta1/zz_ipgroup_types.go index 17313fbf45..de75626918 100755 --- a/apis/workspaces/v1beta1/zz_ipgroup_types.go +++ b/apis/workspaces/v1beta1/zz_ipgroup_types.go @@ -138,7 +138,7 @@ type IPGroupStatus struct { type IPGroup struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || has(self.initProvider.name)",message="name is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.name) || (has(self.initProvider) && has(self.initProvider.name))",message="spec.forProvider.name is a required parameter" Spec IPGroupSpec `json:"spec"` Status IPGroupStatus `json:"status,omitempty"` } diff --git a/apis/xray/v1beta1/zz_encryptionconfig_types.go b/apis/xray/v1beta1/zz_encryptionconfig_types.go index bfd3e466d1..c444598798 100755 --- a/apis/xray/v1beta1/zz_encryptionconfig_types.go +++ b/apis/xray/v1beta1/zz_encryptionconfig_types.go @@ -93,7 +93,7 @@ type EncryptionConfigStatus struct { type EncryptionConfig struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || has(self.initProvider.type)",message="type is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.type) || (has(self.initProvider) && has(self.initProvider.type))",message="spec.forProvider.type is a required parameter" Spec EncryptionConfigSpec `json:"spec"` Status EncryptionConfigStatus `json:"status,omitempty"` } diff --git a/apis/xray/v1beta1/zz_generated.deepcopy.go b/apis/xray/v1beta1/zz_generated.deepcopy.go index d5aa531cb9..451189f1bc 100644 --- a/apis/xray/v1beta1/zz_generated.deepcopy.go +++ b/apis/xray/v1beta1/zz_generated.deepcopy.go @@ -1,5 +1,4 @@ //go:build !ignore_autogenerated -// +build !ignore_autogenerated /* Copyright 2022 Upbound Inc. @@ -253,7 +252,8 @@ func (in *GroupInitParameters) DeepCopyInto(out *GroupInitParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -342,7 +342,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -357,7 +358,8 @@ func (in *GroupObservation) DeepCopyInto(out *GroupObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -409,7 +411,8 @@ func (in *GroupParameters) DeepCopyInto(out *GroupParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -576,7 +579,8 @@ func (in *SamplingRuleInitParameters) DeepCopyInto(out *SamplingRuleInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -631,7 +635,8 @@ func (in *SamplingRuleInitParameters) DeepCopyInto(out *SamplingRuleInitParamete if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -708,7 +713,8 @@ func (in *SamplingRuleObservation) DeepCopyInto(out *SamplingRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -768,7 +774,8 @@ func (in *SamplingRuleObservation) DeepCopyInto(out *SamplingRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -783,7 +790,8 @@ func (in *SamplingRuleObservation) DeepCopyInto(out *SamplingRuleObservation) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -823,7 +831,8 @@ func (in *SamplingRuleParameters) DeepCopyInto(out *SamplingRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } @@ -883,7 +892,8 @@ func (in *SamplingRuleParameters) DeepCopyInto(out *SamplingRuleParameters) { if val == nil { (*out)[key] = nil } else { - in, out := &val, &outVal + inVal := (*in)[key] + in, out := &inVal, &outVal *out = new(string) **out = **in } diff --git a/apis/xray/v1beta1/zz_generated.managed.go b/apis/xray/v1beta1/zz_generated.managed.go index 787b6e2ad0..1ea7e0d7d4 100644 --- a/apis/xray/v1beta1/zz_generated.managed.go +++ b/apis/xray/v1beta1/zz_generated.managed.go @@ -27,14 +27,6 @@ func (mg *EncryptionConfig) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this EncryptionConfig. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *EncryptionConfig) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this EncryptionConfig. func (mg *EncryptionConfig) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -65,14 +57,6 @@ func (mg *EncryptionConfig) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this EncryptionConfig. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *EncryptionConfig) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this EncryptionConfig. func (mg *EncryptionConfig) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -103,14 +87,6 @@ func (mg *Group) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this Group. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *Group) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this Group. func (mg *Group) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -141,14 +117,6 @@ func (mg *Group) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this Group. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *Group) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this Group. func (mg *Group) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r @@ -179,14 +147,6 @@ func (mg *SamplingRule) GetProviderConfigReference() *xpv1.Reference { return mg.Spec.ProviderConfigReference } -/* -GetProviderReference of this SamplingRule. -Deprecated: Use GetProviderConfigReference. -*/ -func (mg *SamplingRule) GetProviderReference() *xpv1.Reference { - return mg.Spec.ProviderReference -} - // GetPublishConnectionDetailsTo of this SamplingRule. func (mg *SamplingRule) GetPublishConnectionDetailsTo() *xpv1.PublishConnectionDetailsTo { return mg.Spec.PublishConnectionDetailsTo @@ -217,14 +177,6 @@ func (mg *SamplingRule) SetProviderConfigReference(r *xpv1.Reference) { mg.Spec.ProviderConfigReference = r } -/* -SetProviderReference of this SamplingRule. -Deprecated: Use SetProviderConfigReference. -*/ -func (mg *SamplingRule) SetProviderReference(r *xpv1.Reference) { - mg.Spec.ProviderReference = r -} - // SetPublishConnectionDetailsTo of this SamplingRule. func (mg *SamplingRule) SetPublishConnectionDetailsTo(r *xpv1.PublishConnectionDetailsTo) { mg.Spec.PublishConnectionDetailsTo = r diff --git a/apis/xray/v1beta1/zz_group_types.go b/apis/xray/v1beta1/zz_group_types.go index 68db202c70..7805d5b3b2 100755 --- a/apis/xray/v1beta1/zz_group_types.go +++ b/apis/xray/v1beta1/zz_group_types.go @@ -141,8 +141,8 @@ type GroupStatus struct { type Group struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterExpression) || has(self.initProvider.filterExpression)",message="filterExpression is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupName) || has(self.initProvider.groupName)",message="groupName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.filterExpression) || (has(self.initProvider) && has(self.initProvider.filterExpression))",message="spec.forProvider.filterExpression is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.groupName) || (has(self.initProvider) && has(self.initProvider.groupName))",message="spec.forProvider.groupName is a required parameter" Spec GroupSpec `json:"spec"` Status GroupStatus `json:"status,omitempty"` } diff --git a/apis/xray/v1beta1/zz_samplingrule_types.go b/apis/xray/v1beta1/zz_samplingrule_types.go index 4543353490..04bfc115af 100755 --- a/apis/xray/v1beta1/zz_samplingrule_types.go +++ b/apis/xray/v1beta1/zz_samplingrule_types.go @@ -192,16 +192,16 @@ type SamplingRuleStatus struct { type SamplingRule struct { metav1.TypeMeta `json:",inline"` metav1.ObjectMeta `json:"metadata,omitempty"` - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fixedRate) || has(self.initProvider.fixedRate)",message="fixedRate is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.host) || has(self.initProvider.host)",message="host is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || has(self.initProvider.httpMethod)",message="httpMethod is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.priority) || has(self.initProvider.priority)",message="priority is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reservoirSize) || has(self.initProvider.reservoirSize)",message="reservoirSize is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceArn) || has(self.initProvider.resourceArn)",message="resourceArn is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || has(self.initProvider.serviceName)",message="serviceName is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceType) || has(self.initProvider.serviceType)",message="serviceType is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.urlPath) || has(self.initProvider.urlPath)",message="urlPath is a required parameter" - // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || has(self.initProvider.version)",message="version is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.fixedRate) || (has(self.initProvider) && has(self.initProvider.fixedRate))",message="spec.forProvider.fixedRate is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.host) || (has(self.initProvider) && has(self.initProvider.host))",message="spec.forProvider.host is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.httpMethod) || (has(self.initProvider) && has(self.initProvider.httpMethod))",message="spec.forProvider.httpMethod is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.priority) || (has(self.initProvider) && has(self.initProvider.priority))",message="spec.forProvider.priority is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.reservoirSize) || (has(self.initProvider) && has(self.initProvider.reservoirSize))",message="spec.forProvider.reservoirSize is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.resourceArn) || (has(self.initProvider) && has(self.initProvider.resourceArn))",message="spec.forProvider.resourceArn is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceName) || (has(self.initProvider) && has(self.initProvider.serviceName))",message="spec.forProvider.serviceName is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.serviceType) || (has(self.initProvider) && has(self.initProvider.serviceType))",message="spec.forProvider.serviceType is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.urlPath) || (has(self.initProvider) && has(self.initProvider.urlPath))",message="spec.forProvider.urlPath is a required parameter" + // +kubebuilder:validation:XValidation:rule="!('*' in self.managementPolicies || 'Create' in self.managementPolicies || 'Update' in self.managementPolicies) || has(self.forProvider.version) || (has(self.initProvider) && has(self.initProvider.version))",message="spec.forProvider.version is a required parameter" Spec SamplingRuleSpec `json:"spec"` Status SamplingRuleStatus `json:"status,omitempty"` } diff --git a/cmd/provider/accessanalyzer/zz_main.go b/cmd/provider/accessanalyzer/zz_main.go index e6f300bba9..2866a0dca5 100644 --- a/cmd/provider/accessanalyzer/zz_main.go +++ b/cmd/provider/accessanalyzer/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-accessanalyzer", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-accessanalyzer", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_accessanalyzer(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/account/zz_main.go b/cmd/provider/account/zz_main.go index 99ca58461e..c461a32ef0 100644 --- a/cmd/provider/account/zz_main.go +++ b/cmd/provider/account/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-account", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-account", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_account(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/acm/zz_main.go b/cmd/provider/acm/zz_main.go index ae01673218..28897243be 100644 --- a/cmd/provider/acm/zz_main.go +++ b/cmd/provider/acm/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-acm", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-acm", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_acm(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/acmpca/zz_main.go b/cmd/provider/acmpca/zz_main.go index 9fe7411628..a6b1f9e5ea 100644 --- a/cmd/provider/acmpca/zz_main.go +++ b/cmd/provider/acmpca/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-acmpca", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-acmpca", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_acmpca(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/amp/zz_main.go b/cmd/provider/amp/zz_main.go index e018fbebe2..3ba9ad9caa 100644 --- a/cmd/provider/amp/zz_main.go +++ b/cmd/provider/amp/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-amp", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-amp", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_amp(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/amplify/zz_main.go b/cmd/provider/amplify/zz_main.go index 73e9dbc87d..faf479f1f7 100644 --- a/cmd/provider/amplify/zz_main.go +++ b/cmd/provider/amplify/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-amplify", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-amplify", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_amplify(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/apigateway/zz_main.go b/cmd/provider/apigateway/zz_main.go index 51e063ae28..4ec508b023 100644 --- a/cmd/provider/apigateway/zz_main.go +++ b/cmd/provider/apigateway/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-apigateway", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-apigateway", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_apigateway(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/apigatewayv2/zz_main.go b/cmd/provider/apigatewayv2/zz_main.go index cb7e4b4f9d..10a12594ea 100644 --- a/cmd/provider/apigatewayv2/zz_main.go +++ b/cmd/provider/apigatewayv2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-apigatewayv2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-apigatewayv2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_apigatewayv2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appautoscaling/zz_main.go b/cmd/provider/appautoscaling/zz_main.go index 470139532a..4760c4893a 100644 --- a/cmd/provider/appautoscaling/zz_main.go +++ b/cmd/provider/appautoscaling/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appautoscaling", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appautoscaling", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appautoscaling(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appconfig/zz_main.go b/cmd/provider/appconfig/zz_main.go index 3daa4263b8..000c5fe71d 100644 --- a/cmd/provider/appconfig/zz_main.go +++ b/cmd/provider/appconfig/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appconfig", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appconfig", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appconfig(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appflow/zz_main.go b/cmd/provider/appflow/zz_main.go index 34dbfd75fb..d83a40d898 100644 --- a/cmd/provider/appflow/zz_main.go +++ b/cmd/provider/appflow/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appflow", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appflow", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appflow(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appintegrations/zz_main.go b/cmd/provider/appintegrations/zz_main.go index b91dc4351c..19411d4d7a 100644 --- a/cmd/provider/appintegrations/zz_main.go +++ b/cmd/provider/appintegrations/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appintegrations", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appintegrations", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appintegrations(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/applicationinsights/zz_main.go b/cmd/provider/applicationinsights/zz_main.go index cc7c62ca1a..e3be44f2a7 100644 --- a/cmd/provider/applicationinsights/zz_main.go +++ b/cmd/provider/applicationinsights/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-applicationinsights", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-applicationinsights", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_applicationinsights(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appmesh/zz_main.go b/cmd/provider/appmesh/zz_main.go index b07adb8e3a..e7e04512c3 100644 --- a/cmd/provider/appmesh/zz_main.go +++ b/cmd/provider/appmesh/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appmesh", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appmesh", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appmesh(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/apprunner/zz_main.go b/cmd/provider/apprunner/zz_main.go index 8d2d3d7560..13e4280470 100644 --- a/cmd/provider/apprunner/zz_main.go +++ b/cmd/provider/apprunner/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-apprunner", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-apprunner", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_apprunner(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appstream/zz_main.go b/cmd/provider/appstream/zz_main.go index c5085c9e33..a398056286 100644 --- a/cmd/provider/appstream/zz_main.go +++ b/cmd/provider/appstream/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appstream", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appstream", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appstream(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/appsync/zz_main.go b/cmd/provider/appsync/zz_main.go index 45b8fbab1e..f155a9a37e 100644 --- a/cmd/provider/appsync/zz_main.go +++ b/cmd/provider/appsync/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-appsync", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-appsync", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_appsync(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/athena/zz_main.go b/cmd/provider/athena/zz_main.go index 80f575ce0b..f58f047ee2 100644 --- a/cmd/provider/athena/zz_main.go +++ b/cmd/provider/athena/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-athena", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-athena", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_athena(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/autoscaling/zz_main.go b/cmd/provider/autoscaling/zz_main.go index cfe477960e..3a204e3ec3 100644 --- a/cmd/provider/autoscaling/zz_main.go +++ b/cmd/provider/autoscaling/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-autoscaling", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-autoscaling", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_autoscaling(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/autoscalingplans/zz_main.go b/cmd/provider/autoscalingplans/zz_main.go index 062de6b31c..fb128365d7 100644 --- a/cmd/provider/autoscalingplans/zz_main.go +++ b/cmd/provider/autoscalingplans/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-autoscalingplans", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-autoscalingplans", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_autoscalingplans(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/backup/zz_main.go b/cmd/provider/backup/zz_main.go index 5e32d0ea30..afa5f87c41 100644 --- a/cmd/provider/backup/zz_main.go +++ b/cmd/provider/backup/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-backup", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-backup", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_backup(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/batch/zz_main.go b/cmd/provider/batch/zz_main.go index 154f29e09e..e88e6c6cd7 100644 --- a/cmd/provider/batch/zz_main.go +++ b/cmd/provider/batch/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-batch", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-batch", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_batch(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/budgets/zz_main.go b/cmd/provider/budgets/zz_main.go index ad38fdd974..df2d02f33e 100644 --- a/cmd/provider/budgets/zz_main.go +++ b/cmd/provider/budgets/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-budgets", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-budgets", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_budgets(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ce/zz_main.go b/cmd/provider/ce/zz_main.go index 98230a58ac..e9fb32eebb 100644 --- a/cmd/provider/ce/zz_main.go +++ b/cmd/provider/ce/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ce", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ce", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ce(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/chime/zz_main.go b/cmd/provider/chime/zz_main.go index 96002f09ac..75a9ebfa5b 100644 --- a/cmd/provider/chime/zz_main.go +++ b/cmd/provider/chime/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-chime", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-chime", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_chime(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloud9/zz_main.go b/cmd/provider/cloud9/zz_main.go index 76d91f84d5..2b0236c2c7 100644 --- a/cmd/provider/cloud9/zz_main.go +++ b/cmd/provider/cloud9/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloud9", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloud9", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloud9(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudcontrol/zz_main.go b/cmd/provider/cloudcontrol/zz_main.go index 2255641af6..b52a7d45e5 100644 --- a/cmd/provider/cloudcontrol/zz_main.go +++ b/cmd/provider/cloudcontrol/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudcontrol", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudcontrol", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudcontrol(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudformation/zz_main.go b/cmd/provider/cloudformation/zz_main.go index 2da29558d7..c1c4b62704 100644 --- a/cmd/provider/cloudformation/zz_main.go +++ b/cmd/provider/cloudformation/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudformation", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudformation", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudformation(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudfront/zz_main.go b/cmd/provider/cloudfront/zz_main.go index b6b15d8236..3069a25640 100644 --- a/cmd/provider/cloudfront/zz_main.go +++ b/cmd/provider/cloudfront/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudfront", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudfront", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudfront(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudsearch/zz_main.go b/cmd/provider/cloudsearch/zz_main.go index fb2e27f0ca..93211c838e 100644 --- a/cmd/provider/cloudsearch/zz_main.go +++ b/cmd/provider/cloudsearch/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudsearch", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudsearch", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudsearch(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudtrail/zz_main.go b/cmd/provider/cloudtrail/zz_main.go index cc531c8c65..43b4fe254e 100644 --- a/cmd/provider/cloudtrail/zz_main.go +++ b/cmd/provider/cloudtrail/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudtrail", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudtrail", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudtrail(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudwatch/zz_main.go b/cmd/provider/cloudwatch/zz_main.go index c444be7596..ed6f026d32 100644 --- a/cmd/provider/cloudwatch/zz_main.go +++ b/cmd/provider/cloudwatch/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatch", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatch", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudwatch(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudwatchevents/zz_main.go b/cmd/provider/cloudwatchevents/zz_main.go index a835d37d9c..7166c33110 100644 --- a/cmd/provider/cloudwatchevents/zz_main.go +++ b/cmd/provider/cloudwatchevents/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatchevents", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatchevents", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudwatchevents(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cloudwatchlogs/zz_main.go b/cmd/provider/cloudwatchlogs/zz_main.go index ee03742b5b..906aad895e 100644 --- a/cmd/provider/cloudwatchlogs/zz_main.go +++ b/cmd/provider/cloudwatchlogs/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatchlogs", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cloudwatchlogs", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cloudwatchlogs(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/codecommit/zz_main.go b/cmd/provider/codecommit/zz_main.go index 67d3018e95..5ec3023374 100644 --- a/cmd/provider/codecommit/zz_main.go +++ b/cmd/provider/codecommit/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-codecommit", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-codecommit", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_codecommit(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/codepipeline/zz_main.go b/cmd/provider/codepipeline/zz_main.go index adc55d0663..0c2639b745 100644 --- a/cmd/provider/codepipeline/zz_main.go +++ b/cmd/provider/codepipeline/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-codepipeline", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-codepipeline", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_codepipeline(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/codestarconnections/zz_main.go b/cmd/provider/codestarconnections/zz_main.go index ad5f615659..743eea54ee 100644 --- a/cmd/provider/codestarconnections/zz_main.go +++ b/cmd/provider/codestarconnections/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-codestarconnections", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-codestarconnections", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_codestarconnections(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/codestarnotifications/zz_main.go b/cmd/provider/codestarnotifications/zz_main.go index 1d04e694ec..4ca1b33880 100644 --- a/cmd/provider/codestarnotifications/zz_main.go +++ b/cmd/provider/codestarnotifications/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-codestarnotifications", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-codestarnotifications", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_codestarnotifications(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cognitoidentity/zz_main.go b/cmd/provider/cognitoidentity/zz_main.go index 3f1feba794..eace6c2798 100644 --- a/cmd/provider/cognitoidentity/zz_main.go +++ b/cmd/provider/cognitoidentity/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cognitoidentity", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cognitoidentity", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cognitoidentity(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cognitoidp/zz_main.go b/cmd/provider/cognitoidp/zz_main.go index 32d04faab7..b39b45950a 100644 --- a/cmd/provider/cognitoidp/zz_main.go +++ b/cmd/provider/cognitoidp/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cognitoidp", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cognitoidp", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cognitoidp(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/config/zz_main.go b/cmd/provider/config/zz_main.go index 5bbf1c1665..fb811cadc0 100644 --- a/cmd/provider/config/zz_main.go +++ b/cmd/provider/config/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-config", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-config", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_config(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/configservice/zz_main.go b/cmd/provider/configservice/zz_main.go index ebe53f5d3c..c966d31b62 100644 --- a/cmd/provider/configservice/zz_main.go +++ b/cmd/provider/configservice/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-configservice", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-configservice", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_configservice(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/connect/zz_main.go b/cmd/provider/connect/zz_main.go index 9bd82fd307..4b0ed7fe8e 100644 --- a/cmd/provider/connect/zz_main.go +++ b/cmd/provider/connect/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-connect", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-connect", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_connect(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/cur/zz_main.go b/cmd/provider/cur/zz_main.go index fb8522f1b3..a206fcaa25 100644 --- a/cmd/provider/cur/zz_main.go +++ b/cmd/provider/cur/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-cur", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-cur", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_cur(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/dataexchange/zz_main.go b/cmd/provider/dataexchange/zz_main.go index fd7fe2bd98..f95dc48fd0 100644 --- a/cmd/provider/dataexchange/zz_main.go +++ b/cmd/provider/dataexchange/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-dataexchange", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-dataexchange", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_dataexchange(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/datapipeline/zz_main.go b/cmd/provider/datapipeline/zz_main.go index ba1dafd960..46aa71aec7 100644 --- a/cmd/provider/datapipeline/zz_main.go +++ b/cmd/provider/datapipeline/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-datapipeline", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-datapipeline", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_datapipeline(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/datasync/zz_main.go b/cmd/provider/datasync/zz_main.go index 64d216f1f9..125e0f1994 100644 --- a/cmd/provider/datasync/zz_main.go +++ b/cmd/provider/datasync/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-datasync", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-datasync", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_datasync(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/dax/zz_main.go b/cmd/provider/dax/zz_main.go index 6524c5f95b..b918a8d0a3 100644 --- a/cmd/provider/dax/zz_main.go +++ b/cmd/provider/dax/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-dax", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-dax", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_dax(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/deploy/zz_main.go b/cmd/provider/deploy/zz_main.go index f5f0977789..b2b1d8e600 100644 --- a/cmd/provider/deploy/zz_main.go +++ b/cmd/provider/deploy/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-deploy", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-deploy", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_deploy(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/detective/zz_main.go b/cmd/provider/detective/zz_main.go index 9cd6bd80d5..1e4d384df4 100644 --- a/cmd/provider/detective/zz_main.go +++ b/cmd/provider/detective/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-detective", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-detective", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_detective(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/devicefarm/zz_main.go b/cmd/provider/devicefarm/zz_main.go index 1aca7ce1d5..86dded62e4 100644 --- a/cmd/provider/devicefarm/zz_main.go +++ b/cmd/provider/devicefarm/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-devicefarm", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-devicefarm", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_devicefarm(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/directconnect/zz_main.go b/cmd/provider/directconnect/zz_main.go index f11e9f8ae8..5c80a81f37 100644 --- a/cmd/provider/directconnect/zz_main.go +++ b/cmd/provider/directconnect/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-directconnect", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-directconnect", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_directconnect(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/dlm/zz_main.go b/cmd/provider/dlm/zz_main.go index a81c0266c1..6036ffb2bc 100644 --- a/cmd/provider/dlm/zz_main.go +++ b/cmd/provider/dlm/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-dlm", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-dlm", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_dlm(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/dms/zz_main.go b/cmd/provider/dms/zz_main.go index 46e06f1900..fe119ef761 100644 --- a/cmd/provider/dms/zz_main.go +++ b/cmd/provider/dms/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-dms", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-dms", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_dms(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/docdb/zz_main.go b/cmd/provider/docdb/zz_main.go index 2e7501ebe6..43ac30650f 100644 --- a/cmd/provider/docdb/zz_main.go +++ b/cmd/provider/docdb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-docdb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-docdb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_docdb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ds/zz_main.go b/cmd/provider/ds/zz_main.go index 7001130703..3fd5007e7c 100644 --- a/cmd/provider/ds/zz_main.go +++ b/cmd/provider/ds/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ds", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ds", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ds(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/dynamodb/zz_main.go b/cmd/provider/dynamodb/zz_main.go index 69407e1430..f8e25e5d1b 100644 --- a/cmd/provider/dynamodb/zz_main.go +++ b/cmd/provider/dynamodb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-dynamodb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-dynamodb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_dynamodb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ec2/zz_main.go b/cmd/provider/ec2/zz_main.go index 3e8888de1f..599fed04d7 100644 --- a/cmd/provider/ec2/zz_main.go +++ b/cmd/provider/ec2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ec2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ec2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ec2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ecr/zz_main.go b/cmd/provider/ecr/zz_main.go index aa32fa850d..fc602ddb68 100644 --- a/cmd/provider/ecr/zz_main.go +++ b/cmd/provider/ecr/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ecr", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ecr", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ecr(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ecrpublic/zz_main.go b/cmd/provider/ecrpublic/zz_main.go index 219e62da90..fae19a00ce 100644 --- a/cmd/provider/ecrpublic/zz_main.go +++ b/cmd/provider/ecrpublic/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ecrpublic", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ecrpublic", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ecrpublic(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ecs/zz_main.go b/cmd/provider/ecs/zz_main.go index e793ec9e32..d63c7c100e 100644 --- a/cmd/provider/ecs/zz_main.go +++ b/cmd/provider/ecs/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ecs", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ecs", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ecs(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/efs/zz_main.go b/cmd/provider/efs/zz_main.go index 4fe6f9ff1e..dec9c45082 100644 --- a/cmd/provider/efs/zz_main.go +++ b/cmd/provider/efs/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-efs", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-efs", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_efs(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/eks/zz_main.go b/cmd/provider/eks/zz_main.go index 2b8561a214..e427abd1e5 100644 --- a/cmd/provider/eks/zz_main.go +++ b/cmd/provider/eks/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-eks", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-eks", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_eks(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elasticache/zz_main.go b/cmd/provider/elasticache/zz_main.go index 25e3d02ade..022552573a 100644 --- a/cmd/provider/elasticache/zz_main.go +++ b/cmd/provider/elasticache/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elasticache", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elasticache", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elasticache(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elasticbeanstalk/zz_main.go b/cmd/provider/elasticbeanstalk/zz_main.go index fdbdf3ca91..c5aac3632c 100644 --- a/cmd/provider/elasticbeanstalk/zz_main.go +++ b/cmd/provider/elasticbeanstalk/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elasticbeanstalk", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elasticbeanstalk", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elasticbeanstalk(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elasticsearch/zz_main.go b/cmd/provider/elasticsearch/zz_main.go index 251817ce91..e4cf82c40f 100644 --- a/cmd/provider/elasticsearch/zz_main.go +++ b/cmd/provider/elasticsearch/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elasticsearch", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elasticsearch", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elasticsearch(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elastictranscoder/zz_main.go b/cmd/provider/elastictranscoder/zz_main.go index 9998ea6c27..fdd71cfd1a 100644 --- a/cmd/provider/elastictranscoder/zz_main.go +++ b/cmd/provider/elastictranscoder/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elastictranscoder", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elastictranscoder", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elastictranscoder(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elb/zz_main.go b/cmd/provider/elb/zz_main.go index eb7449aad5..12891976c4 100644 --- a/cmd/provider/elb/zz_main.go +++ b/cmd/provider/elb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/elbv2/zz_main.go b/cmd/provider/elbv2/zz_main.go index e8bc384ae3..32ef5c9d67 100644 --- a/cmd/provider/elbv2/zz_main.go +++ b/cmd/provider/elbv2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-elbv2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-elbv2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_elbv2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/emr/zz_main.go b/cmd/provider/emr/zz_main.go index 9905d17408..19db9394fe 100644 --- a/cmd/provider/emr/zz_main.go +++ b/cmd/provider/emr/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-emr", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-emr", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_emr(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/emrserverless/zz_main.go b/cmd/provider/emrserverless/zz_main.go index 8c4901f09d..a762458dd8 100644 --- a/cmd/provider/emrserverless/zz_main.go +++ b/cmd/provider/emrserverless/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-emrserverless", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-emrserverless", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_emrserverless(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/evidently/zz_main.go b/cmd/provider/evidently/zz_main.go index be5da8dcbc..2d130fc475 100644 --- a/cmd/provider/evidently/zz_main.go +++ b/cmd/provider/evidently/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-evidently", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-evidently", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_evidently(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/firehose/zz_main.go b/cmd/provider/firehose/zz_main.go index ea653a23f2..9b7fade32d 100644 --- a/cmd/provider/firehose/zz_main.go +++ b/cmd/provider/firehose/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-firehose", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-firehose", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_firehose(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/fis/zz_main.go b/cmd/provider/fis/zz_main.go index d45eb8886c..842382b6f5 100644 --- a/cmd/provider/fis/zz_main.go +++ b/cmd/provider/fis/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-fis", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-fis", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_fis(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/fsx/zz_main.go b/cmd/provider/fsx/zz_main.go index 52c06d8b7e..aa2714f9b3 100644 --- a/cmd/provider/fsx/zz_main.go +++ b/cmd/provider/fsx/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-fsx", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-fsx", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_fsx(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/gamelift/zz_main.go b/cmd/provider/gamelift/zz_main.go index 26ec8700c3..b9a7a24ca9 100644 --- a/cmd/provider/gamelift/zz_main.go +++ b/cmd/provider/gamelift/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-gamelift", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-gamelift", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_gamelift(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/glacier/zz_main.go b/cmd/provider/glacier/zz_main.go index 3c64d43acb..c0fb5e850f 100644 --- a/cmd/provider/glacier/zz_main.go +++ b/cmd/provider/glacier/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-glacier", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-glacier", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_glacier(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/globalaccelerator/zz_main.go b/cmd/provider/globalaccelerator/zz_main.go index 1e18a177cd..f6d7a608dc 100644 --- a/cmd/provider/globalaccelerator/zz_main.go +++ b/cmd/provider/globalaccelerator/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-globalaccelerator", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-globalaccelerator", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_globalaccelerator(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/glue/zz_main.go b/cmd/provider/glue/zz_main.go index 1605f430c3..d2dc837e79 100644 --- a/cmd/provider/glue/zz_main.go +++ b/cmd/provider/glue/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-glue", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-glue", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_glue(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/grafana/zz_main.go b/cmd/provider/grafana/zz_main.go index b6561d0857..fe368c9fc4 100644 --- a/cmd/provider/grafana/zz_main.go +++ b/cmd/provider/grafana/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-grafana", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-grafana", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_grafana(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/guardduty/zz_main.go b/cmd/provider/guardduty/zz_main.go index 231d989ba7..bc6d9ce33a 100644 --- a/cmd/provider/guardduty/zz_main.go +++ b/cmd/provider/guardduty/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-guardduty", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-guardduty", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_guardduty(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/iam/zz_main.go b/cmd/provider/iam/zz_main.go index 34fcf806a5..a735a4f2ba 100644 --- a/cmd/provider/iam/zz_main.go +++ b/cmd/provider/iam/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-iam", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-iam", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_iam(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/imagebuilder/zz_main.go b/cmd/provider/imagebuilder/zz_main.go index c78ad274fa..d889aee35c 100644 --- a/cmd/provider/imagebuilder/zz_main.go +++ b/cmd/provider/imagebuilder/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-imagebuilder", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-imagebuilder", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_imagebuilder(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/inspector/zz_main.go b/cmd/provider/inspector/zz_main.go index 2acecfbe21..082bacb899 100644 --- a/cmd/provider/inspector/zz_main.go +++ b/cmd/provider/inspector/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-inspector", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-inspector", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_inspector(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/inspector2/zz_main.go b/cmd/provider/inspector2/zz_main.go index b067a2d625..f45c52545e 100644 --- a/cmd/provider/inspector2/zz_main.go +++ b/cmd/provider/inspector2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-inspector2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-inspector2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_inspector2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/iot/zz_main.go b/cmd/provider/iot/zz_main.go index 8082bffb74..c131334ba4 100644 --- a/cmd/provider/iot/zz_main.go +++ b/cmd/provider/iot/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-iot", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-iot", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_iot(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ivs/zz_main.go b/cmd/provider/ivs/zz_main.go index ec9c708325..1571c6e5db 100644 --- a/cmd/provider/ivs/zz_main.go +++ b/cmd/provider/ivs/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ivs", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ivs", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ivs(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kafka/zz_main.go b/cmd/provider/kafka/zz_main.go index 2e7418c5e3..3baf42b544 100644 --- a/cmd/provider/kafka/zz_main.go +++ b/cmd/provider/kafka/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kafka", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kafka", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kafka(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kendra/zz_main.go b/cmd/provider/kendra/zz_main.go index cb89aa366c..5e9760afe9 100644 --- a/cmd/provider/kendra/zz_main.go +++ b/cmd/provider/kendra/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kendra", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kendra", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kendra(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/keyspaces/zz_main.go b/cmd/provider/keyspaces/zz_main.go index 4bceb17bb8..1ce88e4e5b 100644 --- a/cmd/provider/keyspaces/zz_main.go +++ b/cmd/provider/keyspaces/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-keyspaces", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-keyspaces", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_keyspaces(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kinesis/zz_main.go b/cmd/provider/kinesis/zz_main.go index 0e673faa73..0c21299970 100644 --- a/cmd/provider/kinesis/zz_main.go +++ b/cmd/provider/kinesis/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kinesis", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kinesis", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kinesis(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kinesisanalytics/zz_main.go b/cmd/provider/kinesisanalytics/zz_main.go index 1443d1912b..b7509b2010 100644 --- a/cmd/provider/kinesisanalytics/zz_main.go +++ b/cmd/provider/kinesisanalytics/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisanalytics", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisanalytics", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kinesisanalytics(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kinesisanalyticsv2/zz_main.go b/cmd/provider/kinesisanalyticsv2/zz_main.go index 7e2c569fa2..a72786a4db 100644 --- a/cmd/provider/kinesisanalyticsv2/zz_main.go +++ b/cmd/provider/kinesisanalyticsv2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisanalyticsv2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisanalyticsv2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kinesisanalyticsv2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kinesisvideo/zz_main.go b/cmd/provider/kinesisvideo/zz_main.go index 64d707ac29..66d6bdde56 100644 --- a/cmd/provider/kinesisvideo/zz_main.go +++ b/cmd/provider/kinesisvideo/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisvideo", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kinesisvideo", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kinesisvideo(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/kms/zz_main.go b/cmd/provider/kms/zz_main.go index 3880f8f689..172bcb699e 100644 --- a/cmd/provider/kms/zz_main.go +++ b/cmd/provider/kms/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-kms", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-kms", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_kms(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/lakeformation/zz_main.go b/cmd/provider/lakeformation/zz_main.go index b130d9ce6a..f3ee6fe877 100644 --- a/cmd/provider/lakeformation/zz_main.go +++ b/cmd/provider/lakeformation/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-lakeformation", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-lakeformation", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_lakeformation(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/lambda/zz_main.go b/cmd/provider/lambda/zz_main.go index f7f4080322..6c456a9045 100644 --- a/cmd/provider/lambda/zz_main.go +++ b/cmd/provider/lambda/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-lambda", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-lambda", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_lambda(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/lexmodels/zz_main.go b/cmd/provider/lexmodels/zz_main.go index 24e58b4a5d..c4c83c8166 100644 --- a/cmd/provider/lexmodels/zz_main.go +++ b/cmd/provider/lexmodels/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-lexmodels", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-lexmodels", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_lexmodels(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/licensemanager/zz_main.go b/cmd/provider/licensemanager/zz_main.go index 47f95e37ad..3927a3a27b 100644 --- a/cmd/provider/licensemanager/zz_main.go +++ b/cmd/provider/licensemanager/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-licensemanager", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-licensemanager", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_licensemanager(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/lightsail/zz_main.go b/cmd/provider/lightsail/zz_main.go index 1641ad4449..3f902e1b00 100644 --- a/cmd/provider/lightsail/zz_main.go +++ b/cmd/provider/lightsail/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-lightsail", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-lightsail", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_lightsail(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/location/zz_main.go b/cmd/provider/location/zz_main.go index fc7201fa32..368bd5c6ae 100644 --- a/cmd/provider/location/zz_main.go +++ b/cmd/provider/location/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-location", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-location", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_location(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/macie2/zz_main.go b/cmd/provider/macie2/zz_main.go index 57d715fece..1c229d3172 100644 --- a/cmd/provider/macie2/zz_main.go +++ b/cmd/provider/macie2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-macie2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-macie2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_macie2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/mediaconvert/zz_main.go b/cmd/provider/mediaconvert/zz_main.go index 59a2b74a88..ec980a571d 100644 --- a/cmd/provider/mediaconvert/zz_main.go +++ b/cmd/provider/mediaconvert/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-mediaconvert", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-mediaconvert", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_mediaconvert(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/medialive/zz_main.go b/cmd/provider/medialive/zz_main.go index dc71a05cd6..d688f3a8e8 100644 --- a/cmd/provider/medialive/zz_main.go +++ b/cmd/provider/medialive/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-medialive", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-medialive", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_medialive(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/mediapackage/zz_main.go b/cmd/provider/mediapackage/zz_main.go index 5fd2a49cac..64440ac934 100644 --- a/cmd/provider/mediapackage/zz_main.go +++ b/cmd/provider/mediapackage/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-mediapackage", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-mediapackage", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_mediapackage(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/mediastore/zz_main.go b/cmd/provider/mediastore/zz_main.go index cb4c7d049c..feab6a465c 100644 --- a/cmd/provider/mediastore/zz_main.go +++ b/cmd/provider/mediastore/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-mediastore", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-mediastore", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_mediastore(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/memorydb/zz_main.go b/cmd/provider/memorydb/zz_main.go index b62a05f19b..4c1addff52 100644 --- a/cmd/provider/memorydb/zz_main.go +++ b/cmd/provider/memorydb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-memorydb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-memorydb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_memorydb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/monolith/zz_main.go b/cmd/provider/monolith/zz_main.go index eac3fd966d..14401039e6 100644 --- a/cmd/provider/monolith/zz_main.go +++ b/cmd/provider/monolith/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_monolith(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/mq/zz_main.go b/cmd/provider/mq/zz_main.go index c35c88ece1..2e3b2403f5 100644 --- a/cmd/provider/mq/zz_main.go +++ b/cmd/provider/mq/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-mq", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-mq", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_mq(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/neptune/zz_main.go b/cmd/provider/neptune/zz_main.go index ef81113f10..022f7301a2 100644 --- a/cmd/provider/neptune/zz_main.go +++ b/cmd/provider/neptune/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-neptune", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-neptune", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_neptune(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/networkfirewall/zz_main.go b/cmd/provider/networkfirewall/zz_main.go index 7c80ffd3a5..fecbd1d0f2 100644 --- a/cmd/provider/networkfirewall/zz_main.go +++ b/cmd/provider/networkfirewall/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-networkfirewall", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-networkfirewall", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_networkfirewall(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/networkmanager/zz_main.go b/cmd/provider/networkmanager/zz_main.go index 9b33ba7dac..5b67e298d4 100644 --- a/cmd/provider/networkmanager/zz_main.go +++ b/cmd/provider/networkmanager/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-networkmanager", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-networkmanager", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_networkmanager(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/opensearch/zz_main.go b/cmd/provider/opensearch/zz_main.go index b7502c313a..6999bb15bc 100644 --- a/cmd/provider/opensearch/zz_main.go +++ b/cmd/provider/opensearch/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-opensearch", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-opensearch", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_opensearch(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/opsworks/zz_main.go b/cmd/provider/opsworks/zz_main.go index f9fac338cc..2e4bd9f22b 100644 --- a/cmd/provider/opsworks/zz_main.go +++ b/cmd/provider/opsworks/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-opsworks", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-opsworks", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_opsworks(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/organizations/zz_main.go b/cmd/provider/organizations/zz_main.go index 9ecee3fae0..cfdbb48065 100644 --- a/cmd/provider/organizations/zz_main.go +++ b/cmd/provider/organizations/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-organizations", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-organizations", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_organizations(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/pinpoint/zz_main.go b/cmd/provider/pinpoint/zz_main.go index 4c7a8f79ee..b64ec33d5b 100644 --- a/cmd/provider/pinpoint/zz_main.go +++ b/cmd/provider/pinpoint/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-pinpoint", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-pinpoint", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_pinpoint(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/qldb/zz_main.go b/cmd/provider/qldb/zz_main.go index d14f4774a5..fbee5f38fc 100644 --- a/cmd/provider/qldb/zz_main.go +++ b/cmd/provider/qldb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-qldb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-qldb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_qldb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/quicksight/zz_main.go b/cmd/provider/quicksight/zz_main.go index e0dac9c79b..b3a9aba418 100644 --- a/cmd/provider/quicksight/zz_main.go +++ b/cmd/provider/quicksight/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-quicksight", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-quicksight", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_quicksight(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ram/zz_main.go b/cmd/provider/ram/zz_main.go index bb3d6a1359..f62ceac8af 100644 --- a/cmd/provider/ram/zz_main.go +++ b/cmd/provider/ram/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ram", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ram", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ram(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/rds/zz_main.go b/cmd/provider/rds/zz_main.go index 220c0cc6f6..715dd4e1b6 100644 --- a/cmd/provider/rds/zz_main.go +++ b/cmd/provider/rds/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-rds", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-rds", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_rds(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/redshift/zz_main.go b/cmd/provider/redshift/zz_main.go index 509ba351ca..e3ae6f2ff0 100644 --- a/cmd/provider/redshift/zz_main.go +++ b/cmd/provider/redshift/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-redshift", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-redshift", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_redshift(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/redshiftserverless/zz_main.go b/cmd/provider/redshiftserverless/zz_main.go index 5f7328bcc7..22f07124b8 100644 --- a/cmd/provider/redshiftserverless/zz_main.go +++ b/cmd/provider/redshiftserverless/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-redshiftserverless", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-redshiftserverless", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_redshiftserverless(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/resourcegroups/zz_main.go b/cmd/provider/resourcegroups/zz_main.go index dfb3a5d9da..378019b927 100644 --- a/cmd/provider/resourcegroups/zz_main.go +++ b/cmd/provider/resourcegroups/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-resourcegroups", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-resourcegroups", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_resourcegroups(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/rolesanywhere/zz_main.go b/cmd/provider/rolesanywhere/zz_main.go index 20eaeb422c..9e128f7b84 100644 --- a/cmd/provider/rolesanywhere/zz_main.go +++ b/cmd/provider/rolesanywhere/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-rolesanywhere", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-rolesanywhere", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_rolesanywhere(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/route53/zz_main.go b/cmd/provider/route53/zz_main.go index fffcddf1ca..5d0c5ae230 100644 --- a/cmd/provider/route53/zz_main.go +++ b/cmd/provider/route53/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-route53", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-route53", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_route53(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/route53recoverycontrolconfig/zz_main.go b/cmd/provider/route53recoverycontrolconfig/zz_main.go index f06cbf261d..d7ae6b2be2 100644 --- a/cmd/provider/route53recoverycontrolconfig/zz_main.go +++ b/cmd/provider/route53recoverycontrolconfig/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-route53recoverycontrolconfig", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-route53recoverycontrolconfig", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_route53recoverycontrolconfig(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/route53recoveryreadiness/zz_main.go b/cmd/provider/route53recoveryreadiness/zz_main.go index 167a4a6b86..534e8e3e31 100644 --- a/cmd/provider/route53recoveryreadiness/zz_main.go +++ b/cmd/provider/route53recoveryreadiness/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-route53recoveryreadiness", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-route53recoveryreadiness", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_route53recoveryreadiness(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/route53resolver/zz_main.go b/cmd/provider/route53resolver/zz_main.go index 3a9d2af733..3935dd6f37 100644 --- a/cmd/provider/route53resolver/zz_main.go +++ b/cmd/provider/route53resolver/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-route53resolver", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-route53resolver", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_route53resolver(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/rum/zz_main.go b/cmd/provider/rum/zz_main.go index 82c19028ff..6079feec52 100644 --- a/cmd/provider/rum/zz_main.go +++ b/cmd/provider/rum/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-rum", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-rum", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_rum(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/s3/zz_main.go b/cmd/provider/s3/zz_main.go index 2170d59f0d..4496b8c0a1 100644 --- a/cmd/provider/s3/zz_main.go +++ b/cmd/provider/s3/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-s3", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-s3", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_s3(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/s3control/zz_main.go b/cmd/provider/s3control/zz_main.go index 8880401879..0080e28a70 100644 --- a/cmd/provider/s3control/zz_main.go +++ b/cmd/provider/s3control/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-s3control", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-s3control", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_s3control(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/sagemaker/zz_main.go b/cmd/provider/sagemaker/zz_main.go index ff14e1d387..f3c96f6b53 100644 --- a/cmd/provider/sagemaker/zz_main.go +++ b/cmd/provider/sagemaker/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-sagemaker", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-sagemaker", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_sagemaker(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/scheduler/zz_main.go b/cmd/provider/scheduler/zz_main.go index 3aa41ae3a1..7eaf46906a 100644 --- a/cmd/provider/scheduler/zz_main.go +++ b/cmd/provider/scheduler/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-scheduler", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-scheduler", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_scheduler(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/schemas/zz_main.go b/cmd/provider/schemas/zz_main.go index 078a08b147..090577028e 100644 --- a/cmd/provider/schemas/zz_main.go +++ b/cmd/provider/schemas/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-schemas", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-schemas", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_schemas(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/secretsmanager/zz_main.go b/cmd/provider/secretsmanager/zz_main.go index 48ee9a5c6b..f5f53f5f7e 100644 --- a/cmd/provider/secretsmanager/zz_main.go +++ b/cmd/provider/secretsmanager/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-secretsmanager", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-secretsmanager", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_secretsmanager(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/securityhub/zz_main.go b/cmd/provider/securityhub/zz_main.go index f074ec43b0..b718e3b2ee 100644 --- a/cmd/provider/securityhub/zz_main.go +++ b/cmd/provider/securityhub/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-securityhub", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-securityhub", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_securityhub(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/serverlessrepo/zz_main.go b/cmd/provider/serverlessrepo/zz_main.go index 355cc4565b..dd2bc07e79 100644 --- a/cmd/provider/serverlessrepo/zz_main.go +++ b/cmd/provider/serverlessrepo/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-serverlessrepo", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-serverlessrepo", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_serverlessrepo(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/servicecatalog/zz_main.go b/cmd/provider/servicecatalog/zz_main.go index c4f68d4ae2..8a8310763e 100644 --- a/cmd/provider/servicecatalog/zz_main.go +++ b/cmd/provider/servicecatalog/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-servicecatalog", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-servicecatalog", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_servicecatalog(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/servicediscovery/zz_main.go b/cmd/provider/servicediscovery/zz_main.go index 77edd14fb5..1918b1ae11 100644 --- a/cmd/provider/servicediscovery/zz_main.go +++ b/cmd/provider/servicediscovery/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-servicediscovery", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-servicediscovery", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_servicediscovery(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/servicequotas/zz_main.go b/cmd/provider/servicequotas/zz_main.go index a9f0d0f36f..65901187b2 100644 --- a/cmd/provider/servicequotas/zz_main.go +++ b/cmd/provider/servicequotas/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-servicequotas", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-servicequotas", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_servicequotas(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ses/zz_main.go b/cmd/provider/ses/zz_main.go index 7c2c5cb683..fbdd390fbd 100644 --- a/cmd/provider/ses/zz_main.go +++ b/cmd/provider/ses/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ses", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ses", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ses(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/sesv2/zz_main.go b/cmd/provider/sesv2/zz_main.go index 246ac9657f..7f4e9d3506 100644 --- a/cmd/provider/sesv2/zz_main.go +++ b/cmd/provider/sesv2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-sesv2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-sesv2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_sesv2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/sfn/zz_main.go b/cmd/provider/sfn/zz_main.go index 0faaa4399b..61a33df12a 100644 --- a/cmd/provider/sfn/zz_main.go +++ b/cmd/provider/sfn/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-sfn", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-sfn", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_sfn(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/signer/zz_main.go b/cmd/provider/signer/zz_main.go index 206377efa7..3bf54f4006 100644 --- a/cmd/provider/signer/zz_main.go +++ b/cmd/provider/signer/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-signer", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-signer", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_signer(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/simpledb/zz_main.go b/cmd/provider/simpledb/zz_main.go index c4103704df..262623adde 100644 --- a/cmd/provider/simpledb/zz_main.go +++ b/cmd/provider/simpledb/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-simpledb", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-simpledb", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_simpledb(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/sns/zz_main.go b/cmd/provider/sns/zz_main.go index cacee1a465..2ebf3e2233 100644 --- a/cmd/provider/sns/zz_main.go +++ b/cmd/provider/sns/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-sns", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-sns", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_sns(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/sqs/zz_main.go b/cmd/provider/sqs/zz_main.go index 676d83d0ea..89af79fa29 100644 --- a/cmd/provider/sqs/zz_main.go +++ b/cmd/provider/sqs/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-sqs", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-sqs", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_sqs(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ssm/zz_main.go b/cmd/provider/ssm/zz_main.go index 933aca2ed8..9920fa6b94 100644 --- a/cmd/provider/ssm/zz_main.go +++ b/cmd/provider/ssm/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ssm", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ssm", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ssm(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/ssoadmin/zz_main.go b/cmd/provider/ssoadmin/zz_main.go index 181daafbd4..4ef9aa95cf 100644 --- a/cmd/provider/ssoadmin/zz_main.go +++ b/cmd/provider/ssoadmin/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-ssoadmin", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-ssoadmin", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_ssoadmin(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/swf/zz_main.go b/cmd/provider/swf/zz_main.go index 96b73d8c7d..3121c59f48 100644 --- a/cmd/provider/swf/zz_main.go +++ b/cmd/provider/swf/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-swf", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-swf", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_swf(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/timestreamwrite/zz_main.go b/cmd/provider/timestreamwrite/zz_main.go index aa947fb7a9..b28cdde45d 100644 --- a/cmd/provider/timestreamwrite/zz_main.go +++ b/cmd/provider/timestreamwrite/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-timestreamwrite", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-timestreamwrite", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_timestreamwrite(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/transcribe/zz_main.go b/cmd/provider/transcribe/zz_main.go index abbe60967a..f292ea535f 100644 --- a/cmd/provider/transcribe/zz_main.go +++ b/cmd/provider/transcribe/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-transcribe", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-transcribe", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_transcribe(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/transfer/zz_main.go b/cmd/provider/transfer/zz_main.go index da397aebf8..8b8870cd40 100644 --- a/cmd/provider/transfer/zz_main.go +++ b/cmd/provider/transfer/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-transfer", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-transfer", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_transfer(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/vpc/zz_main.go b/cmd/provider/vpc/zz_main.go index 58000c3595..695fc27b95 100644 --- a/cmd/provider/vpc/zz_main.go +++ b/cmd/provider/vpc/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-vpc", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-vpc", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_vpc(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/waf/zz_main.go b/cmd/provider/waf/zz_main.go index 38029ab8ac..18b70f9023 100644 --- a/cmd/provider/waf/zz_main.go +++ b/cmd/provider/waf/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-waf", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-waf", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_waf(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/wafregional/zz_main.go b/cmd/provider/wafregional/zz_main.go index 14f400dc43..b796b34a8b 100644 --- a/cmd/provider/wafregional/zz_main.go +++ b/cmd/provider/wafregional/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-wafregional", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-wafregional", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_wafregional(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/wafv2/zz_main.go b/cmd/provider/wafv2/zz_main.go index 7a7a46ee3e..7ba110886d 100644 --- a/cmd/provider/wafv2/zz_main.go +++ b/cmd/provider/wafv2/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-wafv2", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-wafv2", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_wafv2(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/workspaces/zz_main.go b/cmd/provider/workspaces/zz_main.go index 6855a06406..3c2963031f 100644 --- a/cmd/provider/workspaces/zz_main.go +++ b/cmd/provider/workspaces/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-workspaces", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-workspaces", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_workspaces(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/cmd/provider/xray/zz_main.go b/cmd/provider/xray/zz_main.go index c3094ed1e8..8678b1a82d 100644 --- a/cmd/provider/xray/zz_main.go +++ b/cmd/provider/xray/zz_main.go @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws-xray", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws-xray", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_xray(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/go.mod b/go.mod index aff0b3764b..ca62ef2d06 100644 --- a/go.mod +++ b/go.mod @@ -9,20 +9,20 @@ require ( github.com/aws/aws-sdk-go-v2/service/eks v1.22.0 github.com/aws/aws-sdk-go-v2/service/sts v1.9.0 github.com/aws/smithy-go v1.13.3 - github.com/crossplane/crossplane-runtime v0.20.0 - github.com/crossplane/crossplane-tools v0.0.0-20230714144037-2684f4bc7638 + github.com/crossplane/crossplane-runtime v1.14.0-rc.0.0.20230912122805-43c9ceeb2071 + github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 github.com/go-ini/ini v1.46.0 github.com/google/go-cmp v0.5.9 github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0 github.com/pkg/errors v0.9.1 - github.com/upbound/upjet v0.10.0 + github.com/upbound/upjet v0.11.0-rc.0.0.20230927185952-cc55f3952474 gopkg.in/alecthomas/kingpin.v2 v2.2.6 k8s.io/api v0.28.1 k8s.io/apimachinery v0.28.1 k8s.io/client-go v0.28.1 k8s.io/utils v0.0.0-20230505201702-9f6742963106 - sigs.k8s.io/controller-runtime v0.15.0 - sigs.k8s.io/controller-tools v0.12.1 + sigs.k8s.io/controller-runtime v0.16.1 + sigs.k8s.io/controller-tools v0.13.0 ) require ( @@ -40,7 +40,6 @@ require ( github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.5.0 // indirect github.com/aws/aws-sdk-go-v2/service/sso v1.6.0 // indirect github.com/beorn7/perks v1.0.1 // indirect - github.com/cenkalti/backoff/v3 v3.0.0 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect github.com/dave/jennifer v1.4.1 // indirect github.com/davecgh/go-spew v1.1.1 // indirect @@ -49,7 +48,6 @@ require ( github.com/fatih/camelcase v1.0.0 // indirect github.com/fatih/color v1.15.0 // indirect github.com/fsnotify/fsnotify v1.6.0 // indirect - github.com/go-jose/go-jose/v3 v3.0.0 // indirect github.com/go-logr/logr v1.2.4 // indirect github.com/go-logr/zapr v1.2.4 // indirect github.com/go-openapi/jsonpointer v0.19.6 // indirect @@ -64,24 +62,16 @@ require ( github.com/google/gofuzz v1.2.0 // indirect github.com/google/uuid v1.3.0 // indirect github.com/hashicorp/errwrap v1.1.0 // indirect - github.com/hashicorp/go-cleanhttp v0.5.2 // indirect github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 // indirect github.com/hashicorp/go-hclog v1.2.1 // indirect github.com/hashicorp/go-multierror v1.1.1 // indirect - github.com/hashicorp/go-retryablehttp v0.7.1 // indirect - github.com/hashicorp/go-rootcerts v1.0.2 // indirect - github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 // indirect - github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect - github.com/hashicorp/go-sockaddr v1.0.2 // indirect github.com/hashicorp/go-uuid v1.0.3 // indirect github.com/hashicorp/go-version v1.6.0 // indirect - github.com/hashicorp/hcl v1.0.0 // indirect github.com/hashicorp/hcl/v2 v2.14.1 // indirect github.com/hashicorp/logutils v1.0.0 // indirect github.com/hashicorp/terraform-json v0.14.0 // indirect github.com/hashicorp/terraform-plugin-go v0.14.0 // indirect github.com/hashicorp/terraform-plugin-log v0.7.0 // indirect - github.com/hashicorp/vault/api v1.9.2 // indirect github.com/iancoleman/strcase v0.2.0 // indirect github.com/imdario/mergo v0.3.16 // indirect github.com/inconshreveable/mousetrap v1.1.0 // indirect @@ -93,7 +83,6 @@ require ( github.com/mattn/go-isatty v0.0.17 // indirect github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect github.com/mitchellh/copystructure v1.2.0 // indirect - github.com/mitchellh/go-homedir v1.1.0 // indirect github.com/mitchellh/go-ps v1.0.0 // indirect github.com/mitchellh/go-testing-interface v1.14.1 // indirect github.com/mitchellh/go-wordwrap v1.0.1 // indirect @@ -103,11 +92,10 @@ require ( github.com/modern-go/reflect2 v1.0.2 // indirect github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect github.com/muvaf/typewriter v0.0.0-20210910160850-80e49fe1eb32 // indirect - github.com/prometheus/client_golang v1.15.1 // indirect + github.com/prometheus/client_golang v1.16.0 // indirect github.com/prometheus/client_model v0.4.0 // indirect github.com/prometheus/common v0.44.0 // indirect - github.com/prometheus/procfs v0.10.0 // indirect - github.com/ryanuber/go-glob v1.0.0 // indirect + github.com/prometheus/procfs v0.10.1 // indirect github.com/smartystreets/goconvey v1.7.2 // indirect github.com/spf13/afero v1.9.5 // indirect github.com/spf13/cobra v1.7.0 // indirect @@ -118,29 +106,28 @@ require ( github.com/vmihailenco/tagparser v0.1.1 // indirect github.com/yuin/goldmark v1.4.13 // indirect github.com/zclconf/go-cty v1.11.0 // indirect - go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect - go.uber.org/zap v1.24.0 // indirect - golang.org/x/crypto v0.11.0 // indirect + go.uber.org/zap v1.25.0 // indirect + golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1 // indirect golang.org/x/mod v0.12.0 // indirect - golang.org/x/net v0.13.0 // indirect - golang.org/x/oauth2 v0.8.0 // indirect - golang.org/x/sys v0.10.0 // indirect - golang.org/x/term v0.10.0 // indirect - golang.org/x/text v0.11.0 // indirect + golang.org/x/net v0.14.0 // indirect + golang.org/x/oauth2 v0.10.0 // indirect + golang.org/x/sys v0.11.0 // indirect + golang.org/x/term v0.11.0 // indirect + golang.org/x/text v0.12.0 // indirect golang.org/x/time v0.3.0 // indirect - golang.org/x/tools v0.11.0 // indirect - gomodules.xyz/jsonpatch/v2 v2.3.0 // indirect + golang.org/x/tools v0.12.0 // indirect + gomodules.xyz/jsonpatch/v2 v2.4.0 // indirect google.golang.org/appengine v1.6.7 // indirect - google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 // indirect - google.golang.org/grpc v1.56.2 // indirect + google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect + google.golang.org/grpc v1.58.0 // indirect google.golang.org/protobuf v1.31.0 // indirect gopkg.in/inf.v0 v0.9.1 // indirect gopkg.in/ini.v1 v1.62.0 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - k8s.io/apiextensions-apiserver v0.27.3 // indirect - k8s.io/component-base v0.27.3 // indirect + k8s.io/apiextensions-apiserver v0.28.1 // indirect + k8s.io/component-base v0.28.1 // indirect k8s.io/klog/v2 v2.100.1 // indirect k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 // indirect sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd // indirect diff --git a/go.sum b/go.sum index 010db7f600..a4bfa1b197 100644 --- a/go.sum +++ b/go.sum @@ -58,7 +58,6 @@ github.com/apparentlymart/go-textseg v1.0.0/go.mod h1:z96Txxhf3xSFMPmb5X/1W05FF/ github.com/apparentlymart/go-textseg/v12 v12.0.0/go.mod h1:S/4uRK2UtaQttw1GenVJEynmyUenKwP++x/+DdGV/Ec= github.com/apparentlymart/go-textseg/v13 v13.0.0 h1:Y+KvPE1NYz0xl601PVImeQfFyEy6iT90AvPUL1NNfNw= github.com/apparentlymart/go-textseg/v13 v13.0.0/go.mod h1:ZK2fH7c4NqDTLtiYLvIkEghdlcqw7yxLeM89kiTRPUo= -github.com/armon/go-radix v0.0.0-20180808171621-7fddfc383310/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgIH9cCH8= github.com/aws/aws-sdk-go-v2 v1.11.0/go.mod h1:SQfA+m2ltnu1cA0soUkj4dRSsmITiVQUJvBIZjzfPyQ= github.com/aws/aws-sdk-go-v2 v1.16.15 h1:2sInOWGE4HV54R90Pj8QgqBBw3Qf1I0husqbqjPZzys= github.com/aws/aws-sdk-go-v2 v1.16.15/go.mod h1:SwiyXi/1zTUZ6KIAmLK5V5ll8SiURNUYOqTerZPaF9k= @@ -87,13 +86,10 @@ github.com/aws/aws-sdk-go-v2/service/sts v1.9.0/go.mod h1:jLKCFqS+1T4i7HDqCP9GM4 github.com/aws/smithy-go v1.9.0/go.mod h1:SObp3lf9smib00L/v3U2eAKG8FyQ7iLrJnQiAmR5n+E= github.com/aws/smithy-go v1.13.3 h1:l7LYxGuzK6/K+NzJ2mC+VvLUbae0sL3bXU//04MkmnA= github.com/aws/smithy-go v1.13.3/go.mod h1:Tg+OJXh4MB2R/uN61Ko2f6hTZwB/ZYGOtib8J3gBHzA= -github.com/benbjohnson/clock v1.1.0 h1:Q92kusRqC1XV2MjkWETPvjJVqKetz1OzxZB7mHJLju8= github.com/benbjohnson/clock v1.1.0/go.mod h1:J11/hYXuz8f4ySSvYwY0FKfm+ezbsZBKZxNJlLklBHA= +github.com/benbjohnson/clock v1.3.0 h1:ip6w0uFQkncKQ979AypyG0ER7mqUSBdKLOgAle/AT8A= github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM= github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw= -github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= -github.com/cenkalti/backoff/v3 v3.0.0 h1:ske+9nBpD9qZsTBoF41nW5L+AIuFBKMeze18XQ3eG1c= -github.com/cenkalti/backoff/v3 v3.0.0/go.mod h1:cIeZDE3IrqwwJl6VUwCN6trj1oXrTS4rc0ij+ULvLYs= github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod h1:f6KPmirojxKA12rnyqOA5BBL4O983OfeGPqjHWSTneU= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= @@ -106,10 +102,10 @@ github.com/cncf/udpa/go v0.0.0-20200629203442-efcf912fb354/go.mod h1:WmhPx2Nbnht github.com/cncf/udpa/go v0.0.0-20201120205902-5459f2c99403/go.mod h1:WmhPx2Nbnhtbo57+VJT5O0JRkEi1Wbu0z5j0R8u5Hbk= github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= -github.com/crossplane/crossplane-runtime v0.20.0 h1:MlPNrK6ELKLQdeHaIdKxQpZW2LSivSYXxHKVfU32auU= -github.com/crossplane/crossplane-runtime v0.20.0/go.mod h1:FuKIC8Mg8hE2gIAMyf2wCPkxkFPz+VnMQiYWBq1/p5A= -github.com/crossplane/crossplane-tools v0.0.0-20230714144037-2684f4bc7638 h1:NPbGG7jLyM+LbSMFQXilM70EOxbxk4z2CFvdSRtxc1s= -github.com/crossplane/crossplane-tools v0.0.0-20230714144037-2684f4bc7638/go.mod h1:+e4OaFlOcmr0JvINHl/yvEYBrZawzTgj6pQumOH1SS0= +github.com/crossplane/crossplane-runtime v1.14.0-rc.0.0.20230912122805-43c9ceeb2071 h1:xsj5y+S3TBZ8hHZajia+ViBQvU78fDpzjYm9YOInvJA= +github.com/crossplane/crossplane-runtime v1.14.0-rc.0.0.20230912122805-43c9ceeb2071/go.mod h1:R80Kb/MddGNqL1A6khYup2d1eljmd9sFkcZkw1jVHME= +github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79 h1:HigXs5tEQxWz0fcj8hzbU2UAZgEM7wPe0XRFOsrtF8Y= +github.com/crossplane/crossplane-tools v0.0.0-20230925130601-628280f8bf79/go.mod h1:+e4OaFlOcmr0JvINHl/yvEYBrZawzTgj6pQumOH1SS0= github.com/dave/jennifer v1.4.1 h1:XyqG6cn5RQsTj3qlWQTKlRGAyrTcsk1kUmWdZBzRjDw= github.com/dave/jennifer v1.4.1/go.mod h1:7jEdnm+qBcxl8PC0zyp7vxcpSRnzXSt9r39tpTVGlwA= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= @@ -128,7 +124,6 @@ github.com/evanphx/json-patch/v5 v5.6.0 h1:b91NhWfaz02IuVxO9faSllyAtNXHMPkC5J8sJ github.com/evanphx/json-patch/v5 v5.6.0/go.mod h1:G79N1coSVB93tBe7j6PhzjmR3/2VvlbKOFpnXhI9Bw4= github.com/fatih/camelcase v1.0.0 h1:hxNvNX/xYBp0ovncs8WyWZrOrpBNub/JfaMvbURyft8= github.com/fatih/camelcase v1.0.0/go.mod h1:yN2Sb0lFhZJUdVvtELVWefmrXpuZESvPmqwoZc+/fpc= -github.com/fatih/color v1.7.0/go.mod h1:Zm6kSWBoL9eyXnKyktHP6abPY2pDugNf5KwzbycvMj4= github.com/fatih/color v1.13.0/go.mod h1:kLAiJbzzSOZDVNGyDpeOxJ47H46qBXwg5ILebYFFOfk= github.com/fatih/color v1.15.0 h1:kOqh6YHBtK8aywxGerMG2Eq3H6Qgoqeo13Bk2Mv/nBs= github.com/fatih/color v1.15.0/go.mod h1:0h5ZqXfHYED7Bhv2ZJamyIOUej9KtShiJESRwBDUSsw= @@ -139,8 +134,6 @@ github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod h1:tQ2 github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod h1:tQ2UAYgL5IevRw8kRxooKSPJfGvJ9fJQFa0TUsXzTg8= github.com/go-ini/ini v1.46.0 h1:hDJFfs/9f75875scvqLkhNB5Jz5/DybKEOZ5MLF+ng4= github.com/go-ini/ini v1.46.0/go.mod h1:ByCAeIL28uOIIG0E3PJtZPDL8WnHpFKFOtgjp+3Ies8= -github.com/go-jose/go-jose/v3 v3.0.0 h1:s6rrhirfEP/CGIoc6p+PZAeogN2SxKav6Wp7+dyMWVo= -github.com/go-jose/go-jose/v3 v3.0.0/go.mod h1:RNkWWRld676jZEYoV3+XK8L2ZnNSvIsxFMht0mSX+u8= github.com/go-logr/logr v1.2.0/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.2.4 h1:g01GSCwiDw2xSZfjJ2/T9M+S6pFdcNtFYsp+Y43HYDQ= github.com/go-logr/logr v1.2.4/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= @@ -241,28 +234,12 @@ github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORR github.com/hashicorp/errwrap v1.0.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= github.com/hashicorp/errwrap v1.1.0 h1:OxrOeh75EUXMY8TBjag2fzXGZ40LB6IKw45YeGUDY2I= github.com/hashicorp/errwrap v1.1.0/go.mod h1:YH+1FKiLXxHSkmPseP+kNlulaMuP3n2brvKWEqk/Jc4= -github.com/hashicorp/go-cleanhttp v0.5.1/go.mod h1:JpRdi6/HCYpAwUzNwuwqhbovhLtngrth3wmdIIUrZ80= -github.com/hashicorp/go-cleanhttp v0.5.2 h1:035FKYIWjmULyFRBKPs8TBQoi0x6d9G4xc9neXJWAZQ= -github.com/hashicorp/go-cleanhttp v0.5.2/go.mod h1:kO/YDlP8L1346E6Sodw+PrpBSV4/SoxCXGY6BqNFT48= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320 h1:1/D3zfFHttUKaCaGKZ/dR2roBXv0vKbSCnssIldfQdI= github.com/hashicorp/go-cty v1.4.1-0.20200414143053-d3edf31b6320/go.mod h1:EiZBMaudVLy8fmjf9Npq1dq9RalhveqZG5w/yz3mHWs= -github.com/hashicorp/go-hclog v0.9.2/go.mod h1:5CU+agLiy3J7N7QjHK5d05KxGsuXiQLrjA0H7acj2lQ= github.com/hashicorp/go-hclog v1.2.1 h1:YQsLlGDJgwhXFpucSPyVbCBviQtjlHv3jLTlp8YmtEw= github.com/hashicorp/go-hclog v1.2.1/go.mod h1:W4Qnvbt70Wk/zYJryRzDRU/4r0kIg0PVHBcfoyhpF5M= -github.com/hashicorp/go-multierror v1.0.0/go.mod h1:dHtQlpGsu+cZNNAkkCN/P3hoUDHhCYQXV3UM06sGGrk= github.com/hashicorp/go-multierror v1.1.1 h1:H5DkEtf6CXdFp0N0Em5UCwQpXMWke8IA0+lD48awMYo= github.com/hashicorp/go-multierror v1.1.1/go.mod h1:iw975J/qwKPdAO1clOe2L8331t/9/fmwbPZ6JB6eMoM= -github.com/hashicorp/go-retryablehttp v0.7.1 h1:sUiuQAnLlbvmExtFQs72iFW/HXeUn8Z1aJLQ4LJJbTQ= -github.com/hashicorp/go-retryablehttp v0.7.1/go.mod h1:vAew36LZh98gCBJNLH42IQ1ER/9wtLZZ8meHqQvEYWY= -github.com/hashicorp/go-rootcerts v1.0.2 h1:jzhAVGtqPKbwpyCPELlgNWhE1znq+qwJtW5Oi2viEzc= -github.com/hashicorp/go-rootcerts v1.0.2/go.mod h1:pqUvnprVnM5bf7AOirdbb01K4ccR319Vf4pU3K5EGc8= -github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6 h1:om4Al8Oy7kCm/B86rLCLah4Dt5Aa0Fr5rYBG60OzwHQ= -github.com/hashicorp/go-secure-stdlib/parseutil v0.1.6/go.mod h1:QmrqtbKuxxSWTN3ETMPuB+VtEiBJ/A9XhoYGv8E1uD8= -github.com/hashicorp/go-secure-stdlib/strutil v0.1.1/go.mod h1:gKOamz3EwoIoJq7mlMIRBpVTAUn8qPCrEclOKKWhD3U= -github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 h1:kes8mmyCpxJsI7FTwtzRqEy9CdjCtrXrXGuOpxEA7Ts= -github.com/hashicorp/go-secure-stdlib/strutil v0.1.2/go.mod h1:Gou2R9+il93BqX25LAKCLuM+y9U2T4hlwvT1yprcna4= -github.com/hashicorp/go-sockaddr v1.0.2 h1:ztczhD1jLxIRjVejw8gFomI1BQZOe2WoVOu0SyteCQc= -github.com/hashicorp/go-sockaddr v1.0.2/go.mod h1:rB4wwRAUzs07qva3c5SdrY/NEtAUjGlgmH/UkBUC97A= github.com/hashicorp/go-uuid v1.0.3 h1:2gKiV6YVmrJ1i2CKKa9obLvRieoRGviZFL26PcT/Co8= github.com/hashicorp/go-uuid v1.0.3/go.mod h1:6SBZvOh/SIDV7/2o3Jml5SYk/TvGqwFJ/bN7x4byOro= github.com/hashicorp/go-version v1.5.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= @@ -270,8 +247,6 @@ github.com/hashicorp/go-version v1.6.0 h1:feTTfFNnjP967rlCxM/I9g701jU+RN74YKx2mO github.com/hashicorp/go-version v1.6.0/go.mod h1:fltr4n8CU8Ke44wwGCBoEymUuxUHl09ZGVZPK5anwXA= github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= github.com/hashicorp/golang-lru v0.5.1/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8= -github.com/hashicorp/hcl v1.0.0 h1:0Anlzjpi4vEasTeNFn2mLJgTSwt0+6sfsiTG8qcWGx4= -github.com/hashicorp/hcl v1.0.0/go.mod h1:E5yfLk+7swimpb2L/Alb/PJmXilQ/rhwaUYs4T20WEQ= github.com/hashicorp/hcl/v2 v2.9.1/go.mod h1:FwWsfWEjyV/CMj8s/gqAuiviY72rJ1/oayI9WftqcKg= github.com/hashicorp/hcl/v2 v2.14.1 h1:x0BpjfZ+CYdbiz+8yZTQ+gdLO7IXvOut7Da+XJayx34= github.com/hashicorp/hcl/v2 v2.14.1/go.mod h1:e4z5nxYlWNPdDSNYX+ph14EvWYMFm3eP0zIUqPc2jr0= @@ -285,8 +260,6 @@ github.com/hashicorp/terraform-plugin-log v0.7.0 h1:SDxJUyT8TwN4l5b5/VkiTIaQgY6R github.com/hashicorp/terraform-plugin-log v0.7.0/go.mod h1:p4R1jWBXRTvL4odmEkFfDdhUjHf9zcs/BCoNHAc7IK4= github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0 h1:FtCLTiTcykdsURXPt/ku7fYXm3y19nbzbZcUxHx9RbI= github.com/hashicorp/terraform-plugin-sdk/v2 v2.24.0/go.mod h1:80wf5oad1tW+oLnbXS4UTYmDCrl7BuN1Q+IA91X1a4Y= -github.com/hashicorp/vault/api v1.9.2 h1:YjkZLJ7K3inKgMZ0wzCU9OHqc+UqMQyXsPXnf3Cl2as= -github.com/hashicorp/vault/api v1.9.2/go.mod h1:jo5Y/ET+hNyz+JnKDt8XLAdKs+AM0G5W0Vp1IrFI8N8= github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHLwW0= github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho= github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod h1:aSSvb/t6k1mPoxDqO4vJh6VOCGPwU4O0C2/Eqndh1Sc= @@ -323,12 +296,10 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0 github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw= github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0= github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc= -github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU= github.com/mattn/go-colorable v0.1.9/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= github.com/mattn/go-colorable v0.1.12/go.mod h1:u5H1YNBxpqRaxsYJYSkiCWKzEfiAb1Gb520KVy5xxl4= github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= -github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNxMWT7Zi4= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= github.com/mattn/go-isatty v0.0.14/go.mod h1:7GGIvUiUoEMVVmxf/4nioHXj79iQHKdU27kJ6hsGG94= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= @@ -336,20 +307,15 @@ github.com/mattn/go-isatty v0.0.17 h1:BTarxUcIeDqL27Mc+vyvdWYSL28zpIhv3RoTdsLMPn github.com/mattn/go-isatty v0.0.17/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo= github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4= -github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc= github.com/mitchellh/copystructure v1.2.0 h1:vpKXTN4ewci03Vljg/q9QvCGUDttBOGBIa15WveJJGw= github.com/mitchellh/copystructure v1.2.0/go.mod h1:qLl+cE2AmVv+CoeAwDPye/v+N2HKCj9FbZEVFJRxO9s= -github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG+4E0Y= -github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0= github.com/mitchellh/go-ps v1.0.0 h1:i6ampVEEF4wQFF+bkYfwYgY+F/uYJDktmvLPf7qIgjc= github.com/mitchellh/go-ps v1.0.0/go.mod h1:J4lOc8z8yJs6vUwklHw2XEIiT4z4C40KtWVN3nvg8Pg= github.com/mitchellh/go-testing-interface v1.14.1 h1:jrgshOhYAUVNMAJiKbEu7EqAwgJJ2JqpQmpLJOu07cU= github.com/mitchellh/go-testing-interface v1.14.1/go.mod h1:gfgS7OtZj6MA4U1UrDRp04twqAjfvlZyCfX3sDjEym8= github.com/mitchellh/go-wordwrap v0.0.0-20150314170334-ad45545899c7/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= -github.com/mitchellh/go-wordwrap v1.0.0/go.mod h1:ZXFpozHsX6DPmq2I0TCekCxypsnAUbP2oI0UX1GXzOo= github.com/mitchellh/go-wordwrap v1.0.1 h1:TLuKupo69TCn6TQSyGxwI1EblZZEsQ0vMlAFQflz0v0= github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0= -github.com/mitchellh/mapstructure v1.4.1/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/mapstructure v1.5.0 h1:jeMsZIYE/09sWLaz43PL7Gy6RuMjD2eJVyuac5Z2hdY= github.com/mitchellh/mapstructure v1.5.0/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo= github.com/mitchellh/reflectwalk v1.0.2 h1:G2LzWKi524PWgd3mLHV8Y5k7s6XUvT0Gef6zxSIeXaQ= @@ -366,30 +332,26 @@ github.com/muvaf/typewriter v0.0.0-20210910160850-80e49fe1eb32/go.mod h1:SAAdeME github.com/nsf/jsondiff v0.0.0-20200515183724-f29ed568f4ce h1:RPclfga2SEJmgMmz2k+Mg7cowZ8yv4Trqw9UsJby758= github.com/nxadm/tail v1.4.8 h1:nPr65rt6Y5JFSKQO7qToXr7pePgD6Gwiw05lkbyAQTE= github.com/onsi/ginkgo v1.16.5 h1:8xi0RTUf59SOSfEtZMvwTvXYMzG4gV23XVHOZiXNtnE= -github.com/onsi/ginkgo/v2 v2.9.5 h1:+6Hr4uxzP4XIUyAkg61dWBw8lb/gc4/X5luuxN/EC+Q= -github.com/onsi/gomega v1.27.7 h1:fVih9JD6ogIiHUN6ePK7HJidyEDpWGVB5mzM7cWNXoU= +github.com/onsi/ginkgo/v2 v2.11.0 h1:WgqUCUt/lT6yXoQ8Wef0fsNn5cAuMK7+KT9UFRz2tcU= +github.com/onsi/gomega v1.27.10 h1:naR28SdDFlqrG6kScpT8VWpu1xWY5nJRCF3XaYyBjhI= github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/errors v0.9.1 h1:FEBLx1zS214owpjy7qsBeixbURkuhQAwrK5UwLGTwt4= github.com/pkg/errors v0.9.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0= github.com/pkg/sftp v1.13.1/go.mod h1:3HaPG6Dq1ILlpPZRO0HVMrsydcdLt6HRDccSgb87qRg= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/posener/complete v1.1.1/go.mod h1:em0nMJCgc9GFtwrmVmEMR/ZL6WyhyjMBndrE9hABlRI= -github.com/prometheus/client_golang v1.15.1 h1:8tXpTmJbyH5lydzFPoxSIJ0J46jdh3tylbvM1xCv0LI= -github.com/prometheus/client_golang v1.15.1/go.mod h1:e9yaBhRPU2pPNsZwE+JdQl0KEt1N9XgF6zxWmaC0xOk= +github.com/prometheus/client_golang v1.16.0 h1:yk/hx9hDbrGHovbci4BY+pRMfSuuat626eFsHb7tmT8= +github.com/prometheus/client_golang v1.16.0/go.mod h1:Zsulrv/L9oM40tJ7T815tM89lFEugiJ9HzIqaAx4LKc= github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod h1:xMI15A0UPsDsEKsMN9yxemIoYk6Tm2C1GtYGdfGttqA= github.com/prometheus/client_model v0.4.0 h1:5lQXD3cAg1OXBf4Wq03gTrXHeaV0TQvGfUooCfx1yqY= github.com/prometheus/client_model v0.4.0/go.mod h1:oMQmHW1/JoDwqLtg57MGgP/Fb1CJEYF2imWWhWtMkYU= github.com/prometheus/common v0.44.0 h1:+5BrQJwiBB9xsMygAB3TNvpQKOwlkc25LbISbrdOOfY= github.com/prometheus/common v0.44.0/go.mod h1:ofAIvZbQ1e/nugmZGz4/qCb9Ap1VoSTIO7x0VV9VvuY= -github.com/prometheus/procfs v0.10.0 h1:UkG7GPYkO4UZyLnyXjaWYcgOSONqwdBqFUT95ugmt6I= -github.com/prometheus/procfs v0.10.0/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= +github.com/prometheus/procfs v0.10.1 h1:kYK1Va/YMlutzCGazswoHKo//tZVlFpKYh+PymziUAg= +github.com/prometheus/procfs v0.10.1/go.mod h1:nwNm2aOCAYw8uTR/9bWRREkZFxAUcWzPHWJq+XBB/FM= github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4= github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ= github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM= -github.com/ryanuber/columnize v2.1.0+incompatible/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts= -github.com/ryanuber/go-glob v1.0.0 h1:iQh3xXAumdQ+4Ufa5b25cRpC5TYKlno6hsv6Cb3pkBk= -github.com/ryanuber/go-glob v1.0.0/go.mod h1:807d1WSdnB0XRJzKNil9Om6lcp/3a0v4qIHxIXzX/Yc= github.com/sebdah/goldie v1.0.0/go.mod h1:jXP4hmWywNEwZzhMuv2ccnqTSFpuq8iyQhtQdkkZBH4= github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo= github.com/smartystreets/assertions v1.2.0 h1:42S6lae5dvLc7BrLu/0ugRtcFVjoJNMC/N3yZFZkDFs= @@ -410,7 +372,6 @@ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXf github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI= github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4= github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.7.2/go.mod h1:R6va5+xMeoiuVRoj+gSkQ7d3FALtqAAGI1FQKckRals= @@ -419,8 +380,8 @@ github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o github.com/stretchr/testify v1.8.2 h1:+h33VjcLVPDHtOdpUCuF+7gSuG3yGIftsP1YvFihtJ8= github.com/tmccombs/hcl2json v0.3.3 h1:+DLNYqpWE0CsOQiEZu+OZm5ZBImake3wtITYxQ8uLFQ= github.com/tmccombs/hcl2json v0.3.3/go.mod h1:Y2chtz2x9bAeRTvSibVRVgbLJhLJXKlUeIvjeVdnm4w= -github.com/upbound/upjet v0.10.0 h1:6nxc0GUBcL4BDHxQUUZWjw4ROXu5KRK9jOpb7LeJ+NQ= -github.com/upbound/upjet v0.10.0/go.mod h1:2RXHgpIugCL/S/Use1QJAeVaev901RBeUByQh5gUtGk= +github.com/upbound/upjet v0.11.0-rc.0.0.20230927185952-cc55f3952474 h1:/fO/9nZUalXmFn1xWH+ky87Yxymyv4J6xWun51Lgde0= +github.com/upbound/upjet v0.11.0-rc.0.0.20230927185952-cc55f3952474/go.mod h1:2RXHgpIugCL/S/Use1QJAeVaev901RBeUByQh5gUtGk= github.com/vmihailenco/msgpack v3.3.3+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= github.com/vmihailenco/msgpack v4.0.4+incompatible h1:dSLoQfGFAo3F6OoNhwUmLwVgaUXK79GlxNBwueZn0xI= github.com/vmihailenco/msgpack v4.0.4+incompatible/go.mod h1:fy3FlTQTDXWkZ7Bh6AcGMlsjHatGryHQYUTf1ShIgkk= @@ -449,26 +410,22 @@ go.opencensus.io v0.22.3/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.4/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw= go.opencensus.io v0.22.5/go.mod h1:5pWMHQbX5EPX2/62yrJeAkowc+lfs/XD7Uxpq3pI6kk= go.uber.org/atomic v1.7.0/go.mod h1:fEN4uk6kAWBTFdckzkM89CLk9XfWZrxpCo0nPH17wJc= -go.uber.org/atomic v1.11.0 h1:ZvwS0R+56ePWxUNi+Atn9dWONBPp/AUETXlHW0DxSjE= -go.uber.org/atomic v1.11.0/go.mod h1:LUxbIzbOniOlMKjJjyPfpl4v+PKK2cNJn91OQbhoJI0= go.uber.org/goleak v1.1.11/go.mod h1:cwTWslyiVhfpKIDGSZEM2HlOvcqm+tG4zioyIeLoqMQ= go.uber.org/goleak v1.2.1 h1:NBol2c7O1ZokfZ0LEU9K6Whx/KnwvepVetCUhtKja4A= go.uber.org/multierr v1.6.0/go.mod h1:cdWPpRnG4AhwMwsgIHip0KRBQjJy5kYEpYjJxpXp9iU= go.uber.org/multierr v1.11.0 h1:blXXJkSxSSfBVBlC76pxqeO+LN3aDfLQo+309xJstO0= go.uber.org/multierr v1.11.0/go.mod h1:20+QtiLqy0Nd6FdQB9TLXag12DsQkrbs3htMFfDN80Y= -go.uber.org/zap v1.24.0 h1:FiJd5l1UOLj0wCgbSE0rwwXHzEdAZS6hiiSnxJN/D60= go.uber.org/zap v1.24.0/go.mod h1:2kMP+WWQ8aoFoedH3T2sq6iJ2yDWpHbP0f6MQbS9Gkg= +go.uber.org/zap v1.25.0 h1:4Hvk6GtkucQ790dqmj7l1eEnRdKm3k3ZUrUMS2d5+5c= +go.uber.org/zap v1.25.0/go.mod h1:JIAUzQIH94IC4fOJQm7gMmBJP5k7wQfdcnYdPoEXJYk= golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w= golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= -golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI= golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod h1:LzIPMQfyMNhhGPhUkYOs5KpL4U8rLKemX1yGLhDgUto= golang.org/x/crypto v0.0.0-20210421170649-83a5a9bb288b/go.mod h1:T9bdIzuCu7OtxOm1hfPfRQxPLYneinmdGuTeoZ9dtd4= golang.org/x/crypto v0.0.0-20220722155217-630584e8d5aa/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= -golang.org/x/crypto v0.11.0 h1:6Ewdq3tDic1mg5xRO4milcWCfMVQhI4NkqWWvqejpuA= -golang.org/x/crypto v0.11.0/go.mod h1:xgJhtzW8F9jGdVFWZESrid1U1bjeNy4zgy5cRr/CIio= golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA= golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod h1:ZjyILWgesfNpC6sMxTJOJm9Kp84zZh5NQWvqDGG3Qr8= @@ -479,6 +436,8 @@ golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod h1:2RIsYlXP63K8oxa1u0 golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod h1:2RIsYlXP63K8oxa1u096TMicItID8zy7Y6sNkU49FU4= golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod h1:J/WKrq2StrnmMY6+EHIKF9dgMWnmCNThgcyBT1FY9mM= golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod h1:3jZMyOhIsHpP37uCMkUooju7aAi5cS1Q23tOzKc+0MU= +golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1 h1:MGwJjxBy0HJshjDNfLsYO8xppfqWlA5ZT9OhtUUhTNw= +golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1/go.mod h1:FXUEEKJgO7OQYeo8N01OfiKP8RXMtf6e8aTskBGqWdc= golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod h1:kZ7UVZpmo3dzQBMxlp+ypCbDeSB+sBbTgSJuh5dn5js= golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0= golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE= @@ -540,8 +499,8 @@ golang.org/x/net v0.0.0-20201224014010-6772e930b67b/go.mod h1:m0MpNAwzfU5UDzcl9v golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20210405180319-a5a99cb37ef4/go.mod h1:p54w0d4576C0XHj96bSt6lcn1PtDYWL6XObtHCRCNQM= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.13.0 h1:Nvo8UFsZ8X3BhAC9699Z1j7XQ3rsZnUUm7jfBEk1ueY= -golang.org/x/net v0.13.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA= +golang.org/x/net v0.14.0 h1:BONx9s002vGdD9umnlX1Po8vOZmrgH34qlHcD1MfK14= +golang.org/x/net v0.14.0/go.mod h1:PpSgVXXLK0OxS0F31C1/tv6XNguvCrnXIDrFMspZIUI= golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U= golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw= @@ -551,8 +510,8 @@ golang.org/x/oauth2 v0.0.0-20200902213428-5d25da1a8d43/go.mod h1:KelEdhl1UZF7XfJ golang.org/x/oauth2 v0.0.0-20201109201403-9fd604954f58/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20201208152858-08078c50e5b5/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= golang.org/x/oauth2 v0.0.0-20210218202405-ba52d332ba99/go.mod h1:KelEdhl1UZF7XfJ4dDtk6s++YSgaE7mD/BuKKDLBl4A= -golang.org/x/oauth2 v0.8.0 h1:6dkIjl3j3LtZ/O3sTgZTMsLKSftL/B8Zgq4huOIIUu8= -golang.org/x/oauth2 v0.8.0/go.mod h1:yr7u4HXZRm1R1kBWqr/xKNqewf0plRYoB7sla+BCIXE= +golang.org/x/oauth2 v0.10.0 h1:zHCpF2Khkwy4mMB4bv0U37YtJdTGW8jI0glAApi0Kh8= +golang.org/x/oauth2 v0.10.0/go.mod h1:kTpgurOux7LqtuxjuyZa4Gj2gdezIt/jQtGnNFfypQI= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= @@ -565,7 +524,6 @@ golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9/go.mod h1:RxMgew5VJxzue5/jJ golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sys v0.0.0-20180823144017-11551d06cbcc/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -610,11 +568,11 @@ golang.org/x/sys v0.0.0-20210927094055-39ccf1dd6fa6/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220503163025-988cb79eb6c6/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.10.0 h1:SqMFp9UcQJZa+pmYuAKjd9xq1f0j5rLcDIk0mj4qAsA= -golang.org/x/sys v0.10.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.11.0 h1:eG7RXZHdqOJ1i+0lgLgCpSXAp6M3LYlAo6osgSi0xOM= +golang.org/x/sys v0.11.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/term v0.10.0 h1:3R7pNqamzBraeqj/Tj8qt1aQ2HpmlC+Cx/qL/7hn4/c= -golang.org/x/term v0.10.0/go.mod h1:lpqdcUyK/oCiQxvxVrppt5ggO2KCZ5QblwqPnfZ6d5o= +golang.org/x/term v0.11.0 h1:F9tnn/DA/Im8nCwm+fX+1/eBwi4qFjRT++MhtVC4ZX0= +golang.org/x/term v0.11.0/go.mod h1:zC9APTIj3jG3FdV/Ons+XE1riIZXG4aZ4GTHiPZJPIU= golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -624,8 +582,8 @@ golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= -golang.org/x/text v0.11.0 h1:LAntKIrcmeSKERyiOh0XMV39LXS8IE9UL2yP7+f5ij4= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= +golang.org/x/text v0.12.0 h1:k+n5B8goJNdU7hSvEtMUz3d1Q6D/XW4COJSJR6fN0mc= +golang.org/x/text v0.12.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= @@ -683,14 +641,14 @@ golang.org/x/tools v0.0.0-20210108195828-e2f9c7f1fc8e/go.mod h1:emZCQorbCU4vsT4f golang.org/x/tools v0.1.0/go.mod h1:xkSsbof2nBLbhDlRMhhhyNLN/zl3eTqcnHD5viDpcZ0= golang.org/x/tools v0.1.1/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= golang.org/x/tools v0.1.5/go.mod h1:o0xws9oXOQQZyjljx8fwUC0k7L1pTE6eaCbjGeHmOkk= -golang.org/x/tools v0.11.0 h1:EMCa6U9S2LtZXLAMoWiR/R8dAQFRqbAitmbJ2UKhoi8= -golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= +golang.org/x/tools v0.12.0 h1:YW6HUoUmYBpwSgyaGaZq1fHjrBjX1rlpZ54T6mu2kss= +golang.org/x/tools v0.12.0/go.mod h1:Sc0INKfu04TlqNoRA1hgpFZbhYXHPr4V5DzpSBTPqQM= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= -gomodules.xyz/jsonpatch/v2 v2.3.0 h1:8NFhfS6gzxNqjLIYnZxg319wZ5Qjnx4m/CcX+Klzazc= -gomodules.xyz/jsonpatch/v2 v2.3.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= +gomodules.xyz/jsonpatch/v2 v2.4.0 h1:Ci3iUJyx9UeRx7CeFN8ARgGbkESwJK+KB9lLcWxY/Zw= +gomodules.xyz/jsonpatch/v2 v2.4.0/go.mod h1:AH3dM2RI6uoBZxn3LVrfvJ3E0/9dG4cSrbuBJT4moAY= google.golang.org/api v0.4.0/go.mod h1:8k5glujaEP+g9n7WNsDg8QP6cUVNI86fCNMcbazEtwE= google.golang.org/api v0.7.0/go.mod h1:WtwebWUNSVBH/HAw79HIFXZNqEvBhG+Ra+ax0hx3E3M= google.golang.org/api v0.8.0/go.mod h1:o4eAsZoiT+ibD93RtjEohWalFOjRDx6CVaqeizhEnKg= @@ -754,8 +712,8 @@ google.golang.org/genproto v0.0.0-20201210142538-e3217bee35cc/go.mod h1:FWY/as6D google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210108203827-ffc7fda8c3d7/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= google.golang.org/genproto v0.0.0-20210226172003-ab064af71705/go.mod h1:FWY/as6DDZQgahTzZj3fqbO1CbirC29ZNUFHwi0/+no= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1 h1:KpwkzHKEF7B9Zxg18WzOa7djJ+Ha5DzthMyZYQfEn2A= -google.golang.org/genproto v0.0.0-20230410155749-daa745c078e1/go.mod h1:nKE/iIaLqn2bQwXBg8f1g2Ylh6r5MN5CmZvuzZCgsCU= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 h1:bVf09lpb+OJbByTj913DRJioFFAjf/ZGxEz7MajTp2U= +google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98/go.mod h1:TUfxEVdsvPg18p6AslUXFoLdpED4oBnGwyqk3dV1XzM= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.20.1/go.mod h1:10oTOabMzJvdu6/UiuZezV6QK5dSlG84ov/aaiqXj38= google.golang.org/grpc v1.21.1/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= @@ -772,8 +730,8 @@ google.golang.org/grpc v1.31.1/go.mod h1:N36X2cJ7JwdamYAgDz+s+rVMFjt3numwzf/HckM google.golang.org/grpc v1.33.2/go.mod h1:JMHMWHQWaTccqQQlmk3MJZS+GWXOdAesneDmEnv2fbc= google.golang.org/grpc v1.34.0/go.mod h1:WotjhfgOW/POjDeRt8vscBtXq+2VjORFy659qA51WJ8= google.golang.org/grpc v1.35.0/go.mod h1:qjiiYl8FncCW8feJPdyg3v6XW24KsRHe+dy9BAGRRjU= -google.golang.org/grpc v1.56.2 h1:fVRFRnXvU+x6C4IlHZewvJOVHoOv1TUuQyoRsYnB4bI= -google.golang.org/grpc v1.56.2/go.mod h1:I9bI3vqKfayGqPUAwGdOSu7kt6oIJLixfffKrpXqQ9s= +google.golang.org/grpc v1.58.0 h1:32JY8YpPMSR45K+c3o6b8VL73V+rR8k+DeMIr4vRH8o= +google.golang.org/grpc v1.58.0/go.mod h1:tgX3ZQDlNJGU96V6yHh1T/JeoBQ2TXdr43YbYSsCJk0= google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= @@ -816,14 +774,14 @@ honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9 honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= k8s.io/api v0.28.1 h1:i+0O8k2NPBCPYaMB+uCkseEbawEt/eFaiRqUx8aB108= k8s.io/api v0.28.1/go.mod h1:uBYwID+66wiL28Kn2tBjBYQdEU0Xk0z5qF8bIBqk/Dg= -k8s.io/apiextensions-apiserver v0.27.3 h1:xAwC1iYabi+TDfpRhxh4Eapl14Hs2OftM2DN5MpgKX4= -k8s.io/apiextensions-apiserver v0.27.3/go.mod h1:BH3wJ5NsB9XE1w+R6SSVpKmYNyIiyIz9xAmBl8Mb+84= +k8s.io/apiextensions-apiserver v0.28.1 h1:l2ThkBRjrWpw4f24uq0Da2HaEgqJZ7pcgiEUTKSmQZw= +k8s.io/apiextensions-apiserver v0.28.1/go.mod h1:sVvrI+P4vxh2YBBcm8n2ThjNyzU4BQGilCQ/JAY5kGs= k8s.io/apimachinery v0.28.1 h1:EJD40og3GizBSV3mkIoXQBsws32okPOy+MkRyzh6nPY= k8s.io/apimachinery v0.28.1/go.mod h1:X0xh/chESs2hP9koe+SdIAcXWcQ+RM5hy0ZynB+yEvw= k8s.io/client-go v0.28.1 h1:pRhMzB8HyLfVwpngWKE8hDcXRqifh1ga2Z/PU9SXVK8= k8s.io/client-go v0.28.1/go.mod h1:pEZA3FqOsVkCc07pFVzK076R+P/eXqsgx5zuuRWukNE= -k8s.io/component-base v0.27.3 h1:g078YmdcdTfrCE4fFobt7qmVXwS8J/3cI1XxRi/2+6k= -k8s.io/component-base v0.27.3/go.mod h1:JNiKYcGImpQ44iwSYs6dysxzR9SxIIgQalk4HaCNVUY= +k8s.io/component-base v0.28.1 h1:LA4AujMlK2mr0tZbQDZkjWbdhTV5bRyEyAFe0TJxlWg= +k8s.io/component-base v0.28.1/go.mod h1:jI11OyhbX21Qtbav7JkhehyBsIRfnO8oEgoAR12ArIU= k8s.io/klog/v2 v2.100.1 h1:7WCHKK6K8fNhTqfBhISHQ97KrnJNFZMcQvKp7gP/tmg= k8s.io/klog/v2 v2.100.1/go.mod h1:y1WjHnz7Dj687irZUWR/WLkLc5N1YHtjLdmgWjndZn0= k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 h1:LyMgNKD2P8Wn1iAwQU5OhxCKlKJy0sHc+PcDwFB24dQ= @@ -833,10 +791,10 @@ k8s.io/utils v0.0.0-20230505201702-9f6742963106/go.mod h1:OLgZIPagt7ERELqWJFomSt rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8= rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0= rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA= -sigs.k8s.io/controller-runtime v0.15.0 h1:ML+5Adt3qZnMSYxZ7gAverBLNPSMQEibtzAgp0UPojU= -sigs.k8s.io/controller-runtime v0.15.0/go.mod h1:7ngYvp1MLT+9GeZ+6lH3LOlcHkp/+tzA/fmHa4iq9kk= -sigs.k8s.io/controller-tools v0.12.1 h1:GyQqxzH5wksa4n3YDIJdJJOopztR5VDM+7qsyg5yE4U= -sigs.k8s.io/controller-tools v0.12.1/go.mod h1:rXlpTfFHZMpZA8aGq9ejArgZiieHd+fkk/fTatY8A2M= +sigs.k8s.io/controller-runtime v0.16.1 h1:+15lzrmHsE0s2kNl0Dl8cTchI5Cs8qofo5PGcPrV9z0= +sigs.k8s.io/controller-runtime v0.16.1/go.mod h1:vpMu3LpI5sYWtujJOa2uPK61nB5rbwlN7BAB8aSLvGU= +sigs.k8s.io/controller-tools v0.13.0 h1:NfrvuZ4bxyolhDBt/rCZhDnx3M2hzlhgo5n3Iv2RykI= +sigs.k8s.io/controller-tools v0.13.0/go.mod h1:5vw3En2NazbejQGCeWKRrE7q4P+CW8/klfVqP8QZkgA= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd h1:EDPBXCAspyGV4jQlpZSudPeMmr1bNJefnuqLsRAsHZo= sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= sigs.k8s.io/structured-merge-diff/v4 v4.2.3 h1:PRbqxJClWWYMNV1dhaG4NsibJbArud9kFxnAMREiWFE= diff --git a/hack/main.go.tmpl b/hack/main.go.tmpl index 411702fcb9..6ecc7ca95c 100644 --- a/hack/main.go.tmpl +++ b/hack/main.go.tmpl @@ -6,6 +6,7 @@ package main import ( "context" + "math/rand" "os" "path/filepath" "time" @@ -24,6 +25,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/leaderelection/resourcelock" ctrl "sigs.k8s.io/controller-runtime" + "sigs.k8s.io/controller-runtime/pkg/cache" "sigs.k8s.io/controller-runtime/pkg/log/zap" "github.com/upbound/provider-aws/apis" @@ -66,16 +68,20 @@ func main() { ctrl.SetLogger(zl) } + // currently, we configure the jitter to be the 5% of the poll interval + pollJitter := time.Duration(float64(*pollInterval) * 0.05) log.Debug("Starting", "sync-interval", syncInterval.String(), - "poll-interval", pollInterval.String(), "max-reconcile-rate", *maxReconcileRate) + "poll-interval", pollInterval.String(), "poll-jitter", pollJitter, "max-reconcile-rate", *maxReconcileRate) cfg, err := ctrl.GetConfig() kingpin.FatalIfError(err, "Cannot get API server rest config") mgr, err := ctrl.NewManager(ratelimiter.LimitRESTConfig(cfg, *maxReconcileRate), ctrl.Options{ - LeaderElection: *leaderElection, - LeaderElectionID: "crossplane-leader-election-provider-aws{{ if ne .Group "monolith" }}-{{ .Group }}{{ end }}", - SyncPeriod: syncInterval, + LeaderElection: *leaderElection, + LeaderElectionID: "crossplane-leader-election-provider-aws{{ if ne .Group "monolith" }}-{{ .Group }}{{ end }}", + Cache: cache.Options{ + SyncPeriod: syncInterval, + }, LeaderElectionResourceLock: resourcelock.LeasesResourceLock, LeaseDuration: func() *time.Duration { d := 60 * time.Second; return &d }(), RenewDeadline: func() *time.Duration { d := 50 * time.Second; return &d }(), @@ -103,8 +109,9 @@ func main() { MaxConcurrentReconciles: *maxReconcileRate, Features: &feature.Flags{}, }, - Provider: config.GetProvider(), - SetupFn: clients.SelectTerraformSetup(log, setupConfig), + Provider: config.GetProvider(), + SetupFn: clients.SelectTerraformSetup(log, setupConfig), + PollJitter: pollJitter, } if *enableManagementPolicies { @@ -144,6 +151,7 @@ func main() { })), "cannot create default store config") } + rand.Seed(time.Now().UnixNano()) kingpin.FatalIfError(controller.Setup_{{ .Group }}(mgr, o), "Cannot setup AWS controllers") kingpin.FatalIfError(mgr.Start(ctrl.SetupSignalHandler()), "Cannot start controller manager") } diff --git a/internal/controller/accessanalyzer/analyzer/zz_controller.go b/internal/controller/accessanalyzer/analyzer/zz_controller.go index bd2020a9bd..f737bccec8 100755 --- a/internal/controller/accessanalyzer/analyzer/zz_controller.go +++ b/internal/controller/accessanalyzer/analyzer/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/accessanalyzer/archiverule/zz_controller.go b/internal/controller/accessanalyzer/archiverule/zz_controller.go index b6d8599fcc..2d9d52815b 100755 --- a/internal/controller/accessanalyzer/archiverule/zz_controller.go +++ b/internal/controller/accessanalyzer/archiverule/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/account/alternatecontact/zz_controller.go b/internal/controller/account/alternatecontact/zz_controller.go index ae725e0bab..98ce46cace 100755 --- a/internal/controller/account/alternatecontact/zz_controller.go +++ b/internal/controller/account/alternatecontact/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acm/certificate/zz_controller.go b/internal/controller/acm/certificate/zz_controller.go index 62dc7187cf..171474e038 100755 --- a/internal/controller/acm/certificate/zz_controller.go +++ b/internal/controller/acm/certificate/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acm/certificatevalidation/zz_controller.go b/internal/controller/acm/certificatevalidation/zz_controller.go index 47177ff966..d331b5c46a 100755 --- a/internal/controller/acm/certificatevalidation/zz_controller.go +++ b/internal/controller/acm/certificatevalidation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acmpca/certificate/zz_controller.go b/internal/controller/acmpca/certificate/zz_controller.go index 6191c423f7..b3336f24b5 100755 --- a/internal/controller/acmpca/certificate/zz_controller.go +++ b/internal/controller/acmpca/certificate/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acmpca/certificateauthority/zz_controller.go b/internal/controller/acmpca/certificateauthority/zz_controller.go index 2865cb1979..01d9e48759 100755 --- a/internal/controller/acmpca/certificateauthority/zz_controller.go +++ b/internal/controller/acmpca/certificateauthority/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acmpca/certificateauthoritycertificate/zz_controller.go b/internal/controller/acmpca/certificateauthoritycertificate/zz_controller.go index 80fd3eca35..f75c4c8d05 100755 --- a/internal/controller/acmpca/certificateauthoritycertificate/zz_controller.go +++ b/internal/controller/acmpca/certificateauthoritycertificate/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acmpca/permission/zz_controller.go b/internal/controller/acmpca/permission/zz_controller.go index df029b108f..44b7737b96 100755 --- a/internal/controller/acmpca/permission/zz_controller.go +++ b/internal/controller/acmpca/permission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/acmpca/policy/zz_controller.go b/internal/controller/acmpca/policy/zz_controller.go index c03818d9f3..448e935a9f 100755 --- a/internal/controller/acmpca/policy/zz_controller.go +++ b/internal/controller/acmpca/policy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amp/alertmanagerdefinition/zz_controller.go b/internal/controller/amp/alertmanagerdefinition/zz_controller.go index a8184ce804..ad8598cdef 100755 --- a/internal/controller/amp/alertmanagerdefinition/zz_controller.go +++ b/internal/controller/amp/alertmanagerdefinition/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amp/rulegroupnamespace/zz_controller.go b/internal/controller/amp/rulegroupnamespace/zz_controller.go index 88a3652850..66c19fc729 100755 --- a/internal/controller/amp/rulegroupnamespace/zz_controller.go +++ b/internal/controller/amp/rulegroupnamespace/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amp/workspace/zz_controller.go b/internal/controller/amp/workspace/zz_controller.go index 2a3aa70636..4761de62f5 100755 --- a/internal/controller/amp/workspace/zz_controller.go +++ b/internal/controller/amp/workspace/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amplify/app/zz_controller.go b/internal/controller/amplify/app/zz_controller.go index eea286b1b0..1792a33c95 100755 --- a/internal/controller/amplify/app/zz_controller.go +++ b/internal/controller/amplify/app/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amplify/backendenvironment/zz_controller.go b/internal/controller/amplify/backendenvironment/zz_controller.go index 40de56000c..c9ea75a0c4 100755 --- a/internal/controller/amplify/backendenvironment/zz_controller.go +++ b/internal/controller/amplify/backendenvironment/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amplify/branch/zz_controller.go b/internal/controller/amplify/branch/zz_controller.go index 95d0669f7e..6d4321db0c 100755 --- a/internal/controller/amplify/branch/zz_controller.go +++ b/internal/controller/amplify/branch/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/amplify/webhook/zz_controller.go b/internal/controller/amplify/webhook/zz_controller.go index 0cd8544d69..b62b9a67cf 100755 --- a/internal/controller/amplify/webhook/zz_controller.go +++ b/internal/controller/amplify/webhook/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/account/zz_controller.go b/internal/controller/apigateway/account/zz_controller.go index b8fdabce11..6389015eca 100755 --- a/internal/controller/apigateway/account/zz_controller.go +++ b/internal/controller/apigateway/account/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/apikey/zz_controller.go b/internal/controller/apigateway/apikey/zz_controller.go index f880bafe1c..28346d6b1e 100755 --- a/internal/controller/apigateway/apikey/zz_controller.go +++ b/internal/controller/apigateway/apikey/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/authorizer/zz_controller.go b/internal/controller/apigateway/authorizer/zz_controller.go index b37d7c6868..4ed277ac8b 100755 --- a/internal/controller/apigateway/authorizer/zz_controller.go +++ b/internal/controller/apigateway/authorizer/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/basepathmapping/zz_controller.go b/internal/controller/apigateway/basepathmapping/zz_controller.go index afbe429ac1..3679523bd6 100755 --- a/internal/controller/apigateway/basepathmapping/zz_controller.go +++ b/internal/controller/apigateway/basepathmapping/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/clientcertificate/zz_controller.go b/internal/controller/apigateway/clientcertificate/zz_controller.go index 904555f16e..3ee404c634 100755 --- a/internal/controller/apigateway/clientcertificate/zz_controller.go +++ b/internal/controller/apigateway/clientcertificate/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/deployment/zz_controller.go b/internal/controller/apigateway/deployment/zz_controller.go index f03d7427e4..38bae15841 100755 --- a/internal/controller/apigateway/deployment/zz_controller.go +++ b/internal/controller/apigateway/deployment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/documentationpart/zz_controller.go b/internal/controller/apigateway/documentationpart/zz_controller.go index 532d25d49d..db3a6464b6 100755 --- a/internal/controller/apigateway/documentationpart/zz_controller.go +++ b/internal/controller/apigateway/documentationpart/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/documentationversion/zz_controller.go b/internal/controller/apigateway/documentationversion/zz_controller.go index 816f406f75..4b7790f58e 100755 --- a/internal/controller/apigateway/documentationversion/zz_controller.go +++ b/internal/controller/apigateway/documentationversion/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/domainname/zz_controller.go b/internal/controller/apigateway/domainname/zz_controller.go index 70c9481bde..11c4acedc3 100755 --- a/internal/controller/apigateway/domainname/zz_controller.go +++ b/internal/controller/apigateway/domainname/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/gatewayresponse/zz_controller.go b/internal/controller/apigateway/gatewayresponse/zz_controller.go index b34ce0254b..0304a34ec6 100755 --- a/internal/controller/apigateway/gatewayresponse/zz_controller.go +++ b/internal/controller/apigateway/gatewayresponse/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/integration/zz_controller.go b/internal/controller/apigateway/integration/zz_controller.go index e8cd62d69e..b8563d1f9c 100755 --- a/internal/controller/apigateway/integration/zz_controller.go +++ b/internal/controller/apigateway/integration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/integrationresponse/zz_controller.go b/internal/controller/apigateway/integrationresponse/zz_controller.go index bdbe7a7e1d..7644ecfadf 100755 --- a/internal/controller/apigateway/integrationresponse/zz_controller.go +++ b/internal/controller/apigateway/integrationresponse/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/method/zz_controller.go b/internal/controller/apigateway/method/zz_controller.go index 1c20c45065..dfa69e8dd5 100755 --- a/internal/controller/apigateway/method/zz_controller.go +++ b/internal/controller/apigateway/method/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/methodresponse/zz_controller.go b/internal/controller/apigateway/methodresponse/zz_controller.go index 2dc37e6ae8..fdd0fd9962 100755 --- a/internal/controller/apigateway/methodresponse/zz_controller.go +++ b/internal/controller/apigateway/methodresponse/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/methodsettings/zz_controller.go b/internal/controller/apigateway/methodsettings/zz_controller.go index 645b38e4eb..1a08344f2b 100755 --- a/internal/controller/apigateway/methodsettings/zz_controller.go +++ b/internal/controller/apigateway/methodsettings/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/model/zz_controller.go b/internal/controller/apigateway/model/zz_controller.go index deab39b9b8..ef7d24909d 100755 --- a/internal/controller/apigateway/model/zz_controller.go +++ b/internal/controller/apigateway/model/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/requestvalidator/zz_controller.go b/internal/controller/apigateway/requestvalidator/zz_controller.go index e4e9df2680..0531061e6d 100755 --- a/internal/controller/apigateway/requestvalidator/zz_controller.go +++ b/internal/controller/apigateway/requestvalidator/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/resource/zz_controller.go b/internal/controller/apigateway/resource/zz_controller.go index e78ef524a9..1d334b8c54 100755 --- a/internal/controller/apigateway/resource/zz_controller.go +++ b/internal/controller/apigateway/resource/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/restapi/zz_controller.go b/internal/controller/apigateway/restapi/zz_controller.go index edde05768c..7f598667df 100755 --- a/internal/controller/apigateway/restapi/zz_controller.go +++ b/internal/controller/apigateway/restapi/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/restapipolicy/zz_controller.go b/internal/controller/apigateway/restapipolicy/zz_controller.go index 87f76e1f2d..931fcc3209 100755 --- a/internal/controller/apigateway/restapipolicy/zz_controller.go +++ b/internal/controller/apigateway/restapipolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/stage/zz_controller.go b/internal/controller/apigateway/stage/zz_controller.go index f146e5d08c..a25f94f8da 100755 --- a/internal/controller/apigateway/stage/zz_controller.go +++ b/internal/controller/apigateway/stage/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/usageplan/zz_controller.go b/internal/controller/apigateway/usageplan/zz_controller.go index 1de9d0038f..0c9989a239 100755 --- a/internal/controller/apigateway/usageplan/zz_controller.go +++ b/internal/controller/apigateway/usageplan/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/usageplankey/zz_controller.go b/internal/controller/apigateway/usageplankey/zz_controller.go index 03d8f71a31..7b84d1b612 100755 --- a/internal/controller/apigateway/usageplankey/zz_controller.go +++ b/internal/controller/apigateway/usageplankey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigateway/vpclink/zz_controller.go b/internal/controller/apigateway/vpclink/zz_controller.go index 2a50749708..9181083cad 100755 --- a/internal/controller/apigateway/vpclink/zz_controller.go +++ b/internal/controller/apigateway/vpclink/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/api/zz_controller.go b/internal/controller/apigatewayv2/api/zz_controller.go index cadae53c00..d4c329915e 100755 --- a/internal/controller/apigatewayv2/api/zz_controller.go +++ b/internal/controller/apigatewayv2/api/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/apimapping/zz_controller.go b/internal/controller/apigatewayv2/apimapping/zz_controller.go index e47e463b52..336342c3cf 100755 --- a/internal/controller/apigatewayv2/apimapping/zz_controller.go +++ b/internal/controller/apigatewayv2/apimapping/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/authorizer/zz_controller.go b/internal/controller/apigatewayv2/authorizer/zz_controller.go index 24c540dfe5..bd72e54dcd 100755 --- a/internal/controller/apigatewayv2/authorizer/zz_controller.go +++ b/internal/controller/apigatewayv2/authorizer/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/deployment/zz_controller.go b/internal/controller/apigatewayv2/deployment/zz_controller.go index 85fd5cd3d8..f9d5e8b825 100755 --- a/internal/controller/apigatewayv2/deployment/zz_controller.go +++ b/internal/controller/apigatewayv2/deployment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/domainname/zz_controller.go b/internal/controller/apigatewayv2/domainname/zz_controller.go index 378ef7c28b..b7fd81d59c 100755 --- a/internal/controller/apigatewayv2/domainname/zz_controller.go +++ b/internal/controller/apigatewayv2/domainname/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/integration/zz_controller.go b/internal/controller/apigatewayv2/integration/zz_controller.go index 8642cdce94..48cf23b88c 100755 --- a/internal/controller/apigatewayv2/integration/zz_controller.go +++ b/internal/controller/apigatewayv2/integration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/integrationresponse/zz_controller.go b/internal/controller/apigatewayv2/integrationresponse/zz_controller.go index 9ed6ad4ced..925fd75f22 100755 --- a/internal/controller/apigatewayv2/integrationresponse/zz_controller.go +++ b/internal/controller/apigatewayv2/integrationresponse/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/model/zz_controller.go b/internal/controller/apigatewayv2/model/zz_controller.go index 5298798a48..0e4c0f1bc8 100755 --- a/internal/controller/apigatewayv2/model/zz_controller.go +++ b/internal/controller/apigatewayv2/model/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/route/zz_controller.go b/internal/controller/apigatewayv2/route/zz_controller.go index 30565b862a..7457358b23 100755 --- a/internal/controller/apigatewayv2/route/zz_controller.go +++ b/internal/controller/apigatewayv2/route/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/routeresponse/zz_controller.go b/internal/controller/apigatewayv2/routeresponse/zz_controller.go index 7410246ebf..64b55cdde6 100755 --- a/internal/controller/apigatewayv2/routeresponse/zz_controller.go +++ b/internal/controller/apigatewayv2/routeresponse/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/stage/zz_controller.go b/internal/controller/apigatewayv2/stage/zz_controller.go index 9cec768ba0..267acf6623 100755 --- a/internal/controller/apigatewayv2/stage/zz_controller.go +++ b/internal/controller/apigatewayv2/stage/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apigatewayv2/vpclink/zz_controller.go b/internal/controller/apigatewayv2/vpclink/zz_controller.go index dc9f45891c..819dd9a9db 100755 --- a/internal/controller/apigatewayv2/vpclink/zz_controller.go +++ b/internal/controller/apigatewayv2/vpclink/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appautoscaling/policy/zz_controller.go b/internal/controller/appautoscaling/policy/zz_controller.go index adb07aae95..b412f3637e 100755 --- a/internal/controller/appautoscaling/policy/zz_controller.go +++ b/internal/controller/appautoscaling/policy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appautoscaling/scheduledaction/zz_controller.go b/internal/controller/appautoscaling/scheduledaction/zz_controller.go index b3115c80e2..e824acac15 100755 --- a/internal/controller/appautoscaling/scheduledaction/zz_controller.go +++ b/internal/controller/appautoscaling/scheduledaction/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appautoscaling/target/zz_controller.go b/internal/controller/appautoscaling/target/zz_controller.go index dacb4d65e3..3ec4b73c82 100755 --- a/internal/controller/appautoscaling/target/zz_controller.go +++ b/internal/controller/appautoscaling/target/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/application/zz_controller.go b/internal/controller/appconfig/application/zz_controller.go index 8e25589f00..33ec133813 100755 --- a/internal/controller/appconfig/application/zz_controller.go +++ b/internal/controller/appconfig/application/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/configurationprofile/zz_controller.go b/internal/controller/appconfig/configurationprofile/zz_controller.go index 74797c008e..742582e041 100755 --- a/internal/controller/appconfig/configurationprofile/zz_controller.go +++ b/internal/controller/appconfig/configurationprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/deployment/zz_controller.go b/internal/controller/appconfig/deployment/zz_controller.go index 500fade169..786a867952 100755 --- a/internal/controller/appconfig/deployment/zz_controller.go +++ b/internal/controller/appconfig/deployment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/deploymentstrategy/zz_controller.go b/internal/controller/appconfig/deploymentstrategy/zz_controller.go index 353b1bfdc0..5845cf173f 100755 --- a/internal/controller/appconfig/deploymentstrategy/zz_controller.go +++ b/internal/controller/appconfig/deploymentstrategy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/environment/zz_controller.go b/internal/controller/appconfig/environment/zz_controller.go index 15dd7b2e6d..71de6f27f2 100755 --- a/internal/controller/appconfig/environment/zz_controller.go +++ b/internal/controller/appconfig/environment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/extension/zz_controller.go b/internal/controller/appconfig/extension/zz_controller.go index 97041ad645..e17675419a 100755 --- a/internal/controller/appconfig/extension/zz_controller.go +++ b/internal/controller/appconfig/extension/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/extensionassociation/zz_controller.go b/internal/controller/appconfig/extensionassociation/zz_controller.go index b20a6380fb..ef1363ca74 100755 --- a/internal/controller/appconfig/extensionassociation/zz_controller.go +++ b/internal/controller/appconfig/extensionassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appconfig/hostedconfigurationversion/zz_controller.go b/internal/controller/appconfig/hostedconfigurationversion/zz_controller.go index d24a9af354..6e77bdd17d 100755 --- a/internal/controller/appconfig/hostedconfigurationversion/zz_controller.go +++ b/internal/controller/appconfig/hostedconfigurationversion/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appflow/flow/zz_controller.go b/internal/controller/appflow/flow/zz_controller.go index e3268a2720..d6c21b87ac 100755 --- a/internal/controller/appflow/flow/zz_controller.go +++ b/internal/controller/appflow/flow/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appintegrations/eventintegration/zz_controller.go b/internal/controller/appintegrations/eventintegration/zz_controller.go index e1afbcf6af..74bfa5e3f2 100755 --- a/internal/controller/appintegrations/eventintegration/zz_controller.go +++ b/internal/controller/appintegrations/eventintegration/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/applicationinsights/application/zz_controller.go b/internal/controller/applicationinsights/application/zz_controller.go index 4416be4599..39b8b46ca5 100755 --- a/internal/controller/applicationinsights/application/zz_controller.go +++ b/internal/controller/applicationinsights/application/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/gatewayroute/zz_controller.go b/internal/controller/appmesh/gatewayroute/zz_controller.go index 684ef2d1b8..09b338fe6f 100755 --- a/internal/controller/appmesh/gatewayroute/zz_controller.go +++ b/internal/controller/appmesh/gatewayroute/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/mesh/zz_controller.go b/internal/controller/appmesh/mesh/zz_controller.go index 77d9059992..20905b7711 100755 --- a/internal/controller/appmesh/mesh/zz_controller.go +++ b/internal/controller/appmesh/mesh/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/route/zz_controller.go b/internal/controller/appmesh/route/zz_controller.go index 1b73a870f9..371ef0836a 100755 --- a/internal/controller/appmesh/route/zz_controller.go +++ b/internal/controller/appmesh/route/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/virtualgateway/zz_controller.go b/internal/controller/appmesh/virtualgateway/zz_controller.go index 6b5ebfb7d2..b5a699eee6 100755 --- a/internal/controller/appmesh/virtualgateway/zz_controller.go +++ b/internal/controller/appmesh/virtualgateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/virtualnode/zz_controller.go b/internal/controller/appmesh/virtualnode/zz_controller.go index 6ca8b47d14..56a892c0aa 100755 --- a/internal/controller/appmesh/virtualnode/zz_controller.go +++ b/internal/controller/appmesh/virtualnode/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/virtualrouter/zz_controller.go b/internal/controller/appmesh/virtualrouter/zz_controller.go index 92aeb51848..3c24c85067 100755 --- a/internal/controller/appmesh/virtualrouter/zz_controller.go +++ b/internal/controller/appmesh/virtualrouter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appmesh/virtualservice/zz_controller.go b/internal/controller/appmesh/virtualservice/zz_controller.go index b5a6ab5a0b..376fc4e6b8 100755 --- a/internal/controller/appmesh/virtualservice/zz_controller.go +++ b/internal/controller/appmesh/virtualservice/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apprunner/autoscalingconfigurationversion/zz_controller.go b/internal/controller/apprunner/autoscalingconfigurationversion/zz_controller.go index efdd64cf99..cb6ded58e9 100755 --- a/internal/controller/apprunner/autoscalingconfigurationversion/zz_controller.go +++ b/internal/controller/apprunner/autoscalingconfigurationversion/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apprunner/connection/zz_controller.go b/internal/controller/apprunner/connection/zz_controller.go index 3dd9628222..4528e89f6e 100755 --- a/internal/controller/apprunner/connection/zz_controller.go +++ b/internal/controller/apprunner/connection/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apprunner/observabilityconfiguration/zz_controller.go b/internal/controller/apprunner/observabilityconfiguration/zz_controller.go index 1654a97d4d..835d1bb456 100755 --- a/internal/controller/apprunner/observabilityconfiguration/zz_controller.go +++ b/internal/controller/apprunner/observabilityconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apprunner/service/zz_controller.go b/internal/controller/apprunner/service/zz_controller.go index a269582c85..fc6a51b5da 100755 --- a/internal/controller/apprunner/service/zz_controller.go +++ b/internal/controller/apprunner/service/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/apprunner/vpcconnector/zz_controller.go b/internal/controller/apprunner/vpcconnector/zz_controller.go index 4bdf898cf9..ccaf10655f 100755 --- a/internal/controller/apprunner/vpcconnector/zz_controller.go +++ b/internal/controller/apprunner/vpcconnector/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/directoryconfig/zz_controller.go b/internal/controller/appstream/directoryconfig/zz_controller.go index 779f756072..496b232362 100755 --- a/internal/controller/appstream/directoryconfig/zz_controller.go +++ b/internal/controller/appstream/directoryconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/fleet/zz_controller.go b/internal/controller/appstream/fleet/zz_controller.go index 5ed7b1f517..8f2047c117 100755 --- a/internal/controller/appstream/fleet/zz_controller.go +++ b/internal/controller/appstream/fleet/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/fleetstackassociation/zz_controller.go b/internal/controller/appstream/fleetstackassociation/zz_controller.go index 5fc085441b..b2bf28e855 100755 --- a/internal/controller/appstream/fleetstackassociation/zz_controller.go +++ b/internal/controller/appstream/fleetstackassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/imagebuilder/zz_controller.go b/internal/controller/appstream/imagebuilder/zz_controller.go index 41e996727f..762568dfe5 100755 --- a/internal/controller/appstream/imagebuilder/zz_controller.go +++ b/internal/controller/appstream/imagebuilder/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/stack/zz_controller.go b/internal/controller/appstream/stack/zz_controller.go index 9dff292644..68180dda60 100755 --- a/internal/controller/appstream/stack/zz_controller.go +++ b/internal/controller/appstream/stack/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/user/zz_controller.go b/internal/controller/appstream/user/zz_controller.go index ee2f5f2a1d..5d345b78a2 100755 --- a/internal/controller/appstream/user/zz_controller.go +++ b/internal/controller/appstream/user/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appstream/userstackassociation/zz_controller.go b/internal/controller/appstream/userstackassociation/zz_controller.go index cadcafbfb5..df64a9a940 100755 --- a/internal/controller/appstream/userstackassociation/zz_controller.go +++ b/internal/controller/appstream/userstackassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/apicache/zz_controller.go b/internal/controller/appsync/apicache/zz_controller.go index 6bfa74f0a7..453c630af2 100755 --- a/internal/controller/appsync/apicache/zz_controller.go +++ b/internal/controller/appsync/apicache/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/apikey/zz_controller.go b/internal/controller/appsync/apikey/zz_controller.go index fd6f5e5ee9..b7385bed0b 100755 --- a/internal/controller/appsync/apikey/zz_controller.go +++ b/internal/controller/appsync/apikey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/datasource/zz_controller.go b/internal/controller/appsync/datasource/zz_controller.go index 085ec2e90e..782e33f2eb 100755 --- a/internal/controller/appsync/datasource/zz_controller.go +++ b/internal/controller/appsync/datasource/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/function/zz_controller.go b/internal/controller/appsync/function/zz_controller.go index fbf60fa129..c497c79844 100755 --- a/internal/controller/appsync/function/zz_controller.go +++ b/internal/controller/appsync/function/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/graphqlapi/zz_controller.go b/internal/controller/appsync/graphqlapi/zz_controller.go index 5b84947bbe..91df9c551a 100755 --- a/internal/controller/appsync/graphqlapi/zz_controller.go +++ b/internal/controller/appsync/graphqlapi/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/appsync/resolver/zz_controller.go b/internal/controller/appsync/resolver/zz_controller.go index 36211ba865..b92a692668 100755 --- a/internal/controller/appsync/resolver/zz_controller.go +++ b/internal/controller/appsync/resolver/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/athena/database/zz_controller.go b/internal/controller/athena/database/zz_controller.go index d6e3931b1e..f8d1a2b019 100755 --- a/internal/controller/athena/database/zz_controller.go +++ b/internal/controller/athena/database/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/athena/datacatalog/zz_controller.go b/internal/controller/athena/datacatalog/zz_controller.go index 4b49ae6e1c..c47d399e0b 100755 --- a/internal/controller/athena/datacatalog/zz_controller.go +++ b/internal/controller/athena/datacatalog/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/athena/namedquery/zz_controller.go b/internal/controller/athena/namedquery/zz_controller.go index 42a50e08bd..79f648c988 100755 --- a/internal/controller/athena/namedquery/zz_controller.go +++ b/internal/controller/athena/namedquery/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/athena/workgroup/zz_controller.go b/internal/controller/athena/workgroup/zz_controller.go index e1eca4812e..4eef819dc9 100755 --- a/internal/controller/athena/workgroup/zz_controller.go +++ b/internal/controller/athena/workgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/attachment/zz_controller.go b/internal/controller/autoscaling/attachment/zz_controller.go index 2f96c9befc..510cb75587 100755 --- a/internal/controller/autoscaling/attachment/zz_controller.go +++ b/internal/controller/autoscaling/attachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/autoscalinggroup/zz_controller.go b/internal/controller/autoscaling/autoscalinggroup/zz_controller.go index 057c102bc8..ab6d4d41d3 100755 --- a/internal/controller/autoscaling/autoscalinggroup/zz_controller.go +++ b/internal/controller/autoscaling/autoscalinggroup/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/grouptag/zz_controller.go b/internal/controller/autoscaling/grouptag/zz_controller.go index a75c07dbca..95e5f31601 100755 --- a/internal/controller/autoscaling/grouptag/zz_controller.go +++ b/internal/controller/autoscaling/grouptag/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/launchconfiguration/zz_controller.go b/internal/controller/autoscaling/launchconfiguration/zz_controller.go index e6c35fdb8b..1553a578ef 100755 --- a/internal/controller/autoscaling/launchconfiguration/zz_controller.go +++ b/internal/controller/autoscaling/launchconfiguration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/lifecyclehook/zz_controller.go b/internal/controller/autoscaling/lifecyclehook/zz_controller.go index 0615ee07a6..26e5d78807 100755 --- a/internal/controller/autoscaling/lifecyclehook/zz_controller.go +++ b/internal/controller/autoscaling/lifecyclehook/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/notification/zz_controller.go b/internal/controller/autoscaling/notification/zz_controller.go index 09353f3d47..8dca08a6b2 100755 --- a/internal/controller/autoscaling/notification/zz_controller.go +++ b/internal/controller/autoscaling/notification/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/policy/zz_controller.go b/internal/controller/autoscaling/policy/zz_controller.go index c25353cf54..f37978bc1f 100755 --- a/internal/controller/autoscaling/policy/zz_controller.go +++ b/internal/controller/autoscaling/policy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscaling/schedule/zz_controller.go b/internal/controller/autoscaling/schedule/zz_controller.go index c934405225..f6f4eb222d 100755 --- a/internal/controller/autoscaling/schedule/zz_controller.go +++ b/internal/controller/autoscaling/schedule/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/autoscalingplans/scalingplan/zz_controller.go b/internal/controller/autoscalingplans/scalingplan/zz_controller.go index 2b134dc926..920bb10954 100755 --- a/internal/controller/autoscalingplans/scalingplan/zz_controller.go +++ b/internal/controller/autoscalingplans/scalingplan/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/framework/zz_controller.go b/internal/controller/backup/framework/zz_controller.go index 5ead98e830..9972803f03 100755 --- a/internal/controller/backup/framework/zz_controller.go +++ b/internal/controller/backup/framework/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/globalsettings/zz_controller.go b/internal/controller/backup/globalsettings/zz_controller.go index a3d00f5ca7..2f09488313 100755 --- a/internal/controller/backup/globalsettings/zz_controller.go +++ b/internal/controller/backup/globalsettings/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/plan/zz_controller.go b/internal/controller/backup/plan/zz_controller.go index 367dd85d6c..fce06ff7b6 100755 --- a/internal/controller/backup/plan/zz_controller.go +++ b/internal/controller/backup/plan/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/regionsettings/zz_controller.go b/internal/controller/backup/regionsettings/zz_controller.go index 5c11195ab8..c3634cf6e0 100755 --- a/internal/controller/backup/regionsettings/zz_controller.go +++ b/internal/controller/backup/regionsettings/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/reportplan/zz_controller.go b/internal/controller/backup/reportplan/zz_controller.go index f2a3fb698f..75f23ea430 100755 --- a/internal/controller/backup/reportplan/zz_controller.go +++ b/internal/controller/backup/reportplan/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/selection/zz_controller.go b/internal/controller/backup/selection/zz_controller.go index 76524e096a..f419eea67a 100755 --- a/internal/controller/backup/selection/zz_controller.go +++ b/internal/controller/backup/selection/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/vault/zz_controller.go b/internal/controller/backup/vault/zz_controller.go index c834f02047..9117697587 100755 --- a/internal/controller/backup/vault/zz_controller.go +++ b/internal/controller/backup/vault/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/vaultlockconfiguration/zz_controller.go b/internal/controller/backup/vaultlockconfiguration/zz_controller.go index cbfd045ea2..0d033fb002 100755 --- a/internal/controller/backup/vaultlockconfiguration/zz_controller.go +++ b/internal/controller/backup/vaultlockconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/vaultnotifications/zz_controller.go b/internal/controller/backup/vaultnotifications/zz_controller.go index 130b001a6e..c56a544116 100755 --- a/internal/controller/backup/vaultnotifications/zz_controller.go +++ b/internal/controller/backup/vaultnotifications/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/backup/vaultpolicy/zz_controller.go b/internal/controller/backup/vaultpolicy/zz_controller.go index 4637cca337..32e71077da 100755 --- a/internal/controller/backup/vaultpolicy/zz_controller.go +++ b/internal/controller/backup/vaultpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/batch/schedulingpolicy/zz_controller.go b/internal/controller/batch/schedulingpolicy/zz_controller.go index b76b309725..3298b74279 100755 --- a/internal/controller/batch/schedulingpolicy/zz_controller.go +++ b/internal/controller/batch/schedulingpolicy/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/budgets/budget/zz_controller.go b/internal/controller/budgets/budget/zz_controller.go index 46f63f038a..b15254b9ac 100755 --- a/internal/controller/budgets/budget/zz_controller.go +++ b/internal/controller/budgets/budget/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/budgets/budgetaction/zz_controller.go b/internal/controller/budgets/budgetaction/zz_controller.go index 9fc902fe71..61363f65b4 100755 --- a/internal/controller/budgets/budgetaction/zz_controller.go +++ b/internal/controller/budgets/budgetaction/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ce/anomalymonitor/zz_controller.go b/internal/controller/ce/anomalymonitor/zz_controller.go index ab90ba15a2..be73c366cf 100755 --- a/internal/controller/ce/anomalymonitor/zz_controller.go +++ b/internal/controller/ce/anomalymonitor/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnector/zz_controller.go b/internal/controller/chime/voiceconnector/zz_controller.go index e3be322ec6..1bcc13d64a 100755 --- a/internal/controller/chime/voiceconnector/zz_controller.go +++ b/internal/controller/chime/voiceconnector/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectorgroup/zz_controller.go b/internal/controller/chime/voiceconnectorgroup/zz_controller.go index ece7082051..f08c5a9e19 100755 --- a/internal/controller/chime/voiceconnectorgroup/zz_controller.go +++ b/internal/controller/chime/voiceconnectorgroup/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectorlogging/zz_controller.go b/internal/controller/chime/voiceconnectorlogging/zz_controller.go index d594f9837a..7fad50b5f0 100755 --- a/internal/controller/chime/voiceconnectorlogging/zz_controller.go +++ b/internal/controller/chime/voiceconnectorlogging/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectororigination/zz_controller.go b/internal/controller/chime/voiceconnectororigination/zz_controller.go index 69a92400e8..84254ee8ff 100755 --- a/internal/controller/chime/voiceconnectororigination/zz_controller.go +++ b/internal/controller/chime/voiceconnectororigination/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectorstreaming/zz_controller.go b/internal/controller/chime/voiceconnectorstreaming/zz_controller.go index d37821f9e5..04b6be0651 100755 --- a/internal/controller/chime/voiceconnectorstreaming/zz_controller.go +++ b/internal/controller/chime/voiceconnectorstreaming/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectortermination/zz_controller.go b/internal/controller/chime/voiceconnectortermination/zz_controller.go index 5344ecae41..1433fdf842 100755 --- a/internal/controller/chime/voiceconnectortermination/zz_controller.go +++ b/internal/controller/chime/voiceconnectortermination/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/chime/voiceconnectorterminationcredentials/zz_controller.go b/internal/controller/chime/voiceconnectorterminationcredentials/zz_controller.go index 477aebf016..cacc0f4418 100755 --- a/internal/controller/chime/voiceconnectorterminationcredentials/zz_controller.go +++ b/internal/controller/chime/voiceconnectorterminationcredentials/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloud9/environmentec2/zz_controller.go b/internal/controller/cloud9/environmentec2/zz_controller.go index 6ec3f9e315..9f4cd2a3d2 100755 --- a/internal/controller/cloud9/environmentec2/zz_controller.go +++ b/internal/controller/cloud9/environmentec2/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloud9/environmentmembership/zz_controller.go b/internal/controller/cloud9/environmentmembership/zz_controller.go index 8b3a99510c..24b35c9abf 100755 --- a/internal/controller/cloud9/environmentmembership/zz_controller.go +++ b/internal/controller/cloud9/environmentmembership/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudcontrol/resource/zz_controller.go b/internal/controller/cloudcontrol/resource/zz_controller.go index b786988138..7d0be4d6c1 100755 --- a/internal/controller/cloudcontrol/resource/zz_controller.go +++ b/internal/controller/cloudcontrol/resource/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudformation/stack/zz_controller.go b/internal/controller/cloudformation/stack/zz_controller.go index ae90299819..bec45dc781 100755 --- a/internal/controller/cloudformation/stack/zz_controller.go +++ b/internal/controller/cloudformation/stack/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudformation/stackset/zz_controller.go b/internal/controller/cloudformation/stackset/zz_controller.go index 59fb24d901..44ca185d60 100755 --- a/internal/controller/cloudformation/stackset/zz_controller.go +++ b/internal/controller/cloudformation/stackset/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/cachepolicy/zz_controller.go b/internal/controller/cloudfront/cachepolicy/zz_controller.go index 4aec78929a..0b5180f8ee 100755 --- a/internal/controller/cloudfront/cachepolicy/zz_controller.go +++ b/internal/controller/cloudfront/cachepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/distribution/zz_controller.go b/internal/controller/cloudfront/distribution/zz_controller.go index 83087e1c70..8272a3a75d 100755 --- a/internal/controller/cloudfront/distribution/zz_controller.go +++ b/internal/controller/cloudfront/distribution/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/fieldlevelencryptionconfig/zz_controller.go b/internal/controller/cloudfront/fieldlevelencryptionconfig/zz_controller.go index 75abf91a00..31f99c6e59 100755 --- a/internal/controller/cloudfront/fieldlevelencryptionconfig/zz_controller.go +++ b/internal/controller/cloudfront/fieldlevelencryptionconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/fieldlevelencryptionprofile/zz_controller.go b/internal/controller/cloudfront/fieldlevelencryptionprofile/zz_controller.go index cffba6d07c..061f73f1f0 100755 --- a/internal/controller/cloudfront/fieldlevelencryptionprofile/zz_controller.go +++ b/internal/controller/cloudfront/fieldlevelencryptionprofile/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/function/zz_controller.go b/internal/controller/cloudfront/function/zz_controller.go index de52786904..7cf15de77d 100755 --- a/internal/controller/cloudfront/function/zz_controller.go +++ b/internal/controller/cloudfront/function/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/keygroup/zz_controller.go b/internal/controller/cloudfront/keygroup/zz_controller.go index a40bc4d628..a17318b088 100755 --- a/internal/controller/cloudfront/keygroup/zz_controller.go +++ b/internal/controller/cloudfront/keygroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/monitoringsubscription/zz_controller.go b/internal/controller/cloudfront/monitoringsubscription/zz_controller.go index 6164312107..5e68a48264 100755 --- a/internal/controller/cloudfront/monitoringsubscription/zz_controller.go +++ b/internal/controller/cloudfront/monitoringsubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/originaccesscontrol/zz_controller.go b/internal/controller/cloudfront/originaccesscontrol/zz_controller.go index d70f2b85fe..dbdcf4dc19 100755 --- a/internal/controller/cloudfront/originaccesscontrol/zz_controller.go +++ b/internal/controller/cloudfront/originaccesscontrol/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/originaccessidentity/zz_controller.go b/internal/controller/cloudfront/originaccessidentity/zz_controller.go index a4b023f762..8874c79a53 100755 --- a/internal/controller/cloudfront/originaccessidentity/zz_controller.go +++ b/internal/controller/cloudfront/originaccessidentity/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/originrequestpolicy/zz_controller.go b/internal/controller/cloudfront/originrequestpolicy/zz_controller.go index e5d642fcb3..68777c4cc0 100755 --- a/internal/controller/cloudfront/originrequestpolicy/zz_controller.go +++ b/internal/controller/cloudfront/originrequestpolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/publickey/zz_controller.go b/internal/controller/cloudfront/publickey/zz_controller.go index 367e86f99b..3688285ea1 100755 --- a/internal/controller/cloudfront/publickey/zz_controller.go +++ b/internal/controller/cloudfront/publickey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/realtimelogconfig/zz_controller.go b/internal/controller/cloudfront/realtimelogconfig/zz_controller.go index 87d6743383..ed2bec548f 100755 --- a/internal/controller/cloudfront/realtimelogconfig/zz_controller.go +++ b/internal/controller/cloudfront/realtimelogconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudfront/responseheaderspolicy/zz_controller.go b/internal/controller/cloudfront/responseheaderspolicy/zz_controller.go index cb7a13a53f..a7fbe4e794 100755 --- a/internal/controller/cloudfront/responseheaderspolicy/zz_controller.go +++ b/internal/controller/cloudfront/responseheaderspolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudsearch/domain/zz_controller.go b/internal/controller/cloudsearch/domain/zz_controller.go index 08950c3590..2e8c253bdd 100755 --- a/internal/controller/cloudsearch/domain/zz_controller.go +++ b/internal/controller/cloudsearch/domain/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudsearch/domainserviceaccesspolicy/zz_controller.go b/internal/controller/cloudsearch/domainserviceaccesspolicy/zz_controller.go index 44db1f49d4..6ba0c2aedd 100755 --- a/internal/controller/cloudsearch/domainserviceaccesspolicy/zz_controller.go +++ b/internal/controller/cloudsearch/domainserviceaccesspolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudtrail/eventdatastore/zz_controller.go b/internal/controller/cloudtrail/eventdatastore/zz_controller.go index aa00726369..27a6338539 100755 --- a/internal/controller/cloudtrail/eventdatastore/zz_controller.go +++ b/internal/controller/cloudtrail/eventdatastore/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudtrail/trail/zz_controller.go b/internal/controller/cloudtrail/trail/zz_controller.go index d374d99b69..646775eb3c 100755 --- a/internal/controller/cloudtrail/trail/zz_controller.go +++ b/internal/controller/cloudtrail/trail/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatch/compositealarm/zz_controller.go b/internal/controller/cloudwatch/compositealarm/zz_controller.go index b92d74e6b4..fe36125d23 100755 --- a/internal/controller/cloudwatch/compositealarm/zz_controller.go +++ b/internal/controller/cloudwatch/compositealarm/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatch/dashboard/zz_controller.go b/internal/controller/cloudwatch/dashboard/zz_controller.go index 97202eeaad..6dffad7a3a 100755 --- a/internal/controller/cloudwatch/dashboard/zz_controller.go +++ b/internal/controller/cloudwatch/dashboard/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatch/metricalarm/zz_controller.go b/internal/controller/cloudwatch/metricalarm/zz_controller.go index 05b56ddb7e..642aec74d2 100755 --- a/internal/controller/cloudwatch/metricalarm/zz_controller.go +++ b/internal/controller/cloudwatch/metricalarm/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatch/metricstream/zz_controller.go b/internal/controller/cloudwatch/metricstream/zz_controller.go index 485d21db88..8d11f7cbe1 100755 --- a/internal/controller/cloudwatch/metricstream/zz_controller.go +++ b/internal/controller/cloudwatch/metricstream/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/apidestination/zz_controller.go b/internal/controller/cloudwatchevents/apidestination/zz_controller.go index c3b9a9d4de..e6473ebc67 100755 --- a/internal/controller/cloudwatchevents/apidestination/zz_controller.go +++ b/internal/controller/cloudwatchevents/apidestination/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/archive/zz_controller.go b/internal/controller/cloudwatchevents/archive/zz_controller.go index fe04522cec..494506caa3 100755 --- a/internal/controller/cloudwatchevents/archive/zz_controller.go +++ b/internal/controller/cloudwatchevents/archive/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/bus/zz_controller.go b/internal/controller/cloudwatchevents/bus/zz_controller.go index c415c6d370..a4d86da71d 100755 --- a/internal/controller/cloudwatchevents/bus/zz_controller.go +++ b/internal/controller/cloudwatchevents/bus/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/buspolicy/zz_controller.go b/internal/controller/cloudwatchevents/buspolicy/zz_controller.go index 1726b96593..77b79598fd 100755 --- a/internal/controller/cloudwatchevents/buspolicy/zz_controller.go +++ b/internal/controller/cloudwatchevents/buspolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/connection/zz_controller.go b/internal/controller/cloudwatchevents/connection/zz_controller.go index 3ea8efd243..72b94e0949 100755 --- a/internal/controller/cloudwatchevents/connection/zz_controller.go +++ b/internal/controller/cloudwatchevents/connection/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/permission/zz_controller.go b/internal/controller/cloudwatchevents/permission/zz_controller.go index b572bcd216..7fb2bed6a6 100755 --- a/internal/controller/cloudwatchevents/permission/zz_controller.go +++ b/internal/controller/cloudwatchevents/permission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/rule/zz_controller.go b/internal/controller/cloudwatchevents/rule/zz_controller.go index 04a12ca6f6..d5d66b1fc4 100755 --- a/internal/controller/cloudwatchevents/rule/zz_controller.go +++ b/internal/controller/cloudwatchevents/rule/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchevents/target/zz_controller.go b/internal/controller/cloudwatchevents/target/zz_controller.go index 01b4b1d5b3..f9ad83577b 100755 --- a/internal/controller/cloudwatchevents/target/zz_controller.go +++ b/internal/controller/cloudwatchevents/target/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/definition/zz_controller.go b/internal/controller/cloudwatchlogs/definition/zz_controller.go index 57d986e588..651b5a1966 100755 --- a/internal/controller/cloudwatchlogs/definition/zz_controller.go +++ b/internal/controller/cloudwatchlogs/definition/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/destination/zz_controller.go b/internal/controller/cloudwatchlogs/destination/zz_controller.go index 9f9bc5861e..bb9075133d 100755 --- a/internal/controller/cloudwatchlogs/destination/zz_controller.go +++ b/internal/controller/cloudwatchlogs/destination/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/destinationpolicy/zz_controller.go b/internal/controller/cloudwatchlogs/destinationpolicy/zz_controller.go index b994584617..1594955fe3 100755 --- a/internal/controller/cloudwatchlogs/destinationpolicy/zz_controller.go +++ b/internal/controller/cloudwatchlogs/destinationpolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/group/zz_controller.go b/internal/controller/cloudwatchlogs/group/zz_controller.go index 03bfe8792a..a548a6b822 100755 --- a/internal/controller/cloudwatchlogs/group/zz_controller.go +++ b/internal/controller/cloudwatchlogs/group/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/metricfilter/zz_controller.go b/internal/controller/cloudwatchlogs/metricfilter/zz_controller.go index 19207b62da..c813a4be35 100755 --- a/internal/controller/cloudwatchlogs/metricfilter/zz_controller.go +++ b/internal/controller/cloudwatchlogs/metricfilter/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/resourcepolicy/zz_controller.go b/internal/controller/cloudwatchlogs/resourcepolicy/zz_controller.go index e05cb96dbe..c11a6764c0 100755 --- a/internal/controller/cloudwatchlogs/resourcepolicy/zz_controller.go +++ b/internal/controller/cloudwatchlogs/resourcepolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/stream/zz_controller.go b/internal/controller/cloudwatchlogs/stream/zz_controller.go index 809cbbdcad..81a0822ac5 100755 --- a/internal/controller/cloudwatchlogs/stream/zz_controller.go +++ b/internal/controller/cloudwatchlogs/stream/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cloudwatchlogs/subscriptionfilter/zz_controller.go b/internal/controller/cloudwatchlogs/subscriptionfilter/zz_controller.go index ac5d7028c3..ff76c7e3fa 100755 --- a/internal/controller/cloudwatchlogs/subscriptionfilter/zz_controller.go +++ b/internal/controller/cloudwatchlogs/subscriptionfilter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codecommit/approvalruletemplate/zz_controller.go b/internal/controller/codecommit/approvalruletemplate/zz_controller.go index f7d7256db9..24fe4e7388 100755 --- a/internal/controller/codecommit/approvalruletemplate/zz_controller.go +++ b/internal/controller/codecommit/approvalruletemplate/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codecommit/approvalruletemplateassociation/zz_controller.go b/internal/controller/codecommit/approvalruletemplateassociation/zz_controller.go index 540e8625cd..1cec4287bf 100755 --- a/internal/controller/codecommit/approvalruletemplateassociation/zz_controller.go +++ b/internal/controller/codecommit/approvalruletemplateassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codecommit/repository/zz_controller.go b/internal/controller/codecommit/repository/zz_controller.go index b86e4103e5..d7a0b1462b 100755 --- a/internal/controller/codecommit/repository/zz_controller.go +++ b/internal/controller/codecommit/repository/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codecommit/trigger/zz_controller.go b/internal/controller/codecommit/trigger/zz_controller.go index 162302ff63..0d4ca26df4 100755 --- a/internal/controller/codecommit/trigger/zz_controller.go +++ b/internal/controller/codecommit/trigger/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codepipeline/codepipeline/zz_controller.go b/internal/controller/codepipeline/codepipeline/zz_controller.go index 629dc2fe54..9ab17335a4 100755 --- a/internal/controller/codepipeline/codepipeline/zz_controller.go +++ b/internal/controller/codepipeline/codepipeline/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codepipeline/customactiontype/zz_controller.go b/internal/controller/codepipeline/customactiontype/zz_controller.go index 0d17bb3699..6a6f8cbdbc 100755 --- a/internal/controller/codepipeline/customactiontype/zz_controller.go +++ b/internal/controller/codepipeline/customactiontype/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codepipeline/webhook/zz_controller.go b/internal/controller/codepipeline/webhook/zz_controller.go index 7bf5b8b8b1..97005e184e 100755 --- a/internal/controller/codepipeline/webhook/zz_controller.go +++ b/internal/controller/codepipeline/webhook/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codestarconnections/connection/zz_controller.go b/internal/controller/codestarconnections/connection/zz_controller.go index fd2e2ea3fc..fe27ae9c75 100755 --- a/internal/controller/codestarconnections/connection/zz_controller.go +++ b/internal/controller/codestarconnections/connection/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codestarconnections/host/zz_controller.go b/internal/controller/codestarconnections/host/zz_controller.go index 8d680ca042..3538831a8a 100755 --- a/internal/controller/codestarconnections/host/zz_controller.go +++ b/internal/controller/codestarconnections/host/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/codestarnotifications/notificationrule/zz_controller.go b/internal/controller/codestarnotifications/notificationrule/zz_controller.go index 06b0c3b913..c72732aa5d 100755 --- a/internal/controller/codestarnotifications/notificationrule/zz_controller.go +++ b/internal/controller/codestarnotifications/notificationrule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidentity/cognitoidentitypoolproviderprincipaltag/zz_controller.go b/internal/controller/cognitoidentity/cognitoidentitypoolproviderprincipaltag/zz_controller.go index 411678da70..1408f70eaa 100755 --- a/internal/controller/cognitoidentity/cognitoidentitypoolproviderprincipaltag/zz_controller.go +++ b/internal/controller/cognitoidentity/cognitoidentitypoolproviderprincipaltag/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidentity/pool/zz_controller.go b/internal/controller/cognitoidentity/pool/zz_controller.go index 1ee92eba1d..735ce91c6d 100755 --- a/internal/controller/cognitoidentity/pool/zz_controller.go +++ b/internal/controller/cognitoidentity/pool/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidentity/poolrolesattachment/zz_controller.go b/internal/controller/cognitoidentity/poolrolesattachment/zz_controller.go index d1632dbb6e..fe98b6cf21 100755 --- a/internal/controller/cognitoidentity/poolrolesattachment/zz_controller.go +++ b/internal/controller/cognitoidentity/poolrolesattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/identityprovider/zz_controller.go b/internal/controller/cognitoidp/identityprovider/zz_controller.go index 1045a10303..56c845fdf4 100755 --- a/internal/controller/cognitoidp/identityprovider/zz_controller.go +++ b/internal/controller/cognitoidp/identityprovider/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/resourceserver/zz_controller.go b/internal/controller/cognitoidp/resourceserver/zz_controller.go index d2de976d3e..48968af8b8 100755 --- a/internal/controller/cognitoidp/resourceserver/zz_controller.go +++ b/internal/controller/cognitoidp/resourceserver/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/riskconfiguration/zz_controller.go b/internal/controller/cognitoidp/riskconfiguration/zz_controller.go index 0ed6d95b4d..eb2574b931 100755 --- a/internal/controller/cognitoidp/riskconfiguration/zz_controller.go +++ b/internal/controller/cognitoidp/riskconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/user/zz_controller.go b/internal/controller/cognitoidp/user/zz_controller.go index f3c3734923..b2405bb850 100755 --- a/internal/controller/cognitoidp/user/zz_controller.go +++ b/internal/controller/cognitoidp/user/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/usergroup/zz_controller.go b/internal/controller/cognitoidp/usergroup/zz_controller.go index abb4886259..85850754c6 100755 --- a/internal/controller/cognitoidp/usergroup/zz_controller.go +++ b/internal/controller/cognitoidp/usergroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/useringroup/zz_controller.go b/internal/controller/cognitoidp/useringroup/zz_controller.go index 168912e926..490add52a8 100755 --- a/internal/controller/cognitoidp/useringroup/zz_controller.go +++ b/internal/controller/cognitoidp/useringroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/userpool/zz_controller.go b/internal/controller/cognitoidp/userpool/zz_controller.go index 0024754f2a..f71ef3fb00 100755 --- a/internal/controller/cognitoidp/userpool/zz_controller.go +++ b/internal/controller/cognitoidp/userpool/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/userpoolclient/zz_controller.go b/internal/controller/cognitoidp/userpoolclient/zz_controller.go index 5998168750..ec8d12cd46 100755 --- a/internal/controller/cognitoidp/userpoolclient/zz_controller.go +++ b/internal/controller/cognitoidp/userpoolclient/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/userpooldomain/zz_controller.go b/internal/controller/cognitoidp/userpooldomain/zz_controller.go index 83faf71829..9868338f6a 100755 --- a/internal/controller/cognitoidp/userpooldomain/zz_controller.go +++ b/internal/controller/cognitoidp/userpooldomain/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cognitoidp/userpooluicustomization/zz_controller.go b/internal/controller/cognitoidp/userpooluicustomization/zz_controller.go index 39756e620b..0ea408ff72 100755 --- a/internal/controller/cognitoidp/userpooluicustomization/zz_controller.go +++ b/internal/controller/cognitoidp/userpooluicustomization/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/awsconfigurationrecorderstatus/zz_controller.go b/internal/controller/configservice/awsconfigurationrecorderstatus/zz_controller.go index b74292a036..9f07998121 100755 --- a/internal/controller/configservice/awsconfigurationrecorderstatus/zz_controller.go +++ b/internal/controller/configservice/awsconfigurationrecorderstatus/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/configrule/zz_controller.go b/internal/controller/configservice/configrule/zz_controller.go index 88e2c6bd04..a47d75a950 100755 --- a/internal/controller/configservice/configrule/zz_controller.go +++ b/internal/controller/configservice/configrule/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/configurationaggregator/zz_controller.go b/internal/controller/configservice/configurationaggregator/zz_controller.go index 221978f104..16fc6bb17b 100755 --- a/internal/controller/configservice/configurationaggregator/zz_controller.go +++ b/internal/controller/configservice/configurationaggregator/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/configurationrecorder/zz_controller.go b/internal/controller/configservice/configurationrecorder/zz_controller.go index de7fa5e55d..e9a999ceda 100755 --- a/internal/controller/configservice/configurationrecorder/zz_controller.go +++ b/internal/controller/configservice/configurationrecorder/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/conformancepack/zz_controller.go b/internal/controller/configservice/conformancepack/zz_controller.go index 8a064634f3..dda4817219 100755 --- a/internal/controller/configservice/conformancepack/zz_controller.go +++ b/internal/controller/configservice/conformancepack/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/deliverychannel/zz_controller.go b/internal/controller/configservice/deliverychannel/zz_controller.go index f19f8d432a..79eca48549 100755 --- a/internal/controller/configservice/deliverychannel/zz_controller.go +++ b/internal/controller/configservice/deliverychannel/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/configservice/remediationconfiguration/zz_controller.go b/internal/controller/configservice/remediationconfiguration/zz_controller.go index e57ac5bac5..7cae29c273 100755 --- a/internal/controller/configservice/remediationconfiguration/zz_controller.go +++ b/internal/controller/configservice/remediationconfiguration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/botassociation/zz_controller.go b/internal/controller/connect/botassociation/zz_controller.go index 82e46907b7..e51da4a0f5 100755 --- a/internal/controller/connect/botassociation/zz_controller.go +++ b/internal/controller/connect/botassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/contactflow/zz_controller.go b/internal/controller/connect/contactflow/zz_controller.go index 59526774d6..2e47b46642 100755 --- a/internal/controller/connect/contactflow/zz_controller.go +++ b/internal/controller/connect/contactflow/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/contactflowmodule/zz_controller.go b/internal/controller/connect/contactflowmodule/zz_controller.go index f7f5e25a10..81c34f7719 100755 --- a/internal/controller/connect/contactflowmodule/zz_controller.go +++ b/internal/controller/connect/contactflowmodule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/hoursofoperation/zz_controller.go b/internal/controller/connect/hoursofoperation/zz_controller.go index fd99072f08..a10c41879f 100755 --- a/internal/controller/connect/hoursofoperation/zz_controller.go +++ b/internal/controller/connect/hoursofoperation/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/instance/zz_controller.go b/internal/controller/connect/instance/zz_controller.go index f5647700d6..e085016694 100755 --- a/internal/controller/connect/instance/zz_controller.go +++ b/internal/controller/connect/instance/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/instancestorageconfig/zz_controller.go b/internal/controller/connect/instancestorageconfig/zz_controller.go index d05ecd9509..e509b1e183 100755 --- a/internal/controller/connect/instancestorageconfig/zz_controller.go +++ b/internal/controller/connect/instancestorageconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/lambdafunctionassociation/zz_controller.go b/internal/controller/connect/lambdafunctionassociation/zz_controller.go index e99f40277c..7639fa6c1e 100755 --- a/internal/controller/connect/lambdafunctionassociation/zz_controller.go +++ b/internal/controller/connect/lambdafunctionassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/phonenumber/zz_controller.go b/internal/controller/connect/phonenumber/zz_controller.go index f0507d56f5..0d1b9c5b4a 100755 --- a/internal/controller/connect/phonenumber/zz_controller.go +++ b/internal/controller/connect/phonenumber/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/queue/zz_controller.go b/internal/controller/connect/queue/zz_controller.go index 23acd236b1..95bc81d8ed 100755 --- a/internal/controller/connect/queue/zz_controller.go +++ b/internal/controller/connect/queue/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/quickconnect/zz_controller.go b/internal/controller/connect/quickconnect/zz_controller.go index b2dd32914c..096e982a30 100755 --- a/internal/controller/connect/quickconnect/zz_controller.go +++ b/internal/controller/connect/quickconnect/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/routingprofile/zz_controller.go b/internal/controller/connect/routingprofile/zz_controller.go index d58f87b2e1..0f31be213e 100755 --- a/internal/controller/connect/routingprofile/zz_controller.go +++ b/internal/controller/connect/routingprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/securityprofile/zz_controller.go b/internal/controller/connect/securityprofile/zz_controller.go index 161d06b058..2f83be5bb3 100755 --- a/internal/controller/connect/securityprofile/zz_controller.go +++ b/internal/controller/connect/securityprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/user/zz_controller.go b/internal/controller/connect/user/zz_controller.go index f3177fe4fe..04c11add2b 100755 --- a/internal/controller/connect/user/zz_controller.go +++ b/internal/controller/connect/user/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/userhierarchystructure/zz_controller.go b/internal/controller/connect/userhierarchystructure/zz_controller.go index 684156d612..f4aacb5519 100755 --- a/internal/controller/connect/userhierarchystructure/zz_controller.go +++ b/internal/controller/connect/userhierarchystructure/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/connect/vocabulary/zz_controller.go b/internal/controller/connect/vocabulary/zz_controller.go index b2c461ac61..eb5d6b8ebb 100755 --- a/internal/controller/connect/vocabulary/zz_controller.go +++ b/internal/controller/connect/vocabulary/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/cur/reportdefinition/zz_controller.go b/internal/controller/cur/reportdefinition/zz_controller.go index a6f50e9168..353af275b9 100755 --- a/internal/controller/cur/reportdefinition/zz_controller.go +++ b/internal/controller/cur/reportdefinition/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dataexchange/dataset/zz_controller.go b/internal/controller/dataexchange/dataset/zz_controller.go index 3c643e8e88..c475977b26 100755 --- a/internal/controller/dataexchange/dataset/zz_controller.go +++ b/internal/controller/dataexchange/dataset/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dataexchange/revision/zz_controller.go b/internal/controller/dataexchange/revision/zz_controller.go index 0887ebb770..708f2e4be5 100755 --- a/internal/controller/dataexchange/revision/zz_controller.go +++ b/internal/controller/dataexchange/revision/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/datapipeline/pipeline/zz_controller.go b/internal/controller/datapipeline/pipeline/zz_controller.go index b3906816b6..9a4e77ee38 100755 --- a/internal/controller/datapipeline/pipeline/zz_controller.go +++ b/internal/controller/datapipeline/pipeline/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/datasync/locations3/zz_controller.go b/internal/controller/datasync/locations3/zz_controller.go index 6426e165a8..d056e0a264 100755 --- a/internal/controller/datasync/locations3/zz_controller.go +++ b/internal/controller/datasync/locations3/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/datasync/task/zz_controller.go b/internal/controller/datasync/task/zz_controller.go index b7cd8e82bd..b7467f69e9 100755 --- a/internal/controller/datasync/task/zz_controller.go +++ b/internal/controller/datasync/task/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dax/cluster/zz_controller.go b/internal/controller/dax/cluster/zz_controller.go index bc37fdc3dd..4b99428963 100755 --- a/internal/controller/dax/cluster/zz_controller.go +++ b/internal/controller/dax/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dax/parametergroup/zz_controller.go b/internal/controller/dax/parametergroup/zz_controller.go index f1380b0cc8..cd51485c43 100755 --- a/internal/controller/dax/parametergroup/zz_controller.go +++ b/internal/controller/dax/parametergroup/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dax/subnetgroup/zz_controller.go b/internal/controller/dax/subnetgroup/zz_controller.go index ff95fec8d3..2c357c1cca 100755 --- a/internal/controller/dax/subnetgroup/zz_controller.go +++ b/internal/controller/dax/subnetgroup/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/deploy/app/zz_controller.go b/internal/controller/deploy/app/zz_controller.go index f3f874f991..73b8712636 100755 --- a/internal/controller/deploy/app/zz_controller.go +++ b/internal/controller/deploy/app/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/deploy/deploymentconfig/zz_controller.go b/internal/controller/deploy/deploymentconfig/zz_controller.go index 195b10a492..cd80bca1a0 100755 --- a/internal/controller/deploy/deploymentconfig/zz_controller.go +++ b/internal/controller/deploy/deploymentconfig/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/deploy/deploymentgroup/zz_controller.go b/internal/controller/deploy/deploymentgroup/zz_controller.go index 79f51e0bb4..ea246e6a6f 100755 --- a/internal/controller/deploy/deploymentgroup/zz_controller.go +++ b/internal/controller/deploy/deploymentgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/detective/graph/zz_controller.go b/internal/controller/detective/graph/zz_controller.go index b48cb02ce5..a23f886b23 100755 --- a/internal/controller/detective/graph/zz_controller.go +++ b/internal/controller/detective/graph/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/detective/invitationaccepter/zz_controller.go b/internal/controller/detective/invitationaccepter/zz_controller.go index 0da2ee0ebe..6b5632d5a7 100755 --- a/internal/controller/detective/invitationaccepter/zz_controller.go +++ b/internal/controller/detective/invitationaccepter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/detective/member/zz_controller.go b/internal/controller/detective/member/zz_controller.go index 12ce85eeca..2adf7fbfe9 100755 --- a/internal/controller/detective/member/zz_controller.go +++ b/internal/controller/detective/member/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/devicepool/zz_controller.go b/internal/controller/devicefarm/devicepool/zz_controller.go index 8a75f2450a..159ba82eb8 100755 --- a/internal/controller/devicefarm/devicepool/zz_controller.go +++ b/internal/controller/devicefarm/devicepool/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/instanceprofile/zz_controller.go b/internal/controller/devicefarm/instanceprofile/zz_controller.go index 9db267fc53..adcef0de1a 100755 --- a/internal/controller/devicefarm/instanceprofile/zz_controller.go +++ b/internal/controller/devicefarm/instanceprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/networkprofile/zz_controller.go b/internal/controller/devicefarm/networkprofile/zz_controller.go index 6924401ad9..a09590ce1d 100755 --- a/internal/controller/devicefarm/networkprofile/zz_controller.go +++ b/internal/controller/devicefarm/networkprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/project/zz_controller.go b/internal/controller/devicefarm/project/zz_controller.go index 30538a58c3..ced485267a 100755 --- a/internal/controller/devicefarm/project/zz_controller.go +++ b/internal/controller/devicefarm/project/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/testgridproject/zz_controller.go b/internal/controller/devicefarm/testgridproject/zz_controller.go index db7cafb792..242957e11c 100755 --- a/internal/controller/devicefarm/testgridproject/zz_controller.go +++ b/internal/controller/devicefarm/testgridproject/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/devicefarm/upload/zz_controller.go b/internal/controller/devicefarm/upload/zz_controller.go index aef64425b0..e095e61567 100755 --- a/internal/controller/devicefarm/upload/zz_controller.go +++ b/internal/controller/devicefarm/upload/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/bgppeer/zz_controller.go b/internal/controller/directconnect/bgppeer/zz_controller.go index 037e368d7f..3faab7a6d5 100755 --- a/internal/controller/directconnect/bgppeer/zz_controller.go +++ b/internal/controller/directconnect/bgppeer/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/connection/zz_controller.go b/internal/controller/directconnect/connection/zz_controller.go index a0439282de..539a1b04b9 100755 --- a/internal/controller/directconnect/connection/zz_controller.go +++ b/internal/controller/directconnect/connection/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/connectionassociation/zz_controller.go b/internal/controller/directconnect/connectionassociation/zz_controller.go index f1b1bf4b65..418d581704 100755 --- a/internal/controller/directconnect/connectionassociation/zz_controller.go +++ b/internal/controller/directconnect/connectionassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/gateway/zz_controller.go b/internal/controller/directconnect/gateway/zz_controller.go index 136f9bff76..3e9002abdd 100755 --- a/internal/controller/directconnect/gateway/zz_controller.go +++ b/internal/controller/directconnect/gateway/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/gatewayassociation/zz_controller.go b/internal/controller/directconnect/gatewayassociation/zz_controller.go index b10f81d9b7..212b4d0a1a 100755 --- a/internal/controller/directconnect/gatewayassociation/zz_controller.go +++ b/internal/controller/directconnect/gatewayassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/gatewayassociationproposal/zz_controller.go b/internal/controller/directconnect/gatewayassociationproposal/zz_controller.go index e7da19076a..6873fe75ba 100755 --- a/internal/controller/directconnect/gatewayassociationproposal/zz_controller.go +++ b/internal/controller/directconnect/gatewayassociationproposal/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedprivatevirtualinterface/zz_controller.go b/internal/controller/directconnect/hostedprivatevirtualinterface/zz_controller.go index 2fc8905b21..681e9feb19 100755 --- a/internal/controller/directconnect/hostedprivatevirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/hostedprivatevirtualinterface/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedprivatevirtualinterfaceaccepter/zz_controller.go b/internal/controller/directconnect/hostedprivatevirtualinterfaceaccepter/zz_controller.go index 208b3956e0..0f893475d9 100755 --- a/internal/controller/directconnect/hostedprivatevirtualinterfaceaccepter/zz_controller.go +++ b/internal/controller/directconnect/hostedprivatevirtualinterfaceaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedpublicvirtualinterface/zz_controller.go b/internal/controller/directconnect/hostedpublicvirtualinterface/zz_controller.go index d2b2869a09..79b5198eb6 100755 --- a/internal/controller/directconnect/hostedpublicvirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/hostedpublicvirtualinterface/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedpublicvirtualinterfaceaccepter/zz_controller.go b/internal/controller/directconnect/hostedpublicvirtualinterfaceaccepter/zz_controller.go index f1d08dcc56..1dc382fbb6 100755 --- a/internal/controller/directconnect/hostedpublicvirtualinterfaceaccepter/zz_controller.go +++ b/internal/controller/directconnect/hostedpublicvirtualinterfaceaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedtransitvirtualinterface/zz_controller.go b/internal/controller/directconnect/hostedtransitvirtualinterface/zz_controller.go index 6875679f67..ccfe63b45d 100755 --- a/internal/controller/directconnect/hostedtransitvirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/hostedtransitvirtualinterface/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/hostedtransitvirtualinterfaceaccepter/zz_controller.go b/internal/controller/directconnect/hostedtransitvirtualinterfaceaccepter/zz_controller.go index a4159cb8fe..fe200ced4d 100755 --- a/internal/controller/directconnect/hostedtransitvirtualinterfaceaccepter/zz_controller.go +++ b/internal/controller/directconnect/hostedtransitvirtualinterfaceaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/lag/zz_controller.go b/internal/controller/directconnect/lag/zz_controller.go index 683f6ce9f2..d4c00a6b86 100755 --- a/internal/controller/directconnect/lag/zz_controller.go +++ b/internal/controller/directconnect/lag/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/privatevirtualinterface/zz_controller.go b/internal/controller/directconnect/privatevirtualinterface/zz_controller.go index e04f663199..701d8442e1 100755 --- a/internal/controller/directconnect/privatevirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/privatevirtualinterface/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/publicvirtualinterface/zz_controller.go b/internal/controller/directconnect/publicvirtualinterface/zz_controller.go index 39a2697b2f..be810c5f81 100755 --- a/internal/controller/directconnect/publicvirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/publicvirtualinterface/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/directconnect/transitvirtualinterface/zz_controller.go b/internal/controller/directconnect/transitvirtualinterface/zz_controller.go index 4373245748..3679bfee77 100755 --- a/internal/controller/directconnect/transitvirtualinterface/zz_controller.go +++ b/internal/controller/directconnect/transitvirtualinterface/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dlm/lifecyclepolicy/zz_controller.go b/internal/controller/dlm/lifecyclepolicy/zz_controller.go index 7d4e879c5c..88bfaef76c 100755 --- a/internal/controller/dlm/lifecyclepolicy/zz_controller.go +++ b/internal/controller/dlm/lifecyclepolicy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/certificate/zz_controller.go b/internal/controller/dms/certificate/zz_controller.go index 0b00acfe9a..c013696f97 100755 --- a/internal/controller/dms/certificate/zz_controller.go +++ b/internal/controller/dms/certificate/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/endpoint/zz_controller.go b/internal/controller/dms/endpoint/zz_controller.go index 6b625cf573..e6b1837b5f 100755 --- a/internal/controller/dms/endpoint/zz_controller.go +++ b/internal/controller/dms/endpoint/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/eventsubscription/zz_controller.go b/internal/controller/dms/eventsubscription/zz_controller.go index afcbe06a91..4b949bc39c 100755 --- a/internal/controller/dms/eventsubscription/zz_controller.go +++ b/internal/controller/dms/eventsubscription/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/replicationinstance/zz_controller.go b/internal/controller/dms/replicationinstance/zz_controller.go index 21eb9276a1..1c6275b901 100755 --- a/internal/controller/dms/replicationinstance/zz_controller.go +++ b/internal/controller/dms/replicationinstance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/replicationsubnetgroup/zz_controller.go b/internal/controller/dms/replicationsubnetgroup/zz_controller.go index e19c2bb1bb..c816d7321b 100755 --- a/internal/controller/dms/replicationsubnetgroup/zz_controller.go +++ b/internal/controller/dms/replicationsubnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/replicationtask/zz_controller.go b/internal/controller/dms/replicationtask/zz_controller.go index 8bbe30944d..2f227a140a 100755 --- a/internal/controller/dms/replicationtask/zz_controller.go +++ b/internal/controller/dms/replicationtask/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dms/s3endpoint/zz_controller.go b/internal/controller/dms/s3endpoint/zz_controller.go index 7bddcbc5ba..fb432706a9 100755 --- a/internal/controller/dms/s3endpoint/zz_controller.go +++ b/internal/controller/dms/s3endpoint/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/cluster/zz_controller.go b/internal/controller/docdb/cluster/zz_controller.go index 2c1205cd1a..5c8b70399c 100755 --- a/internal/controller/docdb/cluster/zz_controller.go +++ b/internal/controller/docdb/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/clusterinstance/zz_controller.go b/internal/controller/docdb/clusterinstance/zz_controller.go index 15c65b27fb..62726367df 100755 --- a/internal/controller/docdb/clusterinstance/zz_controller.go +++ b/internal/controller/docdb/clusterinstance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/clusterparametergroup/zz_controller.go b/internal/controller/docdb/clusterparametergroup/zz_controller.go index c0585a0fc7..075ff64e83 100755 --- a/internal/controller/docdb/clusterparametergroup/zz_controller.go +++ b/internal/controller/docdb/clusterparametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/clustersnapshot/zz_controller.go b/internal/controller/docdb/clustersnapshot/zz_controller.go index 36ff5d4c91..25cbd0b7e5 100755 --- a/internal/controller/docdb/clustersnapshot/zz_controller.go +++ b/internal/controller/docdb/clustersnapshot/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/eventsubscription/zz_controller.go b/internal/controller/docdb/eventsubscription/zz_controller.go index 3e9cdd94a0..05ddf7cae5 100755 --- a/internal/controller/docdb/eventsubscription/zz_controller.go +++ b/internal/controller/docdb/eventsubscription/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/globalcluster/zz_controller.go b/internal/controller/docdb/globalcluster/zz_controller.go index 4524437b97..81f1695cdb 100755 --- a/internal/controller/docdb/globalcluster/zz_controller.go +++ b/internal/controller/docdb/globalcluster/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/docdb/subnetgroup/zz_controller.go b/internal/controller/docdb/subnetgroup/zz_controller.go index 3ecbf1afc9..82338cd8e4 100755 --- a/internal/controller/docdb/subnetgroup/zz_controller.go +++ b/internal/controller/docdb/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ds/conditionalforwarder/zz_controller.go b/internal/controller/ds/conditionalforwarder/zz_controller.go index fcdab6c0ce..5760b62e53 100755 --- a/internal/controller/ds/conditionalforwarder/zz_controller.go +++ b/internal/controller/ds/conditionalforwarder/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ds/directory/zz_controller.go b/internal/controller/ds/directory/zz_controller.go index 3429aaef74..dbbcb5261a 100755 --- a/internal/controller/ds/directory/zz_controller.go +++ b/internal/controller/ds/directory/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ds/shareddirectory/zz_controller.go b/internal/controller/ds/shareddirectory/zz_controller.go index d68ca483c1..d1ca1f72ad 100755 --- a/internal/controller/ds/shareddirectory/zz_controller.go +++ b/internal/controller/ds/shareddirectory/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/contributorinsights/zz_controller.go b/internal/controller/dynamodb/contributorinsights/zz_controller.go index 5455398bbf..d51bedf7f7 100755 --- a/internal/controller/dynamodb/contributorinsights/zz_controller.go +++ b/internal/controller/dynamodb/contributorinsights/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/globaltable/zz_controller.go b/internal/controller/dynamodb/globaltable/zz_controller.go index 7a4a105c1e..e91e1fedc1 100755 --- a/internal/controller/dynamodb/globaltable/zz_controller.go +++ b/internal/controller/dynamodb/globaltable/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/kinesisstreamingdestination/zz_controller.go b/internal/controller/dynamodb/kinesisstreamingdestination/zz_controller.go index 64d3e726a3..541409e5b9 100755 --- a/internal/controller/dynamodb/kinesisstreamingdestination/zz_controller.go +++ b/internal/controller/dynamodb/kinesisstreamingdestination/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/table/zz_controller.go b/internal/controller/dynamodb/table/zz_controller.go index 8c13e5339c..ae2f83e4ad 100755 --- a/internal/controller/dynamodb/table/zz_controller.go +++ b/internal/controller/dynamodb/table/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/tableitem/zz_controller.go b/internal/controller/dynamodb/tableitem/zz_controller.go index 4e41777951..3fd6d266fa 100755 --- a/internal/controller/dynamodb/tableitem/zz_controller.go +++ b/internal/controller/dynamodb/tableitem/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/tablereplica/zz_controller.go b/internal/controller/dynamodb/tablereplica/zz_controller.go index 91098e8b1e..d7935fad7e 100755 --- a/internal/controller/dynamodb/tablereplica/zz_controller.go +++ b/internal/controller/dynamodb/tablereplica/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/dynamodb/tag/zz_controller.go b/internal/controller/dynamodb/tag/zz_controller.go index 51c408960f..610004dac0 100755 --- a/internal/controller/dynamodb/tag/zz_controller.go +++ b/internal/controller/dynamodb/tag/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ami/zz_controller.go b/internal/controller/ec2/ami/zz_controller.go index 2711708b5c..97b36cc8a9 100755 --- a/internal/controller/ec2/ami/zz_controller.go +++ b/internal/controller/ec2/ami/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/amicopy/zz_controller.go b/internal/controller/ec2/amicopy/zz_controller.go index c6372afc78..9eb25983a6 100755 --- a/internal/controller/ec2/amicopy/zz_controller.go +++ b/internal/controller/ec2/amicopy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/amilaunchpermission/zz_controller.go b/internal/controller/ec2/amilaunchpermission/zz_controller.go index b8e653c0e3..3813e631e3 100755 --- a/internal/controller/ec2/amilaunchpermission/zz_controller.go +++ b/internal/controller/ec2/amilaunchpermission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/availabilityzonegroup/zz_controller.go b/internal/controller/ec2/availabilityzonegroup/zz_controller.go index ebf9dc954a..958e060da9 100755 --- a/internal/controller/ec2/availabilityzonegroup/zz_controller.go +++ b/internal/controller/ec2/availabilityzonegroup/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/capacityreservation/zz_controller.go b/internal/controller/ec2/capacityreservation/zz_controller.go index c8500b9b73..611ee221e6 100755 --- a/internal/controller/ec2/capacityreservation/zz_controller.go +++ b/internal/controller/ec2/capacityreservation/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/carriergateway/zz_controller.go b/internal/controller/ec2/carriergateway/zz_controller.go index 94b755ca48..d19f0d0161 100755 --- a/internal/controller/ec2/carriergateway/zz_controller.go +++ b/internal/controller/ec2/carriergateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/customergateway/zz_controller.go b/internal/controller/ec2/customergateway/zz_controller.go index 92d778ddde..27634c61ef 100755 --- a/internal/controller/ec2/customergateway/zz_controller.go +++ b/internal/controller/ec2/customergateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultnetworkacl/zz_controller.go b/internal/controller/ec2/defaultnetworkacl/zz_controller.go index d08c2b8185..61c575d8ba 100755 --- a/internal/controller/ec2/defaultnetworkacl/zz_controller.go +++ b/internal/controller/ec2/defaultnetworkacl/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultroutetable/zz_controller.go b/internal/controller/ec2/defaultroutetable/zz_controller.go index 3b6f1904c3..3b85e34803 100755 --- a/internal/controller/ec2/defaultroutetable/zz_controller.go +++ b/internal/controller/ec2/defaultroutetable/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultsecuritygroup/zz_controller.go b/internal/controller/ec2/defaultsecuritygroup/zz_controller.go index c3cca22fc6..cb22b562c5 100755 --- a/internal/controller/ec2/defaultsecuritygroup/zz_controller.go +++ b/internal/controller/ec2/defaultsecuritygroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultsubnet/zz_controller.go b/internal/controller/ec2/defaultsubnet/zz_controller.go index 745bbb38b0..3348b63d82 100755 --- a/internal/controller/ec2/defaultsubnet/zz_controller.go +++ b/internal/controller/ec2/defaultsubnet/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultvpc/zz_controller.go b/internal/controller/ec2/defaultvpc/zz_controller.go index d27355297b..1741f3e878 100755 --- a/internal/controller/ec2/defaultvpc/zz_controller.go +++ b/internal/controller/ec2/defaultvpc/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/defaultvpcdhcpoptions/zz_controller.go b/internal/controller/ec2/defaultvpcdhcpoptions/zz_controller.go index 66180d757e..fd82c2503e 100755 --- a/internal/controller/ec2/defaultvpcdhcpoptions/zz_controller.go +++ b/internal/controller/ec2/defaultvpcdhcpoptions/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebsdefaultkmskey/zz_controller.go b/internal/controller/ec2/ebsdefaultkmskey/zz_controller.go index b9e2e15b3d..f2148fda37 100755 --- a/internal/controller/ec2/ebsdefaultkmskey/zz_controller.go +++ b/internal/controller/ec2/ebsdefaultkmskey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebsencryptionbydefault/zz_controller.go b/internal/controller/ec2/ebsencryptionbydefault/zz_controller.go index 496ba404cc..442948b18e 100755 --- a/internal/controller/ec2/ebsencryptionbydefault/zz_controller.go +++ b/internal/controller/ec2/ebsencryptionbydefault/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebssnapshot/zz_controller.go b/internal/controller/ec2/ebssnapshot/zz_controller.go index 50008a1e6d..aec10c6000 100755 --- a/internal/controller/ec2/ebssnapshot/zz_controller.go +++ b/internal/controller/ec2/ebssnapshot/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebssnapshotcopy/zz_controller.go b/internal/controller/ec2/ebssnapshotcopy/zz_controller.go index c1c6469b53..8f05aa1a95 100755 --- a/internal/controller/ec2/ebssnapshotcopy/zz_controller.go +++ b/internal/controller/ec2/ebssnapshotcopy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebssnapshotimport/zz_controller.go b/internal/controller/ec2/ebssnapshotimport/zz_controller.go index dac0cd96f2..5aa1038792 100755 --- a/internal/controller/ec2/ebssnapshotimport/zz_controller.go +++ b/internal/controller/ec2/ebssnapshotimport/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/ebsvolume/zz_controller.go b/internal/controller/ec2/ebsvolume/zz_controller.go index 888980d584..ab4e9af6fe 100755 --- a/internal/controller/ec2/ebsvolume/zz_controller.go +++ b/internal/controller/ec2/ebsvolume/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/egressonlyinternetgateway/zz_controller.go b/internal/controller/ec2/egressonlyinternetgateway/zz_controller.go index d2bbe0b450..7f0305fddf 100755 --- a/internal/controller/ec2/egressonlyinternetgateway/zz_controller.go +++ b/internal/controller/ec2/egressonlyinternetgateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/eip/zz_controller.go b/internal/controller/ec2/eip/zz_controller.go index 2cc464a1d7..5d10780e19 100755 --- a/internal/controller/ec2/eip/zz_controller.go +++ b/internal/controller/ec2/eip/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/eipassociation/zz_controller.go b/internal/controller/ec2/eipassociation/zz_controller.go index 32b71a4ff6..f6a074cd12 100755 --- a/internal/controller/ec2/eipassociation/zz_controller.go +++ b/internal/controller/ec2/eipassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/flowlog/zz_controller.go b/internal/controller/ec2/flowlog/zz_controller.go index d5f893dd8a..c2132c53d0 100755 --- a/internal/controller/ec2/flowlog/zz_controller.go +++ b/internal/controller/ec2/flowlog/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/host/zz_controller.go b/internal/controller/ec2/host/zz_controller.go index e6ade6c4e1..bb56452e45 100755 --- a/internal/controller/ec2/host/zz_controller.go +++ b/internal/controller/ec2/host/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/instance/zz_controller.go b/internal/controller/ec2/instance/zz_controller.go index e912579c97..0649cefb4e 100755 --- a/internal/controller/ec2/instance/zz_controller.go +++ b/internal/controller/ec2/instance/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/instancestate/zz_controller.go b/internal/controller/ec2/instancestate/zz_controller.go index b713c91d66..047b9aa163 100755 --- a/internal/controller/ec2/instancestate/zz_controller.go +++ b/internal/controller/ec2/instancestate/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/internetgateway/zz_controller.go b/internal/controller/ec2/internetgateway/zz_controller.go index c515434d28..38aa5367d9 100755 --- a/internal/controller/ec2/internetgateway/zz_controller.go +++ b/internal/controller/ec2/internetgateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/keypair/zz_controller.go b/internal/controller/ec2/keypair/zz_controller.go index 0617658da2..ea7284f1c8 100755 --- a/internal/controller/ec2/keypair/zz_controller.go +++ b/internal/controller/ec2/keypair/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/launchtemplate/zz_controller.go b/internal/controller/ec2/launchtemplate/zz_controller.go index b61f2d8ccb..f4723231be 100755 --- a/internal/controller/ec2/launchtemplate/zz_controller.go +++ b/internal/controller/ec2/launchtemplate/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/mainroutetableassociation/zz_controller.go b/internal/controller/ec2/mainroutetableassociation/zz_controller.go index f9f3b53ae2..b7a640429e 100755 --- a/internal/controller/ec2/mainroutetableassociation/zz_controller.go +++ b/internal/controller/ec2/mainroutetableassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/managedprefixlist/zz_controller.go b/internal/controller/ec2/managedprefixlist/zz_controller.go index 01b1075600..ee32832751 100755 --- a/internal/controller/ec2/managedprefixlist/zz_controller.go +++ b/internal/controller/ec2/managedprefixlist/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/managedprefixlistentry/zz_controller.go b/internal/controller/ec2/managedprefixlistentry/zz_controller.go index 8cd26e170c..61bfa45d2c 100755 --- a/internal/controller/ec2/managedprefixlistentry/zz_controller.go +++ b/internal/controller/ec2/managedprefixlistentry/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/natgateway/zz_controller.go b/internal/controller/ec2/natgateway/zz_controller.go index 3ffd17444f..e10dea9f2f 100755 --- a/internal/controller/ec2/natgateway/zz_controller.go +++ b/internal/controller/ec2/natgateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkacl/zz_controller.go b/internal/controller/ec2/networkacl/zz_controller.go index 53c4de655a..a35bc4cbf6 100755 --- a/internal/controller/ec2/networkacl/zz_controller.go +++ b/internal/controller/ec2/networkacl/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkaclrule/zz_controller.go b/internal/controller/ec2/networkaclrule/zz_controller.go index 9b3f6fcb28..cb1d4459b7 100755 --- a/internal/controller/ec2/networkaclrule/zz_controller.go +++ b/internal/controller/ec2/networkaclrule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkinsightsanalysis/zz_controller.go b/internal/controller/ec2/networkinsightsanalysis/zz_controller.go index e42c9177da..e539319dab 100755 --- a/internal/controller/ec2/networkinsightsanalysis/zz_controller.go +++ b/internal/controller/ec2/networkinsightsanalysis/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkinsightspath/zz_controller.go b/internal/controller/ec2/networkinsightspath/zz_controller.go index c827733668..4e25a6eaa8 100755 --- a/internal/controller/ec2/networkinsightspath/zz_controller.go +++ b/internal/controller/ec2/networkinsightspath/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkinterface/zz_controller.go b/internal/controller/ec2/networkinterface/zz_controller.go index 78ebe40138..3409e919f8 100755 --- a/internal/controller/ec2/networkinterface/zz_controller.go +++ b/internal/controller/ec2/networkinterface/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkinterfaceattachment/zz_controller.go b/internal/controller/ec2/networkinterfaceattachment/zz_controller.go index 065284d284..00aba1acb0 100755 --- a/internal/controller/ec2/networkinterfaceattachment/zz_controller.go +++ b/internal/controller/ec2/networkinterfaceattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/networkinterfacesgattachment/zz_controller.go b/internal/controller/ec2/networkinterfacesgattachment/zz_controller.go index 20b00d5751..9b248d71f3 100755 --- a/internal/controller/ec2/networkinterfacesgattachment/zz_controller.go +++ b/internal/controller/ec2/networkinterfacesgattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/placementgroup/zz_controller.go b/internal/controller/ec2/placementgroup/zz_controller.go index f5d115f233..4c11c379a2 100755 --- a/internal/controller/ec2/placementgroup/zz_controller.go +++ b/internal/controller/ec2/placementgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/route/zz_controller.go b/internal/controller/ec2/route/zz_controller.go index 3fbebadbbb..fe20e7dab1 100755 --- a/internal/controller/ec2/route/zz_controller.go +++ b/internal/controller/ec2/route/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/routetable/zz_controller.go b/internal/controller/ec2/routetable/zz_controller.go index e6777f7948..79431359b0 100755 --- a/internal/controller/ec2/routetable/zz_controller.go +++ b/internal/controller/ec2/routetable/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/routetableassociation/zz_controller.go b/internal/controller/ec2/routetableassociation/zz_controller.go index 7904b2647e..8634cabffb 100755 --- a/internal/controller/ec2/routetableassociation/zz_controller.go +++ b/internal/controller/ec2/routetableassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/securitygroup/zz_controller.go b/internal/controller/ec2/securitygroup/zz_controller.go index 50c5523d0c..00d55a05bf 100755 --- a/internal/controller/ec2/securitygroup/zz_controller.go +++ b/internal/controller/ec2/securitygroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/securitygrouprule/zz_controller.go b/internal/controller/ec2/securitygrouprule/zz_controller.go index a2d453fcb4..12d3d1ba5e 100755 --- a/internal/controller/ec2/securitygrouprule/zz_controller.go +++ b/internal/controller/ec2/securitygrouprule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/serialconsoleaccess/zz_controller.go b/internal/controller/ec2/serialconsoleaccess/zz_controller.go index 58f8d07374..b8be0b94b0 100755 --- a/internal/controller/ec2/serialconsoleaccess/zz_controller.go +++ b/internal/controller/ec2/serialconsoleaccess/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/snapshotcreatevolumepermission/zz_controller.go b/internal/controller/ec2/snapshotcreatevolumepermission/zz_controller.go index a5573c88cc..4a39c3984f 100755 --- a/internal/controller/ec2/snapshotcreatevolumepermission/zz_controller.go +++ b/internal/controller/ec2/snapshotcreatevolumepermission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/spotdatafeedsubscription/zz_controller.go b/internal/controller/ec2/spotdatafeedsubscription/zz_controller.go index 55545ddae2..e4db92d5fc 100755 --- a/internal/controller/ec2/spotdatafeedsubscription/zz_controller.go +++ b/internal/controller/ec2/spotdatafeedsubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/spotfleetrequest/zz_controller.go b/internal/controller/ec2/spotfleetrequest/zz_controller.go index 9a38ab58c8..38877df4e5 100755 --- a/internal/controller/ec2/spotfleetrequest/zz_controller.go +++ b/internal/controller/ec2/spotfleetrequest/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/spotinstancerequest/zz_controller.go b/internal/controller/ec2/spotinstancerequest/zz_controller.go index c710f63841..e0c6e1c8cf 100755 --- a/internal/controller/ec2/spotinstancerequest/zz_controller.go +++ b/internal/controller/ec2/spotinstancerequest/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/subnet/zz_controller.go b/internal/controller/ec2/subnet/zz_controller.go index 4494de6a87..0498a969b1 100755 --- a/internal/controller/ec2/subnet/zz_controller.go +++ b/internal/controller/ec2/subnet/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/subnetcidrreservation/zz_controller.go b/internal/controller/ec2/subnetcidrreservation/zz_controller.go index f4a220b174..ab97d8edda 100755 --- a/internal/controller/ec2/subnetcidrreservation/zz_controller.go +++ b/internal/controller/ec2/subnetcidrreservation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/tag/zz_controller.go b/internal/controller/ec2/tag/zz_controller.go index e5af3e796c..cd803986f9 100755 --- a/internal/controller/ec2/tag/zz_controller.go +++ b/internal/controller/ec2/tag/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/trafficmirrorfilter/zz_controller.go b/internal/controller/ec2/trafficmirrorfilter/zz_controller.go index c8871e7612..dcfea4cc97 100755 --- a/internal/controller/ec2/trafficmirrorfilter/zz_controller.go +++ b/internal/controller/ec2/trafficmirrorfilter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/trafficmirrorfilterrule/zz_controller.go b/internal/controller/ec2/trafficmirrorfilterrule/zz_controller.go index 863347e1b2..868d319a3b 100755 --- a/internal/controller/ec2/trafficmirrorfilterrule/zz_controller.go +++ b/internal/controller/ec2/trafficmirrorfilterrule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgateway/zz_controller.go b/internal/controller/ec2/transitgateway/zz_controller.go index 13c2141f07..16d93ad758 100755 --- a/internal/controller/ec2/transitgateway/zz_controller.go +++ b/internal/controller/ec2/transitgateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayconnect/zz_controller.go b/internal/controller/ec2/transitgatewayconnect/zz_controller.go index 1af53d099a..3b24a0d1a3 100755 --- a/internal/controller/ec2/transitgatewayconnect/zz_controller.go +++ b/internal/controller/ec2/transitgatewayconnect/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayconnectpeer/zz_controller.go b/internal/controller/ec2/transitgatewayconnectpeer/zz_controller.go index 7b99411d5a..7c6bc0c651 100755 --- a/internal/controller/ec2/transitgatewayconnectpeer/zz_controller.go +++ b/internal/controller/ec2/transitgatewayconnectpeer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaymulticastdomain/zz_controller.go b/internal/controller/ec2/transitgatewaymulticastdomain/zz_controller.go index 38bb081401..6a1f93248a 100755 --- a/internal/controller/ec2/transitgatewaymulticastdomain/zz_controller.go +++ b/internal/controller/ec2/transitgatewaymulticastdomain/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaymulticastdomainassociation/zz_controller.go b/internal/controller/ec2/transitgatewaymulticastdomainassociation/zz_controller.go index 6f2f16191d..b95c1ebb46 100755 --- a/internal/controller/ec2/transitgatewaymulticastdomainassociation/zz_controller.go +++ b/internal/controller/ec2/transitgatewaymulticastdomainassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaymulticastgroupmember/zz_controller.go b/internal/controller/ec2/transitgatewaymulticastgroupmember/zz_controller.go index 11235e6290..5fb327c69b 100755 --- a/internal/controller/ec2/transitgatewaymulticastgroupmember/zz_controller.go +++ b/internal/controller/ec2/transitgatewaymulticastgroupmember/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaymulticastgroupsource/zz_controller.go b/internal/controller/ec2/transitgatewaymulticastgroupsource/zz_controller.go index 8a9bfbda01..e6bdf79529 100755 --- a/internal/controller/ec2/transitgatewaymulticastgroupsource/zz_controller.go +++ b/internal/controller/ec2/transitgatewaymulticastgroupsource/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaypeeringattachment/zz_controller.go b/internal/controller/ec2/transitgatewaypeeringattachment/zz_controller.go index bbb5a756b4..7023ce0ea2 100755 --- a/internal/controller/ec2/transitgatewaypeeringattachment/zz_controller.go +++ b/internal/controller/ec2/transitgatewaypeeringattachment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaypeeringattachmentaccepter/zz_controller.go b/internal/controller/ec2/transitgatewaypeeringattachmentaccepter/zz_controller.go index 03f4031053..cbab52ea89 100755 --- a/internal/controller/ec2/transitgatewaypeeringattachmentaccepter/zz_controller.go +++ b/internal/controller/ec2/transitgatewaypeeringattachmentaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewaypolicytable/zz_controller.go b/internal/controller/ec2/transitgatewaypolicytable/zz_controller.go index 9895c81289..5e9232d684 100755 --- a/internal/controller/ec2/transitgatewaypolicytable/zz_controller.go +++ b/internal/controller/ec2/transitgatewaypolicytable/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayprefixlistreference/zz_controller.go b/internal/controller/ec2/transitgatewayprefixlistreference/zz_controller.go index b19b730a60..2241adaf2a 100755 --- a/internal/controller/ec2/transitgatewayprefixlistreference/zz_controller.go +++ b/internal/controller/ec2/transitgatewayprefixlistreference/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayroute/zz_controller.go b/internal/controller/ec2/transitgatewayroute/zz_controller.go index 49bd6cb32e..b0506241b5 100755 --- a/internal/controller/ec2/transitgatewayroute/zz_controller.go +++ b/internal/controller/ec2/transitgatewayroute/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayroutetable/zz_controller.go b/internal/controller/ec2/transitgatewayroutetable/zz_controller.go index 560de91d8a..4d98e964fa 100755 --- a/internal/controller/ec2/transitgatewayroutetable/zz_controller.go +++ b/internal/controller/ec2/transitgatewayroutetable/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayroutetableassociation/zz_controller.go b/internal/controller/ec2/transitgatewayroutetableassociation/zz_controller.go index ce83c84905..4f3be78674 100755 --- a/internal/controller/ec2/transitgatewayroutetableassociation/zz_controller.go +++ b/internal/controller/ec2/transitgatewayroutetableassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayroutetablepropagation/zz_controller.go b/internal/controller/ec2/transitgatewayroutetablepropagation/zz_controller.go index 4acedfcf8d..94755d93e9 100755 --- a/internal/controller/ec2/transitgatewayroutetablepropagation/zz_controller.go +++ b/internal/controller/ec2/transitgatewayroutetablepropagation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayvpcattachment/zz_controller.go b/internal/controller/ec2/transitgatewayvpcattachment/zz_controller.go index 4ea787fa66..dadc9ac5fc 100755 --- a/internal/controller/ec2/transitgatewayvpcattachment/zz_controller.go +++ b/internal/controller/ec2/transitgatewayvpcattachment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/transitgatewayvpcattachmentaccepter/zz_controller.go b/internal/controller/ec2/transitgatewayvpcattachmentaccepter/zz_controller.go index f09adde13b..fa2b7b73a2 100755 --- a/internal/controller/ec2/transitgatewayvpcattachmentaccepter/zz_controller.go +++ b/internal/controller/ec2/transitgatewayvpcattachmentaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/volumeattachment/zz_controller.go b/internal/controller/ec2/volumeattachment/zz_controller.go index ec28eb0a65..072f2a281f 100755 --- a/internal/controller/ec2/volumeattachment/zz_controller.go +++ b/internal/controller/ec2/volumeattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpc/zz_controller.go b/internal/controller/ec2/vpc/zz_controller.go index fac2070154..b92c76d6ff 100755 --- a/internal/controller/ec2/vpc/zz_controller.go +++ b/internal/controller/ec2/vpc/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcdhcpoptions/zz_controller.go b/internal/controller/ec2/vpcdhcpoptions/zz_controller.go index 30a1f259bb..0024dd3864 100755 --- a/internal/controller/ec2/vpcdhcpoptions/zz_controller.go +++ b/internal/controller/ec2/vpcdhcpoptions/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcdhcpoptionsassociation/zz_controller.go b/internal/controller/ec2/vpcdhcpoptionsassociation/zz_controller.go index 592b11d6d1..d2324d19d7 100755 --- a/internal/controller/ec2/vpcdhcpoptionsassociation/zz_controller.go +++ b/internal/controller/ec2/vpcdhcpoptionsassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpoint/zz_controller.go b/internal/controller/ec2/vpcendpoint/zz_controller.go index 6b16f57b09..3844620809 100755 --- a/internal/controller/ec2/vpcendpoint/zz_controller.go +++ b/internal/controller/ec2/vpcendpoint/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointconnectionnotification/zz_controller.go b/internal/controller/ec2/vpcendpointconnectionnotification/zz_controller.go index a3e8780a44..c85a5de645 100755 --- a/internal/controller/ec2/vpcendpointconnectionnotification/zz_controller.go +++ b/internal/controller/ec2/vpcendpointconnectionnotification/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointroutetableassociation/zz_controller.go b/internal/controller/ec2/vpcendpointroutetableassociation/zz_controller.go index fa2153c1c1..12543194d8 100755 --- a/internal/controller/ec2/vpcendpointroutetableassociation/zz_controller.go +++ b/internal/controller/ec2/vpcendpointroutetableassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointsecuritygroupassociation/zz_controller.go b/internal/controller/ec2/vpcendpointsecuritygroupassociation/zz_controller.go index bb4aa3e4a5..64767741d3 100755 --- a/internal/controller/ec2/vpcendpointsecuritygroupassociation/zz_controller.go +++ b/internal/controller/ec2/vpcendpointsecuritygroupassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointservice/zz_controller.go b/internal/controller/ec2/vpcendpointservice/zz_controller.go index 962515a35e..97f727b2e3 100755 --- a/internal/controller/ec2/vpcendpointservice/zz_controller.go +++ b/internal/controller/ec2/vpcendpointservice/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointserviceallowedprincipal/zz_controller.go b/internal/controller/ec2/vpcendpointserviceallowedprincipal/zz_controller.go index 74b58cdfbd..158a5ebc8a 100755 --- a/internal/controller/ec2/vpcendpointserviceallowedprincipal/zz_controller.go +++ b/internal/controller/ec2/vpcendpointserviceallowedprincipal/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcendpointsubnetassociation/zz_controller.go b/internal/controller/ec2/vpcendpointsubnetassociation/zz_controller.go index a295aa055b..e906f624d4 100755 --- a/internal/controller/ec2/vpcendpointsubnetassociation/zz_controller.go +++ b/internal/controller/ec2/vpcendpointsubnetassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipam/zz_controller.go b/internal/controller/ec2/vpcipam/zz_controller.go index bb9736fd42..ea07dfc656 100755 --- a/internal/controller/ec2/vpcipam/zz_controller.go +++ b/internal/controller/ec2/vpcipam/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipampool/zz_controller.go b/internal/controller/ec2/vpcipampool/zz_controller.go index 692b5e2ab7..9348ac1e98 100755 --- a/internal/controller/ec2/vpcipampool/zz_controller.go +++ b/internal/controller/ec2/vpcipampool/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipampoolcidr/zz_controller.go b/internal/controller/ec2/vpcipampoolcidr/zz_controller.go index 09ec320bba..5492c2dbf1 100755 --- a/internal/controller/ec2/vpcipampoolcidr/zz_controller.go +++ b/internal/controller/ec2/vpcipampoolcidr/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipampoolcidrallocation/zz_controller.go b/internal/controller/ec2/vpcipampoolcidrallocation/zz_controller.go index 50a0070127..064a1053ef 100755 --- a/internal/controller/ec2/vpcipampoolcidrallocation/zz_controller.go +++ b/internal/controller/ec2/vpcipampoolcidrallocation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipamscope/zz_controller.go b/internal/controller/ec2/vpcipamscope/zz_controller.go index f12141938f..ff4fd195e7 100755 --- a/internal/controller/ec2/vpcipamscope/zz_controller.go +++ b/internal/controller/ec2/vpcipamscope/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcipv4cidrblockassociation/zz_controller.go b/internal/controller/ec2/vpcipv4cidrblockassociation/zz_controller.go index 1367643a19..a7557e2a49 100755 --- a/internal/controller/ec2/vpcipv4cidrblockassociation/zz_controller.go +++ b/internal/controller/ec2/vpcipv4cidrblockassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcpeeringconnection/zz_controller.go b/internal/controller/ec2/vpcpeeringconnection/zz_controller.go index 5bbb9fcdbf..967e5c0432 100755 --- a/internal/controller/ec2/vpcpeeringconnection/zz_controller.go +++ b/internal/controller/ec2/vpcpeeringconnection/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcpeeringconnectionaccepter/zz_controller.go b/internal/controller/ec2/vpcpeeringconnectionaccepter/zz_controller.go index 776c386cb2..06a034f11a 100755 --- a/internal/controller/ec2/vpcpeeringconnectionaccepter/zz_controller.go +++ b/internal/controller/ec2/vpcpeeringconnectionaccepter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpcpeeringconnectionoptions/zz_controller.go b/internal/controller/ec2/vpcpeeringconnectionoptions/zz_controller.go index dffce07398..9d3ef74b9f 100755 --- a/internal/controller/ec2/vpcpeeringconnectionoptions/zz_controller.go +++ b/internal/controller/ec2/vpcpeeringconnectionoptions/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpnconnection/zz_controller.go b/internal/controller/ec2/vpnconnection/zz_controller.go index 268794097d..4b22e7e24a 100755 --- a/internal/controller/ec2/vpnconnection/zz_controller.go +++ b/internal/controller/ec2/vpnconnection/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpnconnectionroute/zz_controller.go b/internal/controller/ec2/vpnconnectionroute/zz_controller.go index c299a02fdb..b9068bd9c1 100755 --- a/internal/controller/ec2/vpnconnectionroute/zz_controller.go +++ b/internal/controller/ec2/vpnconnectionroute/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpngateway/zz_controller.go b/internal/controller/ec2/vpngateway/zz_controller.go index 3405f958d3..76f19e0f47 100755 --- a/internal/controller/ec2/vpngateway/zz_controller.go +++ b/internal/controller/ec2/vpngateway/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpngatewayattachment/zz_controller.go b/internal/controller/ec2/vpngatewayattachment/zz_controller.go index aba5117f0e..f0bc75b645 100755 --- a/internal/controller/ec2/vpngatewayattachment/zz_controller.go +++ b/internal/controller/ec2/vpngatewayattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ec2/vpngatewayroutepropagation/zz_controller.go b/internal/controller/ec2/vpngatewayroutepropagation/zz_controller.go index 87e5c8967a..b5ba6cb81d 100755 --- a/internal/controller/ec2/vpngatewayroutepropagation/zz_controller.go +++ b/internal/controller/ec2/vpngatewayroutepropagation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/lifecyclepolicy/zz_controller.go b/internal/controller/ecr/lifecyclepolicy/zz_controller.go index cd2c99317b..d2be29639f 100755 --- a/internal/controller/ecr/lifecyclepolicy/zz_controller.go +++ b/internal/controller/ecr/lifecyclepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/pullthroughcacherule/zz_controller.go b/internal/controller/ecr/pullthroughcacherule/zz_controller.go index b938b4e8c1..7a2c688256 100755 --- a/internal/controller/ecr/pullthroughcacherule/zz_controller.go +++ b/internal/controller/ecr/pullthroughcacherule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/registrypolicy/zz_controller.go b/internal/controller/ecr/registrypolicy/zz_controller.go index 74ca606a34..6a7339271f 100755 --- a/internal/controller/ecr/registrypolicy/zz_controller.go +++ b/internal/controller/ecr/registrypolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/registryscanningconfiguration/zz_controller.go b/internal/controller/ecr/registryscanningconfiguration/zz_controller.go index f94db3d0ca..f07f7bbfde 100755 --- a/internal/controller/ecr/registryscanningconfiguration/zz_controller.go +++ b/internal/controller/ecr/registryscanningconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/replicationconfiguration/zz_controller.go b/internal/controller/ecr/replicationconfiguration/zz_controller.go index 7b6eb16e09..e1b7397ea1 100755 --- a/internal/controller/ecr/replicationconfiguration/zz_controller.go +++ b/internal/controller/ecr/replicationconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/repository/zz_controller.go b/internal/controller/ecr/repository/zz_controller.go index f41bb3cb42..286361a0dc 100755 --- a/internal/controller/ecr/repository/zz_controller.go +++ b/internal/controller/ecr/repository/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecr/repositorypolicy/zz_controller.go b/internal/controller/ecr/repositorypolicy/zz_controller.go index 32b1ad1cf0..c0ec1bb74c 100755 --- a/internal/controller/ecr/repositorypolicy/zz_controller.go +++ b/internal/controller/ecr/repositorypolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecrpublic/repository/zz_controller.go b/internal/controller/ecrpublic/repository/zz_controller.go index 2526bcc27d..818111bdc8 100755 --- a/internal/controller/ecrpublic/repository/zz_controller.go +++ b/internal/controller/ecrpublic/repository/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecrpublic/repositorypolicy/zz_controller.go b/internal/controller/ecrpublic/repositorypolicy/zz_controller.go index b0858ec8ab..1fd4a9b749 100755 --- a/internal/controller/ecrpublic/repositorypolicy/zz_controller.go +++ b/internal/controller/ecrpublic/repositorypolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/accountsettingdefault/zz_controller.go b/internal/controller/ecs/accountsettingdefault/zz_controller.go index 5dafffeae0..dda5e4acbf 100755 --- a/internal/controller/ecs/accountsettingdefault/zz_controller.go +++ b/internal/controller/ecs/accountsettingdefault/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/capacityprovider/zz_controller.go b/internal/controller/ecs/capacityprovider/zz_controller.go index 1b6eb97ffa..f1c3fa5912 100755 --- a/internal/controller/ecs/capacityprovider/zz_controller.go +++ b/internal/controller/ecs/capacityprovider/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/cluster/zz_controller.go b/internal/controller/ecs/cluster/zz_controller.go index 9608812e1c..410a6c0234 100755 --- a/internal/controller/ecs/cluster/zz_controller.go +++ b/internal/controller/ecs/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/clustercapacityproviders/zz_controller.go b/internal/controller/ecs/clustercapacityproviders/zz_controller.go index ab6f922699..20c0ec8062 100755 --- a/internal/controller/ecs/clustercapacityproviders/zz_controller.go +++ b/internal/controller/ecs/clustercapacityproviders/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/service/zz_controller.go b/internal/controller/ecs/service/zz_controller.go index 0dfd8777ab..7b098a733d 100755 --- a/internal/controller/ecs/service/zz_controller.go +++ b/internal/controller/ecs/service/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ecs/taskdefinition/zz_controller.go b/internal/controller/ecs/taskdefinition/zz_controller.go index 04e445e377..2638e3c2b9 100755 --- a/internal/controller/ecs/taskdefinition/zz_controller.go +++ b/internal/controller/ecs/taskdefinition/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/accesspoint/zz_controller.go b/internal/controller/efs/accesspoint/zz_controller.go index b60536778c..5b7a0c29a6 100755 --- a/internal/controller/efs/accesspoint/zz_controller.go +++ b/internal/controller/efs/accesspoint/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/backuppolicy/zz_controller.go b/internal/controller/efs/backuppolicy/zz_controller.go index 6fabd0ce1c..ec98f1fa2f 100755 --- a/internal/controller/efs/backuppolicy/zz_controller.go +++ b/internal/controller/efs/backuppolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/filesystem/zz_controller.go b/internal/controller/efs/filesystem/zz_controller.go index d3783c23f1..534569384a 100755 --- a/internal/controller/efs/filesystem/zz_controller.go +++ b/internal/controller/efs/filesystem/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/filesystempolicy/zz_controller.go b/internal/controller/efs/filesystempolicy/zz_controller.go index a763206a38..78725493ae 100755 --- a/internal/controller/efs/filesystempolicy/zz_controller.go +++ b/internal/controller/efs/filesystempolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/mounttarget/zz_controller.go b/internal/controller/efs/mounttarget/zz_controller.go index f92fc118fb..6529f3d5e7 100755 --- a/internal/controller/efs/mounttarget/zz_controller.go +++ b/internal/controller/efs/mounttarget/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/efs/replicationconfiguration/zz_controller.go b/internal/controller/efs/replicationconfiguration/zz_controller.go index 861644fee6..a47a165b88 100755 --- a/internal/controller/efs/replicationconfiguration/zz_controller.go +++ b/internal/controller/efs/replicationconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/eks/addon/zz_controller.go b/internal/controller/eks/addon/zz_controller.go index 3ede8620b3..06dce3d5c3 100755 --- a/internal/controller/eks/addon/zz_controller.go +++ b/internal/controller/eks/addon/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/eks/cluster/zz_controller.go b/internal/controller/eks/cluster/zz_controller.go index dfaa60696a..3cbfc2f3c6 100755 --- a/internal/controller/eks/cluster/zz_controller.go +++ b/internal/controller/eks/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/eks/fargateprofile/zz_controller.go b/internal/controller/eks/fargateprofile/zz_controller.go index e130dfc074..4ee067837a 100755 --- a/internal/controller/eks/fargateprofile/zz_controller.go +++ b/internal/controller/eks/fargateprofile/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/eks/identityproviderconfig/zz_controller.go b/internal/controller/eks/identityproviderconfig/zz_controller.go index 16dcbbe42e..4893092b72 100755 --- a/internal/controller/eks/identityproviderconfig/zz_controller.go +++ b/internal/controller/eks/identityproviderconfig/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/eks/nodegroup/zz_controller.go b/internal/controller/eks/nodegroup/zz_controller.go index d680aa4d5e..1f1730067f 100755 --- a/internal/controller/eks/nodegroup/zz_controller.go +++ b/internal/controller/eks/nodegroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/cluster/zz_controller.go b/internal/controller/elasticache/cluster/zz_controller.go index 6d65123879..1119035ba2 100755 --- a/internal/controller/elasticache/cluster/zz_controller.go +++ b/internal/controller/elasticache/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/parametergroup/zz_controller.go b/internal/controller/elasticache/parametergroup/zz_controller.go index d1f8ff080c..13fd48f92f 100755 --- a/internal/controller/elasticache/parametergroup/zz_controller.go +++ b/internal/controller/elasticache/parametergroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/replicationgroup/zz_controller.go b/internal/controller/elasticache/replicationgroup/zz_controller.go index 59d73d4258..42ac440c5e 100755 --- a/internal/controller/elasticache/replicationgroup/zz_controller.go +++ b/internal/controller/elasticache/replicationgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/subnetgroup/zz_controller.go b/internal/controller/elasticache/subnetgroup/zz_controller.go index 4fa1d6b1f9..3f1655324d 100755 --- a/internal/controller/elasticache/subnetgroup/zz_controller.go +++ b/internal/controller/elasticache/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/user/zz_controller.go b/internal/controller/elasticache/user/zz_controller.go index e72f375b3d..52687d1336 100755 --- a/internal/controller/elasticache/user/zz_controller.go +++ b/internal/controller/elasticache/user/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticache/usergroup/zz_controller.go b/internal/controller/elasticache/usergroup/zz_controller.go index 8d377ac231..4af207a8e9 100755 --- a/internal/controller/elasticache/usergroup/zz_controller.go +++ b/internal/controller/elasticache/usergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticbeanstalk/application/zz_controller.go b/internal/controller/elasticbeanstalk/application/zz_controller.go index ac1be56cde..74753f01fb 100755 --- a/internal/controller/elasticbeanstalk/application/zz_controller.go +++ b/internal/controller/elasticbeanstalk/application/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticbeanstalk/applicationversion/zz_controller.go b/internal/controller/elasticbeanstalk/applicationversion/zz_controller.go index 90bb05bc63..e4bf4b2778 100755 --- a/internal/controller/elasticbeanstalk/applicationversion/zz_controller.go +++ b/internal/controller/elasticbeanstalk/applicationversion/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticbeanstalk/configurationtemplate/zz_controller.go b/internal/controller/elasticbeanstalk/configurationtemplate/zz_controller.go index de52a866e6..7c3224246c 100755 --- a/internal/controller/elasticbeanstalk/configurationtemplate/zz_controller.go +++ b/internal/controller/elasticbeanstalk/configurationtemplate/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticsearch/domain/zz_controller.go b/internal/controller/elasticsearch/domain/zz_controller.go index de3cd21075..6c958c5d22 100755 --- a/internal/controller/elasticsearch/domain/zz_controller.go +++ b/internal/controller/elasticsearch/domain/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticsearch/domainpolicy/zz_controller.go b/internal/controller/elasticsearch/domainpolicy/zz_controller.go index 55d120a00b..6b0923fe0a 100755 --- a/internal/controller/elasticsearch/domainpolicy/zz_controller.go +++ b/internal/controller/elasticsearch/domainpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elasticsearch/domainsamloptions/zz_controller.go b/internal/controller/elasticsearch/domainsamloptions/zz_controller.go index 15c29623a5..5c3b43b1a0 100755 --- a/internal/controller/elasticsearch/domainsamloptions/zz_controller.go +++ b/internal/controller/elasticsearch/domainsamloptions/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elastictranscoder/pipeline/zz_controller.go b/internal/controller/elastictranscoder/pipeline/zz_controller.go index 7984d33d0e..f95bc0b769 100755 --- a/internal/controller/elastictranscoder/pipeline/zz_controller.go +++ b/internal/controller/elastictranscoder/pipeline/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elastictranscoder/preset/zz_controller.go b/internal/controller/elastictranscoder/preset/zz_controller.go index a7b743478d..e35984cfbd 100755 --- a/internal/controller/elastictranscoder/preset/zz_controller.go +++ b/internal/controller/elastictranscoder/preset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/appcookiestickinesspolicy/zz_controller.go b/internal/controller/elb/appcookiestickinesspolicy/zz_controller.go index 20f9f39ad4..5c945edf57 100755 --- a/internal/controller/elb/appcookiestickinesspolicy/zz_controller.go +++ b/internal/controller/elb/appcookiestickinesspolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/attachment/zz_controller.go b/internal/controller/elb/attachment/zz_controller.go index 2bfe4333d4..f3e1d09c1f 100755 --- a/internal/controller/elb/attachment/zz_controller.go +++ b/internal/controller/elb/attachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/backendserverpolicy/zz_controller.go b/internal/controller/elb/backendserverpolicy/zz_controller.go index 6e9ede7e29..4bf7a93ba2 100755 --- a/internal/controller/elb/backendserverpolicy/zz_controller.go +++ b/internal/controller/elb/backendserverpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/elb/zz_controller.go b/internal/controller/elb/elb/zz_controller.go index 5c6efb6af0..e7b238d15d 100755 --- a/internal/controller/elb/elb/zz_controller.go +++ b/internal/controller/elb/elb/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/lbcookiestickinesspolicy/zz_controller.go b/internal/controller/elb/lbcookiestickinesspolicy/zz_controller.go index e5a9ae5d78..fda3eb7d42 100755 --- a/internal/controller/elb/lbcookiestickinesspolicy/zz_controller.go +++ b/internal/controller/elb/lbcookiestickinesspolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/lbsslnegotiationpolicy/zz_controller.go b/internal/controller/elb/lbsslnegotiationpolicy/zz_controller.go index 7b8092313d..a58772ec0f 100755 --- a/internal/controller/elb/lbsslnegotiationpolicy/zz_controller.go +++ b/internal/controller/elb/lbsslnegotiationpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/listenerpolicy/zz_controller.go b/internal/controller/elb/listenerpolicy/zz_controller.go index 0d38e56874..632ebcc1c8 100755 --- a/internal/controller/elb/listenerpolicy/zz_controller.go +++ b/internal/controller/elb/listenerpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/policy/zz_controller.go b/internal/controller/elb/policy/zz_controller.go index 162135c747..1dbe7475d8 100755 --- a/internal/controller/elb/policy/zz_controller.go +++ b/internal/controller/elb/policy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elb/proxyprotocolpolicy/zz_controller.go b/internal/controller/elb/proxyprotocolpolicy/zz_controller.go index cce05ebf85..eeb604d748 100755 --- a/internal/controller/elb/proxyprotocolpolicy/zz_controller.go +++ b/internal/controller/elb/proxyprotocolpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elbv2/lb/zz_controller.go b/internal/controller/elbv2/lb/zz_controller.go index 4be8339010..6efca55ed9 100755 --- a/internal/controller/elbv2/lb/zz_controller.go +++ b/internal/controller/elbv2/lb/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elbv2/lblistener/zz_controller.go b/internal/controller/elbv2/lblistener/zz_controller.go index f886f99765..00c77e6363 100755 --- a/internal/controller/elbv2/lblistener/zz_controller.go +++ b/internal/controller/elbv2/lblistener/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elbv2/lblistenerrule/zz_controller.go b/internal/controller/elbv2/lblistenerrule/zz_controller.go index 15a0713396..72b62c653b 100755 --- a/internal/controller/elbv2/lblistenerrule/zz_controller.go +++ b/internal/controller/elbv2/lblistenerrule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elbv2/lbtargetgroup/zz_controller.go b/internal/controller/elbv2/lbtargetgroup/zz_controller.go index 168183e735..94416ace37 100755 --- a/internal/controller/elbv2/lbtargetgroup/zz_controller.go +++ b/internal/controller/elbv2/lbtargetgroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/elbv2/lbtargetgroupattachment/zz_controller.go b/internal/controller/elbv2/lbtargetgroupattachment/zz_controller.go index dd0eea82bb..b912a874e5 100755 --- a/internal/controller/elbv2/lbtargetgroupattachment/zz_controller.go +++ b/internal/controller/elbv2/lbtargetgroupattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/emr/securityconfiguration/zz_controller.go b/internal/controller/emr/securityconfiguration/zz_controller.go index fa76c03628..848493ae8d 100755 --- a/internal/controller/emr/securityconfiguration/zz_controller.go +++ b/internal/controller/emr/securityconfiguration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/emrserverless/application/zz_controller.go b/internal/controller/emrserverless/application/zz_controller.go index d5baa559b8..bbeb64997a 100755 --- a/internal/controller/emrserverless/application/zz_controller.go +++ b/internal/controller/emrserverless/application/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/evidently/feature/zz_controller.go b/internal/controller/evidently/feature/zz_controller.go index eb16c93224..6aa0a0dc27 100755 --- a/internal/controller/evidently/feature/zz_controller.go +++ b/internal/controller/evidently/feature/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/evidently/project/zz_controller.go b/internal/controller/evidently/project/zz_controller.go index 549c8bf379..0a69ae05d0 100755 --- a/internal/controller/evidently/project/zz_controller.go +++ b/internal/controller/evidently/project/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/evidently/segment/zz_controller.go b/internal/controller/evidently/segment/zz_controller.go index f1fe67c990..9613f27619 100755 --- a/internal/controller/evidently/segment/zz_controller.go +++ b/internal/controller/evidently/segment/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/firehose/deliverystream/zz_controller.go b/internal/controller/firehose/deliverystream/zz_controller.go index 25169303a9..ca83072476 100755 --- a/internal/controller/firehose/deliverystream/zz_controller.go +++ b/internal/controller/firehose/deliverystream/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fis/experimenttemplate/zz_controller.go b/internal/controller/fis/experimenttemplate/zz_controller.go index 491176a31d..e611fe9389 100755 --- a/internal/controller/fis/experimenttemplate/zz_controller.go +++ b/internal/controller/fis/experimenttemplate/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/backup/zz_controller.go b/internal/controller/fsx/backup/zz_controller.go index 3240278e44..16f91701c8 100755 --- a/internal/controller/fsx/backup/zz_controller.go +++ b/internal/controller/fsx/backup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/datarepositoryassociation/zz_controller.go b/internal/controller/fsx/datarepositoryassociation/zz_controller.go index e14d30912f..eb8014668a 100755 --- a/internal/controller/fsx/datarepositoryassociation/zz_controller.go +++ b/internal/controller/fsx/datarepositoryassociation/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/lustrefilesystem/zz_controller.go b/internal/controller/fsx/lustrefilesystem/zz_controller.go index 6d4918ea84..4edc677568 100755 --- a/internal/controller/fsx/lustrefilesystem/zz_controller.go +++ b/internal/controller/fsx/lustrefilesystem/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/ontapfilesystem/zz_controller.go b/internal/controller/fsx/ontapfilesystem/zz_controller.go index e760ef6f94..67c74ce973 100755 --- a/internal/controller/fsx/ontapfilesystem/zz_controller.go +++ b/internal/controller/fsx/ontapfilesystem/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/ontapstoragevirtualmachine/zz_controller.go b/internal/controller/fsx/ontapstoragevirtualmachine/zz_controller.go index 8d0d50a09b..db9dbf05fe 100755 --- a/internal/controller/fsx/ontapstoragevirtualmachine/zz_controller.go +++ b/internal/controller/fsx/ontapstoragevirtualmachine/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/fsx/windowsfilesystem/zz_controller.go b/internal/controller/fsx/windowsfilesystem/zz_controller.go index d82608b2e3..75c1ea30ab 100755 --- a/internal/controller/fsx/windowsfilesystem/zz_controller.go +++ b/internal/controller/fsx/windowsfilesystem/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/gamelift/alias/zz_controller.go b/internal/controller/gamelift/alias/zz_controller.go index d712d89300..c3eeb0ba0b 100755 --- a/internal/controller/gamelift/alias/zz_controller.go +++ b/internal/controller/gamelift/alias/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/gamelift/build/zz_controller.go b/internal/controller/gamelift/build/zz_controller.go index a0f050512a..615c7d6aa1 100755 --- a/internal/controller/gamelift/build/zz_controller.go +++ b/internal/controller/gamelift/build/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/gamelift/fleet/zz_controller.go b/internal/controller/gamelift/fleet/zz_controller.go index d32ec2596a..b10ea73a53 100755 --- a/internal/controller/gamelift/fleet/zz_controller.go +++ b/internal/controller/gamelift/fleet/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/gamelift/gamesessionqueue/zz_controller.go b/internal/controller/gamelift/gamesessionqueue/zz_controller.go index f66188f42a..b22ba7b104 100755 --- a/internal/controller/gamelift/gamesessionqueue/zz_controller.go +++ b/internal/controller/gamelift/gamesessionqueue/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/gamelift/script/zz_controller.go b/internal/controller/gamelift/script/zz_controller.go index 29b8e84c14..c0deead37f 100755 --- a/internal/controller/gamelift/script/zz_controller.go +++ b/internal/controller/gamelift/script/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glacier/vault/zz_controller.go b/internal/controller/glacier/vault/zz_controller.go index 1550ae9c9b..3e2b9d6c6d 100755 --- a/internal/controller/glacier/vault/zz_controller.go +++ b/internal/controller/glacier/vault/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glacier/vaultlock/zz_controller.go b/internal/controller/glacier/vaultlock/zz_controller.go index e2a32c6baf..c9b3bceb80 100755 --- a/internal/controller/glacier/vaultlock/zz_controller.go +++ b/internal/controller/glacier/vaultlock/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/globalaccelerator/accelerator/zz_controller.go b/internal/controller/globalaccelerator/accelerator/zz_controller.go index 002b45ec00..9bb7d38708 100755 --- a/internal/controller/globalaccelerator/accelerator/zz_controller.go +++ b/internal/controller/globalaccelerator/accelerator/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/globalaccelerator/endpointgroup/zz_controller.go b/internal/controller/globalaccelerator/endpointgroup/zz_controller.go index 7621ba684e..7eee36fa80 100755 --- a/internal/controller/globalaccelerator/endpointgroup/zz_controller.go +++ b/internal/controller/globalaccelerator/endpointgroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/globalaccelerator/listener/zz_controller.go b/internal/controller/globalaccelerator/listener/zz_controller.go index 9c44506d84..de2dca36c6 100755 --- a/internal/controller/globalaccelerator/listener/zz_controller.go +++ b/internal/controller/globalaccelerator/listener/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/catalogdatabase/zz_controller.go b/internal/controller/glue/catalogdatabase/zz_controller.go index 1b59e9e4e6..ba5e8de003 100755 --- a/internal/controller/glue/catalogdatabase/zz_controller.go +++ b/internal/controller/glue/catalogdatabase/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/catalogtable/zz_controller.go b/internal/controller/glue/catalogtable/zz_controller.go index ac0d83fcee..8e249a2419 100755 --- a/internal/controller/glue/catalogtable/zz_controller.go +++ b/internal/controller/glue/catalogtable/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/classifier/zz_controller.go b/internal/controller/glue/classifier/zz_controller.go index 4995c61d61..aeb9ab3605 100755 --- a/internal/controller/glue/classifier/zz_controller.go +++ b/internal/controller/glue/classifier/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/connection/zz_controller.go b/internal/controller/glue/connection/zz_controller.go index 5713875288..d451e87981 100755 --- a/internal/controller/glue/connection/zz_controller.go +++ b/internal/controller/glue/connection/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/crawler/zz_controller.go b/internal/controller/glue/crawler/zz_controller.go index 6624b706ec..9f403d00f2 100755 --- a/internal/controller/glue/crawler/zz_controller.go +++ b/internal/controller/glue/crawler/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/datacatalogencryptionsettings/zz_controller.go b/internal/controller/glue/datacatalogencryptionsettings/zz_controller.go index a2ea124166..c519841c35 100755 --- a/internal/controller/glue/datacatalogencryptionsettings/zz_controller.go +++ b/internal/controller/glue/datacatalogencryptionsettings/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/job/zz_controller.go b/internal/controller/glue/job/zz_controller.go index 329368031d..ca5f011e82 100755 --- a/internal/controller/glue/job/zz_controller.go +++ b/internal/controller/glue/job/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/registry/zz_controller.go b/internal/controller/glue/registry/zz_controller.go index 68975034a6..480f1bac74 100755 --- a/internal/controller/glue/registry/zz_controller.go +++ b/internal/controller/glue/registry/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/resourcepolicy/zz_controller.go b/internal/controller/glue/resourcepolicy/zz_controller.go index dae3640ae0..550bb38a8c 100755 --- a/internal/controller/glue/resourcepolicy/zz_controller.go +++ b/internal/controller/glue/resourcepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/schema/zz_controller.go b/internal/controller/glue/schema/zz_controller.go index 1649de629a..9b6e78e7da 100755 --- a/internal/controller/glue/schema/zz_controller.go +++ b/internal/controller/glue/schema/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/securityconfiguration/zz_controller.go b/internal/controller/glue/securityconfiguration/zz_controller.go index 4bf5921a61..0a99bad709 100755 --- a/internal/controller/glue/securityconfiguration/zz_controller.go +++ b/internal/controller/glue/securityconfiguration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/trigger/zz_controller.go b/internal/controller/glue/trigger/zz_controller.go index 86949f71b5..6543e053c2 100755 --- a/internal/controller/glue/trigger/zz_controller.go +++ b/internal/controller/glue/trigger/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/userdefinedfunction/zz_controller.go b/internal/controller/glue/userdefinedfunction/zz_controller.go index 84c047c1d3..f22bc29d3a 100755 --- a/internal/controller/glue/userdefinedfunction/zz_controller.go +++ b/internal/controller/glue/userdefinedfunction/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/glue/workflow/zz_controller.go b/internal/controller/glue/workflow/zz_controller.go index 7a663fa170..32269ff762 100755 --- a/internal/controller/glue/workflow/zz_controller.go +++ b/internal/controller/glue/workflow/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/grafana/licenseassociation/zz_controller.go b/internal/controller/grafana/licenseassociation/zz_controller.go index 522315f8bf..2371a841c6 100755 --- a/internal/controller/grafana/licenseassociation/zz_controller.go +++ b/internal/controller/grafana/licenseassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/grafana/roleassociation/zz_controller.go b/internal/controller/grafana/roleassociation/zz_controller.go index d2e153563b..5656c01907 100755 --- a/internal/controller/grafana/roleassociation/zz_controller.go +++ b/internal/controller/grafana/roleassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/grafana/workspace/zz_controller.go b/internal/controller/grafana/workspace/zz_controller.go index 4b1854147a..6f62ed44c7 100755 --- a/internal/controller/grafana/workspace/zz_controller.go +++ b/internal/controller/grafana/workspace/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/grafana/workspaceapikey/zz_controller.go b/internal/controller/grafana/workspaceapikey/zz_controller.go index 592072da77..6167ad7f8b 100755 --- a/internal/controller/grafana/workspaceapikey/zz_controller.go +++ b/internal/controller/grafana/workspaceapikey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/grafana/workspacesamlconfiguration/zz_controller.go b/internal/controller/grafana/workspacesamlconfiguration/zz_controller.go index 2a789a0afe..430f579753 100755 --- a/internal/controller/grafana/workspacesamlconfiguration/zz_controller.go +++ b/internal/controller/grafana/workspacesamlconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/guardduty/detector/zz_controller.go b/internal/controller/guardduty/detector/zz_controller.go index 9e99f54365..d7c9ccf12a 100755 --- a/internal/controller/guardduty/detector/zz_controller.go +++ b/internal/controller/guardduty/detector/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/guardduty/filter/zz_controller.go b/internal/controller/guardduty/filter/zz_controller.go index 64cf479b15..8090305491 100755 --- a/internal/controller/guardduty/filter/zz_controller.go +++ b/internal/controller/guardduty/filter/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/guardduty/member/zz_controller.go b/internal/controller/guardduty/member/zz_controller.go index 61091835ec..5ff36bf0a5 100755 --- a/internal/controller/guardduty/member/zz_controller.go +++ b/internal/controller/guardduty/member/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/accesskey/zz_controller.go b/internal/controller/iam/accesskey/zz_controller.go index 91b25a0078..637e5d3ea2 100755 --- a/internal/controller/iam/accesskey/zz_controller.go +++ b/internal/controller/iam/accesskey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/accountalias/zz_controller.go b/internal/controller/iam/accountalias/zz_controller.go index 94278048a5..fd0d735eb7 100755 --- a/internal/controller/iam/accountalias/zz_controller.go +++ b/internal/controller/iam/accountalias/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/accountpasswordpolicy/zz_controller.go b/internal/controller/iam/accountpasswordpolicy/zz_controller.go index f00fecec76..7ea2a6adf8 100755 --- a/internal/controller/iam/accountpasswordpolicy/zz_controller.go +++ b/internal/controller/iam/accountpasswordpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/group/zz_controller.go b/internal/controller/iam/group/zz_controller.go index 46d356c5be..8797a62e01 100755 --- a/internal/controller/iam/group/zz_controller.go +++ b/internal/controller/iam/group/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/groupmembership/zz_controller.go b/internal/controller/iam/groupmembership/zz_controller.go index fcd4952fca..121f19ad66 100755 --- a/internal/controller/iam/groupmembership/zz_controller.go +++ b/internal/controller/iam/groupmembership/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/grouppolicyattachment/zz_controller.go b/internal/controller/iam/grouppolicyattachment/zz_controller.go index e370f3b885..d6f4fbc13e 100755 --- a/internal/controller/iam/grouppolicyattachment/zz_controller.go +++ b/internal/controller/iam/grouppolicyattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/instanceprofile/zz_controller.go b/internal/controller/iam/instanceprofile/zz_controller.go index 0265deab08..806bfe13c7 100755 --- a/internal/controller/iam/instanceprofile/zz_controller.go +++ b/internal/controller/iam/instanceprofile/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/openidconnectprovider/zz_controller.go b/internal/controller/iam/openidconnectprovider/zz_controller.go index 111dcb3778..e4b151f09a 100755 --- a/internal/controller/iam/openidconnectprovider/zz_controller.go +++ b/internal/controller/iam/openidconnectprovider/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/policy/zz_controller.go b/internal/controller/iam/policy/zz_controller.go index 5b48aaaa35..2d9f2cbc68 100755 --- a/internal/controller/iam/policy/zz_controller.go +++ b/internal/controller/iam/policy/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/role/zz_controller.go b/internal/controller/iam/role/zz_controller.go index 1c207ec0f5..1a8c96094f 100755 --- a/internal/controller/iam/role/zz_controller.go +++ b/internal/controller/iam/role/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/rolepolicy/zz_controller.go b/internal/controller/iam/rolepolicy/zz_controller.go index 07fee547a0..1812da56ca 100755 --- a/internal/controller/iam/rolepolicy/zz_controller.go +++ b/internal/controller/iam/rolepolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/rolepolicyattachment/zz_controller.go b/internal/controller/iam/rolepolicyattachment/zz_controller.go index c8ca867067..0d8563f7aa 100755 --- a/internal/controller/iam/rolepolicyattachment/zz_controller.go +++ b/internal/controller/iam/rolepolicyattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/samlprovider/zz_controller.go b/internal/controller/iam/samlprovider/zz_controller.go index c6324712f8..e32fe6bacd 100755 --- a/internal/controller/iam/samlprovider/zz_controller.go +++ b/internal/controller/iam/samlprovider/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/servercertificate/zz_controller.go b/internal/controller/iam/servercertificate/zz_controller.go index 384a7aa0ec..b129819420 100755 --- a/internal/controller/iam/servercertificate/zz_controller.go +++ b/internal/controller/iam/servercertificate/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/servicelinkedrole/zz_controller.go b/internal/controller/iam/servicelinkedrole/zz_controller.go index bf11bbe9a4..a4229a6cd4 100755 --- a/internal/controller/iam/servicelinkedrole/zz_controller.go +++ b/internal/controller/iam/servicelinkedrole/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/servicespecificcredential/zz_controller.go b/internal/controller/iam/servicespecificcredential/zz_controller.go index 528dcf5cb0..833eda2fb2 100755 --- a/internal/controller/iam/servicespecificcredential/zz_controller.go +++ b/internal/controller/iam/servicespecificcredential/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/signingcertificate/zz_controller.go b/internal/controller/iam/signingcertificate/zz_controller.go index 345fde9ec9..144eba6b69 100755 --- a/internal/controller/iam/signingcertificate/zz_controller.go +++ b/internal/controller/iam/signingcertificate/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/user/zz_controller.go b/internal/controller/iam/user/zz_controller.go index 4351047234..3711448948 100755 --- a/internal/controller/iam/user/zz_controller.go +++ b/internal/controller/iam/user/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/usergroupmembership/zz_controller.go b/internal/controller/iam/usergroupmembership/zz_controller.go index 1f4da20f42..f3ced62406 100755 --- a/internal/controller/iam/usergroupmembership/zz_controller.go +++ b/internal/controller/iam/usergroupmembership/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/userloginprofile/zz_controller.go b/internal/controller/iam/userloginprofile/zz_controller.go index d1530255e0..2582e77c2f 100755 --- a/internal/controller/iam/userloginprofile/zz_controller.go +++ b/internal/controller/iam/userloginprofile/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/userpolicyattachment/zz_controller.go b/internal/controller/iam/userpolicyattachment/zz_controller.go index f194979b4d..6529a1593e 100755 --- a/internal/controller/iam/userpolicyattachment/zz_controller.go +++ b/internal/controller/iam/userpolicyattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/usersshkey/zz_controller.go b/internal/controller/iam/usersshkey/zz_controller.go index 0950cda7e2..dd6f8bcd10 100755 --- a/internal/controller/iam/usersshkey/zz_controller.go +++ b/internal/controller/iam/usersshkey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iam/virtualmfadevice/zz_controller.go b/internal/controller/iam/virtualmfadevice/zz_controller.go index 123e2e7e80..6273297328 100755 --- a/internal/controller/iam/virtualmfadevice/zz_controller.go +++ b/internal/controller/iam/virtualmfadevice/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/component/zz_controller.go b/internal/controller/imagebuilder/component/zz_controller.go index 09d2daab82..ebae67cd43 100755 --- a/internal/controller/imagebuilder/component/zz_controller.go +++ b/internal/controller/imagebuilder/component/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/containerrecipe/zz_controller.go b/internal/controller/imagebuilder/containerrecipe/zz_controller.go index 2042dac454..241f7cbef3 100755 --- a/internal/controller/imagebuilder/containerrecipe/zz_controller.go +++ b/internal/controller/imagebuilder/containerrecipe/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/distributionconfiguration/zz_controller.go b/internal/controller/imagebuilder/distributionconfiguration/zz_controller.go index 20ed9bc137..89291b7201 100755 --- a/internal/controller/imagebuilder/distributionconfiguration/zz_controller.go +++ b/internal/controller/imagebuilder/distributionconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/image/zz_controller.go b/internal/controller/imagebuilder/image/zz_controller.go index f3e44bd657..09869f8464 100755 --- a/internal/controller/imagebuilder/image/zz_controller.go +++ b/internal/controller/imagebuilder/image/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/imagepipeline/zz_controller.go b/internal/controller/imagebuilder/imagepipeline/zz_controller.go index 8126946d67..7fb7148839 100755 --- a/internal/controller/imagebuilder/imagepipeline/zz_controller.go +++ b/internal/controller/imagebuilder/imagepipeline/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/imagerecipe/zz_controller.go b/internal/controller/imagebuilder/imagerecipe/zz_controller.go index 15695f85d4..f1e7ce21c5 100755 --- a/internal/controller/imagebuilder/imagerecipe/zz_controller.go +++ b/internal/controller/imagebuilder/imagerecipe/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/imagebuilder/infrastructureconfiguration/zz_controller.go b/internal/controller/imagebuilder/infrastructureconfiguration/zz_controller.go index cf4943e73e..8483d471d1 100755 --- a/internal/controller/imagebuilder/infrastructureconfiguration/zz_controller.go +++ b/internal/controller/imagebuilder/infrastructureconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/inspector/assessmenttarget/zz_controller.go b/internal/controller/inspector/assessmenttarget/zz_controller.go index 8a64901cf9..243de7dc55 100755 --- a/internal/controller/inspector/assessmenttarget/zz_controller.go +++ b/internal/controller/inspector/assessmenttarget/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/inspector/assessmenttemplate/zz_controller.go b/internal/controller/inspector/assessmenttemplate/zz_controller.go index 78eda1e355..db0d3e3f6d 100755 --- a/internal/controller/inspector/assessmenttemplate/zz_controller.go +++ b/internal/controller/inspector/assessmenttemplate/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/inspector/resourcegroup/zz_controller.go b/internal/controller/inspector/resourcegroup/zz_controller.go index f4b9e0fcdc..a1e4ddb109 100755 --- a/internal/controller/inspector/resourcegroup/zz_controller.go +++ b/internal/controller/inspector/resourcegroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/inspector2/enabler/zz_controller.go b/internal/controller/inspector2/enabler/zz_controller.go index 6f4ba287b1..b1c7f0a4e2 100755 --- a/internal/controller/inspector2/enabler/zz_controller.go +++ b/internal/controller/inspector2/enabler/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/certificate/zz_controller.go b/internal/controller/iot/certificate/zz_controller.go index 0c5b4c5d86..487681ca37 100755 --- a/internal/controller/iot/certificate/zz_controller.go +++ b/internal/controller/iot/certificate/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/indexingconfiguration/zz_controller.go b/internal/controller/iot/indexingconfiguration/zz_controller.go index 531400a234..1a04339a80 100755 --- a/internal/controller/iot/indexingconfiguration/zz_controller.go +++ b/internal/controller/iot/indexingconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/loggingoptions/zz_controller.go b/internal/controller/iot/loggingoptions/zz_controller.go index 318a9b5ac7..226a5054a1 100755 --- a/internal/controller/iot/loggingoptions/zz_controller.go +++ b/internal/controller/iot/loggingoptions/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/policy/zz_controller.go b/internal/controller/iot/policy/zz_controller.go index 73504180e7..feddc6d85e 100755 --- a/internal/controller/iot/policy/zz_controller.go +++ b/internal/controller/iot/policy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/policyattachment/zz_controller.go b/internal/controller/iot/policyattachment/zz_controller.go index 7300c91226..54355ca233 100755 --- a/internal/controller/iot/policyattachment/zz_controller.go +++ b/internal/controller/iot/policyattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/provisioningtemplate/zz_controller.go b/internal/controller/iot/provisioningtemplate/zz_controller.go index af0fab326a..f486fb8059 100755 --- a/internal/controller/iot/provisioningtemplate/zz_controller.go +++ b/internal/controller/iot/provisioningtemplate/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/rolealias/zz_controller.go b/internal/controller/iot/rolealias/zz_controller.go index 5d2c88ddd2..4a43dc1292 100755 --- a/internal/controller/iot/rolealias/zz_controller.go +++ b/internal/controller/iot/rolealias/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/thing/zz_controller.go b/internal/controller/iot/thing/zz_controller.go index 870d83679d..46ddd54ee7 100755 --- a/internal/controller/iot/thing/zz_controller.go +++ b/internal/controller/iot/thing/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/thinggroup/zz_controller.go b/internal/controller/iot/thinggroup/zz_controller.go index b8fcdf4922..3ee06a3dfb 100755 --- a/internal/controller/iot/thinggroup/zz_controller.go +++ b/internal/controller/iot/thinggroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/thinggroupmembership/zz_controller.go b/internal/controller/iot/thinggroupmembership/zz_controller.go index 81fa3b9f49..965af4c3f5 100755 --- a/internal/controller/iot/thinggroupmembership/zz_controller.go +++ b/internal/controller/iot/thinggroupmembership/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/thingprincipalattachment/zz_controller.go b/internal/controller/iot/thingprincipalattachment/zz_controller.go index b680a2b029..7aa24dc468 100755 --- a/internal/controller/iot/thingprincipalattachment/zz_controller.go +++ b/internal/controller/iot/thingprincipalattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/thingtype/zz_controller.go b/internal/controller/iot/thingtype/zz_controller.go index f2abe401f4..dc4f39a1f7 100755 --- a/internal/controller/iot/thingtype/zz_controller.go +++ b/internal/controller/iot/thingtype/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/iot/topicrule/zz_controller.go b/internal/controller/iot/topicrule/zz_controller.go index f95689d0b3..a2fd207d52 100755 --- a/internal/controller/iot/topicrule/zz_controller.go +++ b/internal/controller/iot/topicrule/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ivs/channel/zz_controller.go b/internal/controller/ivs/channel/zz_controller.go index b227af0cea..7624618ab9 100755 --- a/internal/controller/ivs/channel/zz_controller.go +++ b/internal/controller/ivs/channel/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ivs/recordingconfiguration/zz_controller.go b/internal/controller/ivs/recordingconfiguration/zz_controller.go index 79c8bca61c..531b0ccedb 100755 --- a/internal/controller/ivs/recordingconfiguration/zz_controller.go +++ b/internal/controller/ivs/recordingconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kafka/cluster/zz_controller.go b/internal/controller/kafka/cluster/zz_controller.go index 7400bbb5b0..e94663fff4 100755 --- a/internal/controller/kafka/cluster/zz_controller.go +++ b/internal/controller/kafka/cluster/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kafka/configuration/zz_controller.go b/internal/controller/kafka/configuration/zz_controller.go index 33d51d1c1c..16ad355276 100755 --- a/internal/controller/kafka/configuration/zz_controller.go +++ b/internal/controller/kafka/configuration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kafka/scramsecretassociation/zz_controller.go b/internal/controller/kafka/scramsecretassociation/zz_controller.go index 75befcfc42..fd5e98c652 100755 --- a/internal/controller/kafka/scramsecretassociation/zz_controller.go +++ b/internal/controller/kafka/scramsecretassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kendra/datasource/zz_controller.go b/internal/controller/kendra/datasource/zz_controller.go index 7763592794..113a1a209b 100755 --- a/internal/controller/kendra/datasource/zz_controller.go +++ b/internal/controller/kendra/datasource/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kendra/experience/zz_controller.go b/internal/controller/kendra/experience/zz_controller.go index 773c2bcd8f..5cb0dca757 100755 --- a/internal/controller/kendra/experience/zz_controller.go +++ b/internal/controller/kendra/experience/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kendra/index/zz_controller.go b/internal/controller/kendra/index/zz_controller.go index c5f4315c70..2f10c5db87 100755 --- a/internal/controller/kendra/index/zz_controller.go +++ b/internal/controller/kendra/index/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kendra/querysuggestionsblocklist/zz_controller.go b/internal/controller/kendra/querysuggestionsblocklist/zz_controller.go index 5ae102c334..a1fa9e9f32 100755 --- a/internal/controller/kendra/querysuggestionsblocklist/zz_controller.go +++ b/internal/controller/kendra/querysuggestionsblocklist/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kendra/thesaurus/zz_controller.go b/internal/controller/kendra/thesaurus/zz_controller.go index f5d7cc8df8..7e942625c4 100755 --- a/internal/controller/kendra/thesaurus/zz_controller.go +++ b/internal/controller/kendra/thesaurus/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/keyspaces/keyspace/zz_controller.go b/internal/controller/keyspaces/keyspace/zz_controller.go index 606f224d41..74331105d0 100755 --- a/internal/controller/keyspaces/keyspace/zz_controller.go +++ b/internal/controller/keyspaces/keyspace/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/keyspaces/table/zz_controller.go b/internal/controller/keyspaces/table/zz_controller.go index a677cdf9b9..728661bdec 100755 --- a/internal/controller/keyspaces/table/zz_controller.go +++ b/internal/controller/keyspaces/table/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesis/stream/zz_controller.go b/internal/controller/kinesis/stream/zz_controller.go index 4469089777..682cabb600 100755 --- a/internal/controller/kinesis/stream/zz_controller.go +++ b/internal/controller/kinesis/stream/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesis/streamconsumer/zz_controller.go b/internal/controller/kinesis/streamconsumer/zz_controller.go index 004b15d0be..0cddb62933 100755 --- a/internal/controller/kinesis/streamconsumer/zz_controller.go +++ b/internal/controller/kinesis/streamconsumer/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesisanalytics/application/zz_controller.go b/internal/controller/kinesisanalytics/application/zz_controller.go index b50b889bb0..b6e85ece1f 100755 --- a/internal/controller/kinesisanalytics/application/zz_controller.go +++ b/internal/controller/kinesisanalytics/application/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesisanalyticsv2/application/zz_controller.go b/internal/controller/kinesisanalyticsv2/application/zz_controller.go index 3693cfe658..6f70f64851 100755 --- a/internal/controller/kinesisanalyticsv2/application/zz_controller.go +++ b/internal/controller/kinesisanalyticsv2/application/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesisanalyticsv2/applicationsnapshot/zz_controller.go b/internal/controller/kinesisanalyticsv2/applicationsnapshot/zz_controller.go index 67a9f39fbd..b80b4b24bc 100755 --- a/internal/controller/kinesisanalyticsv2/applicationsnapshot/zz_controller.go +++ b/internal/controller/kinesisanalyticsv2/applicationsnapshot/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kinesisvideo/stream/zz_controller.go b/internal/controller/kinesisvideo/stream/zz_controller.go index 19f2ef54ca..1e0264d7de 100755 --- a/internal/controller/kinesisvideo/stream/zz_controller.go +++ b/internal/controller/kinesisvideo/stream/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/alias/zz_controller.go b/internal/controller/kms/alias/zz_controller.go index d7ae0be3a9..d228a1dc98 100755 --- a/internal/controller/kms/alias/zz_controller.go +++ b/internal/controller/kms/alias/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/ciphertext/zz_controller.go b/internal/controller/kms/ciphertext/zz_controller.go index ed36c5a70f..31e1559b85 100755 --- a/internal/controller/kms/ciphertext/zz_controller.go +++ b/internal/controller/kms/ciphertext/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/externalkey/zz_controller.go b/internal/controller/kms/externalkey/zz_controller.go index 6e6e092850..52d7be8864 100755 --- a/internal/controller/kms/externalkey/zz_controller.go +++ b/internal/controller/kms/externalkey/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/grant/zz_controller.go b/internal/controller/kms/grant/zz_controller.go index 9044164f28..d72f93f029 100755 --- a/internal/controller/kms/grant/zz_controller.go +++ b/internal/controller/kms/grant/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/key/zz_controller.go b/internal/controller/kms/key/zz_controller.go index 06f8d2909c..4348d76c89 100755 --- a/internal/controller/kms/key/zz_controller.go +++ b/internal/controller/kms/key/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/replicaexternalkey/zz_controller.go b/internal/controller/kms/replicaexternalkey/zz_controller.go index c06f5be01f..7b4183d677 100755 --- a/internal/controller/kms/replicaexternalkey/zz_controller.go +++ b/internal/controller/kms/replicaexternalkey/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/kms/replicakey/zz_controller.go b/internal/controller/kms/replicakey/zz_controller.go index 063a5753cd..4b2bf688e9 100755 --- a/internal/controller/kms/replicakey/zz_controller.go +++ b/internal/controller/kms/replicakey/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lakeformation/datalakesettings/zz_controller.go b/internal/controller/lakeformation/datalakesettings/zz_controller.go index e02e5d71a2..9188d8783e 100755 --- a/internal/controller/lakeformation/datalakesettings/zz_controller.go +++ b/internal/controller/lakeformation/datalakesettings/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lakeformation/permissions/zz_controller.go b/internal/controller/lakeformation/permissions/zz_controller.go index 646cedf179..579795453e 100755 --- a/internal/controller/lakeformation/permissions/zz_controller.go +++ b/internal/controller/lakeformation/permissions/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lakeformation/resource/zz_controller.go b/internal/controller/lakeformation/resource/zz_controller.go index 902d8cc55e..6e87fc5b97 100755 --- a/internal/controller/lakeformation/resource/zz_controller.go +++ b/internal/controller/lakeformation/resource/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/alias/zz_controller.go b/internal/controller/lambda/alias/zz_controller.go index 88cd61927b..8c2f3114b2 100755 --- a/internal/controller/lambda/alias/zz_controller.go +++ b/internal/controller/lambda/alias/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/codesigningconfig/zz_controller.go b/internal/controller/lambda/codesigningconfig/zz_controller.go index c640dc711f..4ba3d3741f 100755 --- a/internal/controller/lambda/codesigningconfig/zz_controller.go +++ b/internal/controller/lambda/codesigningconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/eventsourcemapping/zz_controller.go b/internal/controller/lambda/eventsourcemapping/zz_controller.go index 3a97b5f873..ba4e6ddcfa 100755 --- a/internal/controller/lambda/eventsourcemapping/zz_controller.go +++ b/internal/controller/lambda/eventsourcemapping/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/function/zz_controller.go b/internal/controller/lambda/function/zz_controller.go index 1aabd5d502..97392bd331 100755 --- a/internal/controller/lambda/function/zz_controller.go +++ b/internal/controller/lambda/function/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/functioneventinvokeconfig/zz_controller.go b/internal/controller/lambda/functioneventinvokeconfig/zz_controller.go index fde7baf389..2d270f26e0 100755 --- a/internal/controller/lambda/functioneventinvokeconfig/zz_controller.go +++ b/internal/controller/lambda/functioneventinvokeconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/functionurl/zz_controller.go b/internal/controller/lambda/functionurl/zz_controller.go index 6b49421614..ed4199bc09 100755 --- a/internal/controller/lambda/functionurl/zz_controller.go +++ b/internal/controller/lambda/functionurl/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/invocation/zz_controller.go b/internal/controller/lambda/invocation/zz_controller.go index 5fe8987264..43311dd2ee 100755 --- a/internal/controller/lambda/invocation/zz_controller.go +++ b/internal/controller/lambda/invocation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/layerversion/zz_controller.go b/internal/controller/lambda/layerversion/zz_controller.go index cfa858d8a9..36712999cb 100755 --- a/internal/controller/lambda/layerversion/zz_controller.go +++ b/internal/controller/lambda/layerversion/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/layerversionpermission/zz_controller.go b/internal/controller/lambda/layerversionpermission/zz_controller.go index cbd5397b81..f3bff3abaa 100755 --- a/internal/controller/lambda/layerversionpermission/zz_controller.go +++ b/internal/controller/lambda/layerversionpermission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/permission/zz_controller.go b/internal/controller/lambda/permission/zz_controller.go index 6b76efb964..f305241e95 100755 --- a/internal/controller/lambda/permission/zz_controller.go +++ b/internal/controller/lambda/permission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lambda/provisionedconcurrencyconfig/zz_controller.go b/internal/controller/lambda/provisionedconcurrencyconfig/zz_controller.go index e920c176ad..c6b825aa1a 100755 --- a/internal/controller/lambda/provisionedconcurrencyconfig/zz_controller.go +++ b/internal/controller/lambda/provisionedconcurrencyconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lexmodels/bot/zz_controller.go b/internal/controller/lexmodels/bot/zz_controller.go index aaac01e1b4..92ab28119a 100755 --- a/internal/controller/lexmodels/bot/zz_controller.go +++ b/internal/controller/lexmodels/bot/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lexmodels/botalias/zz_controller.go b/internal/controller/lexmodels/botalias/zz_controller.go index 67a6f37e90..4c0d211be9 100755 --- a/internal/controller/lexmodels/botalias/zz_controller.go +++ b/internal/controller/lexmodels/botalias/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lexmodels/intent/zz_controller.go b/internal/controller/lexmodels/intent/zz_controller.go index 3a602a508d..1c0ece8715 100755 --- a/internal/controller/lexmodels/intent/zz_controller.go +++ b/internal/controller/lexmodels/intent/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lexmodels/slottype/zz_controller.go b/internal/controller/lexmodels/slottype/zz_controller.go index 03fe677f72..9f2b5d08c2 100755 --- a/internal/controller/lexmodels/slottype/zz_controller.go +++ b/internal/controller/lexmodels/slottype/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/licensemanager/association/zz_controller.go b/internal/controller/licensemanager/association/zz_controller.go index 4e938fa2d3..c7e0bc381d 100755 --- a/internal/controller/licensemanager/association/zz_controller.go +++ b/internal/controller/licensemanager/association/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/licensemanager/licenseconfiguration/zz_controller.go b/internal/controller/licensemanager/licenseconfiguration/zz_controller.go index bf743fca4e..b167558f17 100755 --- a/internal/controller/licensemanager/licenseconfiguration/zz_controller.go +++ b/internal/controller/licensemanager/licenseconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/bucket/zz_controller.go b/internal/controller/lightsail/bucket/zz_controller.go index dc0f420035..dbed2fa682 100755 --- a/internal/controller/lightsail/bucket/zz_controller.go +++ b/internal/controller/lightsail/bucket/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/certificate/zz_controller.go b/internal/controller/lightsail/certificate/zz_controller.go index bcf6e7ab4d..ff8b2f5bb7 100755 --- a/internal/controller/lightsail/certificate/zz_controller.go +++ b/internal/controller/lightsail/certificate/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/containerservice/zz_controller.go b/internal/controller/lightsail/containerservice/zz_controller.go index 643870299f..f827cd5470 100755 --- a/internal/controller/lightsail/containerservice/zz_controller.go +++ b/internal/controller/lightsail/containerservice/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/disk/zz_controller.go b/internal/controller/lightsail/disk/zz_controller.go index 19d5e49f58..cdcd736b3f 100755 --- a/internal/controller/lightsail/disk/zz_controller.go +++ b/internal/controller/lightsail/disk/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/diskattachment/zz_controller.go b/internal/controller/lightsail/diskattachment/zz_controller.go index 121a00031a..aa8bc50624 100755 --- a/internal/controller/lightsail/diskattachment/zz_controller.go +++ b/internal/controller/lightsail/diskattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/domain/zz_controller.go b/internal/controller/lightsail/domain/zz_controller.go index c04100eab4..24a7407179 100755 --- a/internal/controller/lightsail/domain/zz_controller.go +++ b/internal/controller/lightsail/domain/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/domainentry/zz_controller.go b/internal/controller/lightsail/domainentry/zz_controller.go index 01725b7620..a58bedc9dc 100755 --- a/internal/controller/lightsail/domainentry/zz_controller.go +++ b/internal/controller/lightsail/domainentry/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/instance/zz_controller.go b/internal/controller/lightsail/instance/zz_controller.go index ef59e3bff5..95b8e596bd 100755 --- a/internal/controller/lightsail/instance/zz_controller.go +++ b/internal/controller/lightsail/instance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/instancepublicports/zz_controller.go b/internal/controller/lightsail/instancepublicports/zz_controller.go index 2731d3a4be..1b3908e101 100755 --- a/internal/controller/lightsail/instancepublicports/zz_controller.go +++ b/internal/controller/lightsail/instancepublicports/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/keypair/zz_controller.go b/internal/controller/lightsail/keypair/zz_controller.go index 5ae3356bb9..8f2c4c1c81 100755 --- a/internal/controller/lightsail/keypair/zz_controller.go +++ b/internal/controller/lightsail/keypair/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/lb/zz_controller.go b/internal/controller/lightsail/lb/zz_controller.go index 59e6addc8d..629ed48e51 100755 --- a/internal/controller/lightsail/lb/zz_controller.go +++ b/internal/controller/lightsail/lb/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/lbattachment/zz_controller.go b/internal/controller/lightsail/lbattachment/zz_controller.go index 4a6ea4d8d6..d8aaf091f2 100755 --- a/internal/controller/lightsail/lbattachment/zz_controller.go +++ b/internal/controller/lightsail/lbattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/lbcertificate/zz_controller.go b/internal/controller/lightsail/lbcertificate/zz_controller.go index aa7638783b..db45213d68 100755 --- a/internal/controller/lightsail/lbcertificate/zz_controller.go +++ b/internal/controller/lightsail/lbcertificate/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/lbstickinesspolicy/zz_controller.go b/internal/controller/lightsail/lbstickinesspolicy/zz_controller.go index 292952f7f5..1279f6fd51 100755 --- a/internal/controller/lightsail/lbstickinesspolicy/zz_controller.go +++ b/internal/controller/lightsail/lbstickinesspolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/staticip/zz_controller.go b/internal/controller/lightsail/staticip/zz_controller.go index 0f5bbbc473..4ad65c139e 100755 --- a/internal/controller/lightsail/staticip/zz_controller.go +++ b/internal/controller/lightsail/staticip/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/lightsail/staticipattachment/zz_controller.go b/internal/controller/lightsail/staticipattachment/zz_controller.go index 5299c4488b..7f34837795 100755 --- a/internal/controller/lightsail/staticipattachment/zz_controller.go +++ b/internal/controller/lightsail/staticipattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/location/geofencecollection/zz_controller.go b/internal/controller/location/geofencecollection/zz_controller.go index 4e12bfc68d..11a2baac10 100755 --- a/internal/controller/location/geofencecollection/zz_controller.go +++ b/internal/controller/location/geofencecollection/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/location/placeindex/zz_controller.go b/internal/controller/location/placeindex/zz_controller.go index fbc0a4cefd..c0e7e073ec 100755 --- a/internal/controller/location/placeindex/zz_controller.go +++ b/internal/controller/location/placeindex/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/location/routecalculator/zz_controller.go b/internal/controller/location/routecalculator/zz_controller.go index 24b4ab2835..da07f7fb3c 100755 --- a/internal/controller/location/routecalculator/zz_controller.go +++ b/internal/controller/location/routecalculator/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/location/tracker/zz_controller.go b/internal/controller/location/tracker/zz_controller.go index abc6be9545..17dd44db16 100755 --- a/internal/controller/location/tracker/zz_controller.go +++ b/internal/controller/location/tracker/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/location/trackerassociation/zz_controller.go b/internal/controller/location/trackerassociation/zz_controller.go index 33c829d638..5126a417fe 100755 --- a/internal/controller/location/trackerassociation/zz_controller.go +++ b/internal/controller/location/trackerassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/account/zz_controller.go b/internal/controller/macie2/account/zz_controller.go index 69e201401d..40f7c132fb 100755 --- a/internal/controller/macie2/account/zz_controller.go +++ b/internal/controller/macie2/account/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/classificationjob/zz_controller.go b/internal/controller/macie2/classificationjob/zz_controller.go index ec1c23f5a1..6c578d2cbe 100755 --- a/internal/controller/macie2/classificationjob/zz_controller.go +++ b/internal/controller/macie2/classificationjob/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/customdataidentifier/zz_controller.go b/internal/controller/macie2/customdataidentifier/zz_controller.go index 75b156ebbe..1b8fbd8a25 100755 --- a/internal/controller/macie2/customdataidentifier/zz_controller.go +++ b/internal/controller/macie2/customdataidentifier/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/findingsfilter/zz_controller.go b/internal/controller/macie2/findingsfilter/zz_controller.go index 54fdff9e02..8556e710ac 100755 --- a/internal/controller/macie2/findingsfilter/zz_controller.go +++ b/internal/controller/macie2/findingsfilter/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/invitationaccepter/zz_controller.go b/internal/controller/macie2/invitationaccepter/zz_controller.go index cff7f7af9c..873974d7a1 100755 --- a/internal/controller/macie2/invitationaccepter/zz_controller.go +++ b/internal/controller/macie2/invitationaccepter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/macie2/member/zz_controller.go b/internal/controller/macie2/member/zz_controller.go index df3603401e..44919bddaf 100755 --- a/internal/controller/macie2/member/zz_controller.go +++ b/internal/controller/macie2/member/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mediaconvert/queue/zz_controller.go b/internal/controller/mediaconvert/queue/zz_controller.go index 5913164f40..1274e173f5 100755 --- a/internal/controller/mediaconvert/queue/zz_controller.go +++ b/internal/controller/mediaconvert/queue/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/medialive/channel/zz_controller.go b/internal/controller/medialive/channel/zz_controller.go index 00f1e0fa40..52b41a8df6 100755 --- a/internal/controller/medialive/channel/zz_controller.go +++ b/internal/controller/medialive/channel/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/medialive/input/zz_controller.go b/internal/controller/medialive/input/zz_controller.go index b704564f9f..bd9b81ee77 100755 --- a/internal/controller/medialive/input/zz_controller.go +++ b/internal/controller/medialive/input/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/medialive/inputsecuritygroup/zz_controller.go b/internal/controller/medialive/inputsecuritygroup/zz_controller.go index fbe7368c95..bf972b8158 100755 --- a/internal/controller/medialive/inputsecuritygroup/zz_controller.go +++ b/internal/controller/medialive/inputsecuritygroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/medialive/multiplex/zz_controller.go b/internal/controller/medialive/multiplex/zz_controller.go index ac67971728..aca5d29742 100755 --- a/internal/controller/medialive/multiplex/zz_controller.go +++ b/internal/controller/medialive/multiplex/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mediapackage/channel/zz_controller.go b/internal/controller/mediapackage/channel/zz_controller.go index 7a59210ad8..dc6810b0b5 100755 --- a/internal/controller/mediapackage/channel/zz_controller.go +++ b/internal/controller/mediapackage/channel/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mediastore/container/zz_controller.go b/internal/controller/mediastore/container/zz_controller.go index 11fcbd3777..b2c564222b 100755 --- a/internal/controller/mediastore/container/zz_controller.go +++ b/internal/controller/mediastore/container/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mediastore/containerpolicy/zz_controller.go b/internal/controller/mediastore/containerpolicy/zz_controller.go index 25a3c3238a..4fcfe183bb 100755 --- a/internal/controller/mediastore/containerpolicy/zz_controller.go +++ b/internal/controller/mediastore/containerpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/memorydb/acl/zz_controller.go b/internal/controller/memorydb/acl/zz_controller.go index 4cbc179d93..8c2c562faf 100755 --- a/internal/controller/memorydb/acl/zz_controller.go +++ b/internal/controller/memorydb/acl/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/memorydb/cluster/zz_controller.go b/internal/controller/memorydb/cluster/zz_controller.go index 64bcc6ae7e..267c95d759 100755 --- a/internal/controller/memorydb/cluster/zz_controller.go +++ b/internal/controller/memorydb/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/memorydb/parametergroup/zz_controller.go b/internal/controller/memorydb/parametergroup/zz_controller.go index 18d23e5eb1..221381fee7 100755 --- a/internal/controller/memorydb/parametergroup/zz_controller.go +++ b/internal/controller/memorydb/parametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/memorydb/snapshot/zz_controller.go b/internal/controller/memorydb/snapshot/zz_controller.go index ec8ca1cc3f..9b6558d7f4 100755 --- a/internal/controller/memorydb/snapshot/zz_controller.go +++ b/internal/controller/memorydb/snapshot/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/memorydb/subnetgroup/zz_controller.go b/internal/controller/memorydb/subnetgroup/zz_controller.go index 4c023bb3ef..a6b3a2cc22 100755 --- a/internal/controller/memorydb/subnetgroup/zz_controller.go +++ b/internal/controller/memorydb/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mq/broker/zz_controller.go b/internal/controller/mq/broker/zz_controller.go index 5eefe19efe..c29472efc8 100755 --- a/internal/controller/mq/broker/zz_controller.go +++ b/internal/controller/mq/broker/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/mq/configuration/zz_controller.go b/internal/controller/mq/configuration/zz_controller.go index bf9bd3317a..3697cfb433 100755 --- a/internal/controller/mq/configuration/zz_controller.go +++ b/internal/controller/mq/configuration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/cluster/zz_controller.go b/internal/controller/neptune/cluster/zz_controller.go index 747d10d8d5..54ce73f9ab 100755 --- a/internal/controller/neptune/cluster/zz_controller.go +++ b/internal/controller/neptune/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/clusterendpoint/zz_controller.go b/internal/controller/neptune/clusterendpoint/zz_controller.go index 08d30f20a9..af7485705b 100755 --- a/internal/controller/neptune/clusterendpoint/zz_controller.go +++ b/internal/controller/neptune/clusterendpoint/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/clusterinstance/zz_controller.go b/internal/controller/neptune/clusterinstance/zz_controller.go index 0b48958d05..38724aa0c7 100755 --- a/internal/controller/neptune/clusterinstance/zz_controller.go +++ b/internal/controller/neptune/clusterinstance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/clusterparametergroup/zz_controller.go b/internal/controller/neptune/clusterparametergroup/zz_controller.go index df944dc97a..4b32a25fb1 100755 --- a/internal/controller/neptune/clusterparametergroup/zz_controller.go +++ b/internal/controller/neptune/clusterparametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/clustersnapshot/zz_controller.go b/internal/controller/neptune/clustersnapshot/zz_controller.go index 7030179a2f..07ed38eb94 100755 --- a/internal/controller/neptune/clustersnapshot/zz_controller.go +++ b/internal/controller/neptune/clustersnapshot/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/eventsubscription/zz_controller.go b/internal/controller/neptune/eventsubscription/zz_controller.go index f43b39e409..f727b0d9ee 100755 --- a/internal/controller/neptune/eventsubscription/zz_controller.go +++ b/internal/controller/neptune/eventsubscription/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/globalcluster/zz_controller.go b/internal/controller/neptune/globalcluster/zz_controller.go index f7a55e97be..67ab7623f2 100755 --- a/internal/controller/neptune/globalcluster/zz_controller.go +++ b/internal/controller/neptune/globalcluster/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/parametergroup/zz_controller.go b/internal/controller/neptune/parametergroup/zz_controller.go index 459cfeb0f8..e5c6b5305d 100755 --- a/internal/controller/neptune/parametergroup/zz_controller.go +++ b/internal/controller/neptune/parametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/neptune/subnetgroup/zz_controller.go b/internal/controller/neptune/subnetgroup/zz_controller.go index eea0d144cb..22a01fc627 100755 --- a/internal/controller/neptune/subnetgroup/zz_controller.go +++ b/internal/controller/neptune/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkfirewall/firewall/zz_controller.go b/internal/controller/networkfirewall/firewall/zz_controller.go index 93ab622860..bd7e1b0c17 100755 --- a/internal/controller/networkfirewall/firewall/zz_controller.go +++ b/internal/controller/networkfirewall/firewall/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkfirewall/firewallpolicy/zz_controller.go b/internal/controller/networkfirewall/firewallpolicy/zz_controller.go index 319006d748..ddcb62bac5 100755 --- a/internal/controller/networkfirewall/firewallpolicy/zz_controller.go +++ b/internal/controller/networkfirewall/firewallpolicy/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkfirewall/loggingconfiguration/zz_controller.go b/internal/controller/networkfirewall/loggingconfiguration/zz_controller.go index 2cc774772d..cde5ff5f38 100755 --- a/internal/controller/networkfirewall/loggingconfiguration/zz_controller.go +++ b/internal/controller/networkfirewall/loggingconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkfirewall/rulegroup/zz_controller.go b/internal/controller/networkfirewall/rulegroup/zz_controller.go index a935f71d44..916246541a 100755 --- a/internal/controller/networkfirewall/rulegroup/zz_controller.go +++ b/internal/controller/networkfirewall/rulegroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/attachmentaccepter/zz_controller.go b/internal/controller/networkmanager/attachmentaccepter/zz_controller.go index ab8ce9050e..f98b4bc5ed 100755 --- a/internal/controller/networkmanager/attachmentaccepter/zz_controller.go +++ b/internal/controller/networkmanager/attachmentaccepter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/connectattachment/zz_controller.go b/internal/controller/networkmanager/connectattachment/zz_controller.go index 74cd86d033..fef386e96a 100755 --- a/internal/controller/networkmanager/connectattachment/zz_controller.go +++ b/internal/controller/networkmanager/connectattachment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/connection/zz_controller.go b/internal/controller/networkmanager/connection/zz_controller.go index 767324cbc4..ecf22c8a9e 100755 --- a/internal/controller/networkmanager/connection/zz_controller.go +++ b/internal/controller/networkmanager/connection/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/corenetwork/zz_controller.go b/internal/controller/networkmanager/corenetwork/zz_controller.go index 729b5dfb53..566fac0cc7 100755 --- a/internal/controller/networkmanager/corenetwork/zz_controller.go +++ b/internal/controller/networkmanager/corenetwork/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/customergatewayassociation/zz_controller.go b/internal/controller/networkmanager/customergatewayassociation/zz_controller.go index 4103bc1d93..027e7d3faf 100755 --- a/internal/controller/networkmanager/customergatewayassociation/zz_controller.go +++ b/internal/controller/networkmanager/customergatewayassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/device/zz_controller.go b/internal/controller/networkmanager/device/zz_controller.go index 1eccd2f87a..858c361dac 100755 --- a/internal/controller/networkmanager/device/zz_controller.go +++ b/internal/controller/networkmanager/device/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/globalnetwork/zz_controller.go b/internal/controller/networkmanager/globalnetwork/zz_controller.go index a435d69626..da7323f34f 100755 --- a/internal/controller/networkmanager/globalnetwork/zz_controller.go +++ b/internal/controller/networkmanager/globalnetwork/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/link/zz_controller.go b/internal/controller/networkmanager/link/zz_controller.go index 6ab6e730f7..613d425e75 100755 --- a/internal/controller/networkmanager/link/zz_controller.go +++ b/internal/controller/networkmanager/link/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/linkassociation/zz_controller.go b/internal/controller/networkmanager/linkassociation/zz_controller.go index d5fb457477..0909e202bb 100755 --- a/internal/controller/networkmanager/linkassociation/zz_controller.go +++ b/internal/controller/networkmanager/linkassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/site/zz_controller.go b/internal/controller/networkmanager/site/zz_controller.go index 403fe8e3f0..b33bc7a8b4 100755 --- a/internal/controller/networkmanager/site/zz_controller.go +++ b/internal/controller/networkmanager/site/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/transitgatewayconnectpeerassociation/zz_controller.go b/internal/controller/networkmanager/transitgatewayconnectpeerassociation/zz_controller.go index ed0d2c767e..baca37dad9 100755 --- a/internal/controller/networkmanager/transitgatewayconnectpeerassociation/zz_controller.go +++ b/internal/controller/networkmanager/transitgatewayconnectpeerassociation/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/transitgatewayregistration/zz_controller.go b/internal/controller/networkmanager/transitgatewayregistration/zz_controller.go index 872f88d9b6..d5eb57199e 100755 --- a/internal/controller/networkmanager/transitgatewayregistration/zz_controller.go +++ b/internal/controller/networkmanager/transitgatewayregistration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/networkmanager/vpcattachment/zz_controller.go b/internal/controller/networkmanager/vpcattachment/zz_controller.go index 9e690fb2b7..c7db6aa5ae 100755 --- a/internal/controller/networkmanager/vpcattachment/zz_controller.go +++ b/internal/controller/networkmanager/vpcattachment/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opensearch/domain/zz_controller.go b/internal/controller/opensearch/domain/zz_controller.go index 3c0bd8ca4e..1dee92910e 100755 --- a/internal/controller/opensearch/domain/zz_controller.go +++ b/internal/controller/opensearch/domain/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opensearch/domainpolicy/zz_controller.go b/internal/controller/opensearch/domainpolicy/zz_controller.go index e462d4b980..9ec56f3a37 100755 --- a/internal/controller/opensearch/domainpolicy/zz_controller.go +++ b/internal/controller/opensearch/domainpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opensearch/domainsamloptions/zz_controller.go b/internal/controller/opensearch/domainsamloptions/zz_controller.go index 265ccade84..037c2959b1 100755 --- a/internal/controller/opensearch/domainsamloptions/zz_controller.go +++ b/internal/controller/opensearch/domainsamloptions/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/application/zz_controller.go b/internal/controller/opsworks/application/zz_controller.go index 023a174a86..be4fb36578 100755 --- a/internal/controller/opsworks/application/zz_controller.go +++ b/internal/controller/opsworks/application/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/customlayer/zz_controller.go b/internal/controller/opsworks/customlayer/zz_controller.go index bb42593977..e850387ee4 100755 --- a/internal/controller/opsworks/customlayer/zz_controller.go +++ b/internal/controller/opsworks/customlayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/ecsclusterlayer/zz_controller.go b/internal/controller/opsworks/ecsclusterlayer/zz_controller.go index 0ca34a2fe9..a70a786a60 100755 --- a/internal/controller/opsworks/ecsclusterlayer/zz_controller.go +++ b/internal/controller/opsworks/ecsclusterlayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/ganglialayer/zz_controller.go b/internal/controller/opsworks/ganglialayer/zz_controller.go index d408c00ff4..30a9208600 100755 --- a/internal/controller/opsworks/ganglialayer/zz_controller.go +++ b/internal/controller/opsworks/ganglialayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/haproxylayer/zz_controller.go b/internal/controller/opsworks/haproxylayer/zz_controller.go index ea065fc11c..68f48406d8 100755 --- a/internal/controller/opsworks/haproxylayer/zz_controller.go +++ b/internal/controller/opsworks/haproxylayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/instance/zz_controller.go b/internal/controller/opsworks/instance/zz_controller.go index 962aadf3be..7628f5c279 100755 --- a/internal/controller/opsworks/instance/zz_controller.go +++ b/internal/controller/opsworks/instance/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/javaapplayer/zz_controller.go b/internal/controller/opsworks/javaapplayer/zz_controller.go index fab058ae2a..dcf5e82108 100755 --- a/internal/controller/opsworks/javaapplayer/zz_controller.go +++ b/internal/controller/opsworks/javaapplayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/memcachedlayer/zz_controller.go b/internal/controller/opsworks/memcachedlayer/zz_controller.go index 37b4c1e4c7..5b49a251f7 100755 --- a/internal/controller/opsworks/memcachedlayer/zz_controller.go +++ b/internal/controller/opsworks/memcachedlayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/mysqllayer/zz_controller.go b/internal/controller/opsworks/mysqllayer/zz_controller.go index f6abf226d7..babc27172c 100755 --- a/internal/controller/opsworks/mysqllayer/zz_controller.go +++ b/internal/controller/opsworks/mysqllayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/nodejsapplayer/zz_controller.go b/internal/controller/opsworks/nodejsapplayer/zz_controller.go index dd52555353..14dbd61599 100755 --- a/internal/controller/opsworks/nodejsapplayer/zz_controller.go +++ b/internal/controller/opsworks/nodejsapplayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/permission/zz_controller.go b/internal/controller/opsworks/permission/zz_controller.go index 000901cb14..0efeee6345 100755 --- a/internal/controller/opsworks/permission/zz_controller.go +++ b/internal/controller/opsworks/permission/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/phpapplayer/zz_controller.go b/internal/controller/opsworks/phpapplayer/zz_controller.go index fde5d53d86..6812a14731 100755 --- a/internal/controller/opsworks/phpapplayer/zz_controller.go +++ b/internal/controller/opsworks/phpapplayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/railsapplayer/zz_controller.go b/internal/controller/opsworks/railsapplayer/zz_controller.go index d9fabd033d..db525e7c6a 100755 --- a/internal/controller/opsworks/railsapplayer/zz_controller.go +++ b/internal/controller/opsworks/railsapplayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/rdsdbinstance/zz_controller.go b/internal/controller/opsworks/rdsdbinstance/zz_controller.go index 01154d5215..7c4b52f26a 100755 --- a/internal/controller/opsworks/rdsdbinstance/zz_controller.go +++ b/internal/controller/opsworks/rdsdbinstance/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/stack/zz_controller.go b/internal/controller/opsworks/stack/zz_controller.go index 7d11817f6d..fdd1ba3580 100755 --- a/internal/controller/opsworks/stack/zz_controller.go +++ b/internal/controller/opsworks/stack/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/staticweblayer/zz_controller.go b/internal/controller/opsworks/staticweblayer/zz_controller.go index 3f1e0dacce..f11703dac2 100755 --- a/internal/controller/opsworks/staticweblayer/zz_controller.go +++ b/internal/controller/opsworks/staticweblayer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/opsworks/userprofile/zz_controller.go b/internal/controller/opsworks/userprofile/zz_controller.go index 4760dbd15d..57b87a5cc4 100755 --- a/internal/controller/opsworks/userprofile/zz_controller.go +++ b/internal/controller/opsworks/userprofile/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/account/zz_controller.go b/internal/controller/organizations/account/zz_controller.go index 7c0c7d6a8a..688120add1 100755 --- a/internal/controller/organizations/account/zz_controller.go +++ b/internal/controller/organizations/account/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/delegatedadministrator/zz_controller.go b/internal/controller/organizations/delegatedadministrator/zz_controller.go index fe6c1ee25d..37a1df115c 100755 --- a/internal/controller/organizations/delegatedadministrator/zz_controller.go +++ b/internal/controller/organizations/delegatedadministrator/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/organization/zz_controller.go b/internal/controller/organizations/organization/zz_controller.go index 3bc16fb2b7..54da39c1de 100755 --- a/internal/controller/organizations/organization/zz_controller.go +++ b/internal/controller/organizations/organization/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/organizationalunit/zz_controller.go b/internal/controller/organizations/organizationalunit/zz_controller.go index 082c97379f..ad82f676fc 100755 --- a/internal/controller/organizations/organizationalunit/zz_controller.go +++ b/internal/controller/organizations/organizationalunit/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/policy/zz_controller.go b/internal/controller/organizations/policy/zz_controller.go index 4f14fc76e8..6663ec4245 100755 --- a/internal/controller/organizations/policy/zz_controller.go +++ b/internal/controller/organizations/policy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/organizations/policyattachment/zz_controller.go b/internal/controller/organizations/policyattachment/zz_controller.go index 0b275cb6cd..59b598438c 100755 --- a/internal/controller/organizations/policyattachment/zz_controller.go +++ b/internal/controller/organizations/policyattachment/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/pinpoint/app/zz_controller.go b/internal/controller/pinpoint/app/zz_controller.go index a25fa1632e..b39810516e 100755 --- a/internal/controller/pinpoint/app/zz_controller.go +++ b/internal/controller/pinpoint/app/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/pinpoint/smschannel/zz_controller.go b/internal/controller/pinpoint/smschannel/zz_controller.go index 5bb5fe6f03..06675d958a 100755 --- a/internal/controller/pinpoint/smschannel/zz_controller.go +++ b/internal/controller/pinpoint/smschannel/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/qldb/ledger/zz_controller.go b/internal/controller/qldb/ledger/zz_controller.go index 0879fc191b..8169740798 100755 --- a/internal/controller/qldb/ledger/zz_controller.go +++ b/internal/controller/qldb/ledger/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/qldb/stream/zz_controller.go b/internal/controller/qldb/stream/zz_controller.go index eaf914373c..da3fad53bc 100755 --- a/internal/controller/qldb/stream/zz_controller.go +++ b/internal/controller/qldb/stream/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/quicksight/group/zz_controller.go b/internal/controller/quicksight/group/zz_controller.go index b6f6eedcdd..564710dc51 100755 --- a/internal/controller/quicksight/group/zz_controller.go +++ b/internal/controller/quicksight/group/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/quicksight/user/zz_controller.go b/internal/controller/quicksight/user/zz_controller.go index 43bcbf2dee..e99d55417a 100755 --- a/internal/controller/quicksight/user/zz_controller.go +++ b/internal/controller/quicksight/user/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ram/principalassociation/zz_controller.go b/internal/controller/ram/principalassociation/zz_controller.go index c608ff95f7..40b7d050a2 100755 --- a/internal/controller/ram/principalassociation/zz_controller.go +++ b/internal/controller/ram/principalassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ram/resourceassociation/zz_controller.go b/internal/controller/ram/resourceassociation/zz_controller.go index aadebd8d56..430e99b35e 100755 --- a/internal/controller/ram/resourceassociation/zz_controller.go +++ b/internal/controller/ram/resourceassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ram/resourceshare/zz_controller.go b/internal/controller/ram/resourceshare/zz_controller.go index de84c7a5da..f15853c343 100755 --- a/internal/controller/ram/resourceshare/zz_controller.go +++ b/internal/controller/ram/resourceshare/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ram/resourceshareaccepter/zz_controller.go b/internal/controller/ram/resourceshareaccepter/zz_controller.go index 99f2841c24..7a1df3b4fc 100755 --- a/internal/controller/ram/resourceshareaccepter/zz_controller.go +++ b/internal/controller/ram/resourceshareaccepter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/cluster/zz_controller.go b/internal/controller/rds/cluster/zz_controller.go index eb21c40635..06f1cd94e4 100755 --- a/internal/controller/rds/cluster/zz_controller.go +++ b/internal/controller/rds/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clusteractivitystream/zz_controller.go b/internal/controller/rds/clusteractivitystream/zz_controller.go index 736d16467b..35a0be10a5 100755 --- a/internal/controller/rds/clusteractivitystream/zz_controller.go +++ b/internal/controller/rds/clusteractivitystream/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clusterendpoint/zz_controller.go b/internal/controller/rds/clusterendpoint/zz_controller.go index 509e76f254..5802a42861 100755 --- a/internal/controller/rds/clusterendpoint/zz_controller.go +++ b/internal/controller/rds/clusterendpoint/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clusterinstance/zz_controller.go b/internal/controller/rds/clusterinstance/zz_controller.go index 9f0745541b..81b71876e7 100755 --- a/internal/controller/rds/clusterinstance/zz_controller.go +++ b/internal/controller/rds/clusterinstance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clusterparametergroup/zz_controller.go b/internal/controller/rds/clusterparametergroup/zz_controller.go index df77103099..b2bb3e6a59 100755 --- a/internal/controller/rds/clusterparametergroup/zz_controller.go +++ b/internal/controller/rds/clusterparametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clusterroleassociation/zz_controller.go b/internal/controller/rds/clusterroleassociation/zz_controller.go index ae6c499a1e..5719529634 100755 --- a/internal/controller/rds/clusterroleassociation/zz_controller.go +++ b/internal/controller/rds/clusterroleassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/clustersnapshot/zz_controller.go b/internal/controller/rds/clustersnapshot/zz_controller.go index febbbadc00..81321a1382 100755 --- a/internal/controller/rds/clustersnapshot/zz_controller.go +++ b/internal/controller/rds/clustersnapshot/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/dbinstanceautomatedbackupsreplication/zz_controller.go b/internal/controller/rds/dbinstanceautomatedbackupsreplication/zz_controller.go index 55eecfc22d..52f9ab9893 100755 --- a/internal/controller/rds/dbinstanceautomatedbackupsreplication/zz_controller.go +++ b/internal/controller/rds/dbinstanceautomatedbackupsreplication/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/dbsnapshotcopy/zz_controller.go b/internal/controller/rds/dbsnapshotcopy/zz_controller.go index 9e7891d359..ee65b166f4 100755 --- a/internal/controller/rds/dbsnapshotcopy/zz_controller.go +++ b/internal/controller/rds/dbsnapshotcopy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/eventsubscription/zz_controller.go b/internal/controller/rds/eventsubscription/zz_controller.go index 9cb1d605f6..af6fd559c3 100755 --- a/internal/controller/rds/eventsubscription/zz_controller.go +++ b/internal/controller/rds/eventsubscription/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/globalcluster/zz_controller.go b/internal/controller/rds/globalcluster/zz_controller.go index f3051ee56e..28e3313674 100755 --- a/internal/controller/rds/globalcluster/zz_controller.go +++ b/internal/controller/rds/globalcluster/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/instance/zz_controller.go b/internal/controller/rds/instance/zz_controller.go index ae16cfed30..c39eb5f273 100755 --- a/internal/controller/rds/instance/zz_controller.go +++ b/internal/controller/rds/instance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/instanceroleassociation/zz_controller.go b/internal/controller/rds/instanceroleassociation/zz_controller.go index 3354e08f84..5662ab30a4 100755 --- a/internal/controller/rds/instanceroleassociation/zz_controller.go +++ b/internal/controller/rds/instanceroleassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/optiongroup/zz_controller.go b/internal/controller/rds/optiongroup/zz_controller.go index 1142d35a9d..8dd37d7014 100755 --- a/internal/controller/rds/optiongroup/zz_controller.go +++ b/internal/controller/rds/optiongroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/parametergroup/zz_controller.go b/internal/controller/rds/parametergroup/zz_controller.go index 533c6249dc..e3cfa500fe 100755 --- a/internal/controller/rds/parametergroup/zz_controller.go +++ b/internal/controller/rds/parametergroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/proxy/zz_controller.go b/internal/controller/rds/proxy/zz_controller.go index f355e763ed..789b4611cd 100755 --- a/internal/controller/rds/proxy/zz_controller.go +++ b/internal/controller/rds/proxy/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/proxydefaulttargetgroup/zz_controller.go b/internal/controller/rds/proxydefaulttargetgroup/zz_controller.go index 188a56526c..d47a1f1382 100755 --- a/internal/controller/rds/proxydefaulttargetgroup/zz_controller.go +++ b/internal/controller/rds/proxydefaulttargetgroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/proxyendpoint/zz_controller.go b/internal/controller/rds/proxyendpoint/zz_controller.go index 0f4328691d..ac2dbaa307 100755 --- a/internal/controller/rds/proxyendpoint/zz_controller.go +++ b/internal/controller/rds/proxyendpoint/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/proxytarget/zz_controller.go b/internal/controller/rds/proxytarget/zz_controller.go index 3bf9b14cd7..e3ce1d7d9b 100755 --- a/internal/controller/rds/proxytarget/zz_controller.go +++ b/internal/controller/rds/proxytarget/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/snapshot/zz_controller.go b/internal/controller/rds/snapshot/zz_controller.go index 39b13d5739..bddd3f1a58 100755 --- a/internal/controller/rds/snapshot/zz_controller.go +++ b/internal/controller/rds/snapshot/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rds/subnetgroup/zz_controller.go b/internal/controller/rds/subnetgroup/zz_controller.go index 14b791a312..656ae47ae7 100755 --- a/internal/controller/rds/subnetgroup/zz_controller.go +++ b/internal/controller/rds/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/authenticationprofile/zz_controller.go b/internal/controller/redshift/authenticationprofile/zz_controller.go index 2fa47008c3..a744a788f4 100755 --- a/internal/controller/redshift/authenticationprofile/zz_controller.go +++ b/internal/controller/redshift/authenticationprofile/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/cluster/zz_controller.go b/internal/controller/redshift/cluster/zz_controller.go index 1e7fcc072b..1e13198ab7 100755 --- a/internal/controller/redshift/cluster/zz_controller.go +++ b/internal/controller/redshift/cluster/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/eventsubscription/zz_controller.go b/internal/controller/redshift/eventsubscription/zz_controller.go index 10666635f0..0a81ed624f 100755 --- a/internal/controller/redshift/eventsubscription/zz_controller.go +++ b/internal/controller/redshift/eventsubscription/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/hsmclientcertificate/zz_controller.go b/internal/controller/redshift/hsmclientcertificate/zz_controller.go index 2a7f09824d..e568aefe2a 100755 --- a/internal/controller/redshift/hsmclientcertificate/zz_controller.go +++ b/internal/controller/redshift/hsmclientcertificate/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/hsmconfiguration/zz_controller.go b/internal/controller/redshift/hsmconfiguration/zz_controller.go index 0b22800e21..4a9bdf4a6c 100755 --- a/internal/controller/redshift/hsmconfiguration/zz_controller.go +++ b/internal/controller/redshift/hsmconfiguration/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/parametergroup/zz_controller.go b/internal/controller/redshift/parametergroup/zz_controller.go index 110e161ae5..50dab7772d 100755 --- a/internal/controller/redshift/parametergroup/zz_controller.go +++ b/internal/controller/redshift/parametergroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/scheduledaction/zz_controller.go b/internal/controller/redshift/scheduledaction/zz_controller.go index 037088a0e4..2d0a186be7 100755 --- a/internal/controller/redshift/scheduledaction/zz_controller.go +++ b/internal/controller/redshift/scheduledaction/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/snapshotcopygrant/zz_controller.go b/internal/controller/redshift/snapshotcopygrant/zz_controller.go index e6d6764890..04ae668dd6 100755 --- a/internal/controller/redshift/snapshotcopygrant/zz_controller.go +++ b/internal/controller/redshift/snapshotcopygrant/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/snapshotschedule/zz_controller.go b/internal/controller/redshift/snapshotschedule/zz_controller.go index e8a40021d1..ce499d6f0f 100755 --- a/internal/controller/redshift/snapshotschedule/zz_controller.go +++ b/internal/controller/redshift/snapshotschedule/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/snapshotscheduleassociation/zz_controller.go b/internal/controller/redshift/snapshotscheduleassociation/zz_controller.go index c00d729f8f..7e97a655c8 100755 --- a/internal/controller/redshift/snapshotscheduleassociation/zz_controller.go +++ b/internal/controller/redshift/snapshotscheduleassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/subnetgroup/zz_controller.go b/internal/controller/redshift/subnetgroup/zz_controller.go index e47da0766b..578e2f283e 100755 --- a/internal/controller/redshift/subnetgroup/zz_controller.go +++ b/internal/controller/redshift/subnetgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshift/usagelimit/zz_controller.go b/internal/controller/redshift/usagelimit/zz_controller.go index 746d5d80c9..50b1794ad2 100755 --- a/internal/controller/redshift/usagelimit/zz_controller.go +++ b/internal/controller/redshift/usagelimit/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/endpointaccess/zz_controller.go b/internal/controller/redshiftserverless/endpointaccess/zz_controller.go index dafdae2e18..ecf6d9b3c7 100755 --- a/internal/controller/redshiftserverless/endpointaccess/zz_controller.go +++ b/internal/controller/redshiftserverless/endpointaccess/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/redshiftserverlessnamespace/zz_controller.go b/internal/controller/redshiftserverless/redshiftserverlessnamespace/zz_controller.go index 3de1e699b9..175c105811 100755 --- a/internal/controller/redshiftserverless/redshiftserverlessnamespace/zz_controller.go +++ b/internal/controller/redshiftserverless/redshiftserverlessnamespace/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/resourcepolicy/zz_controller.go b/internal/controller/redshiftserverless/resourcepolicy/zz_controller.go index d24f35fc80..f808fccb94 100755 --- a/internal/controller/redshiftserverless/resourcepolicy/zz_controller.go +++ b/internal/controller/redshiftserverless/resourcepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/snapshot/zz_controller.go b/internal/controller/redshiftserverless/snapshot/zz_controller.go index e6c78bdaa1..01b73d7784 100755 --- a/internal/controller/redshiftserverless/snapshot/zz_controller.go +++ b/internal/controller/redshiftserverless/snapshot/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/usagelimit/zz_controller.go b/internal/controller/redshiftserverless/usagelimit/zz_controller.go index 70887d5c9c..9b66d2e2d0 100755 --- a/internal/controller/redshiftserverless/usagelimit/zz_controller.go +++ b/internal/controller/redshiftserverless/usagelimit/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/redshiftserverless/workgroup/zz_controller.go b/internal/controller/redshiftserverless/workgroup/zz_controller.go index 86c476daad..2e037d9853 100755 --- a/internal/controller/redshiftserverless/workgroup/zz_controller.go +++ b/internal/controller/redshiftserverless/workgroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/resourcegroups/group/zz_controller.go b/internal/controller/resourcegroups/group/zz_controller.go index 4989f9a091..82c2ae8dbc 100755 --- a/internal/controller/resourcegroups/group/zz_controller.go +++ b/internal/controller/resourcegroups/group/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rolesanywhere/profile/zz_controller.go b/internal/controller/rolesanywhere/profile/zz_controller.go index 54ea6e4c5e..e0d3abb059 100755 --- a/internal/controller/rolesanywhere/profile/zz_controller.go +++ b/internal/controller/rolesanywhere/profile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/delegationset/zz_controller.go b/internal/controller/route53/delegationset/zz_controller.go index 3655c07d8e..55118681b9 100755 --- a/internal/controller/route53/delegationset/zz_controller.go +++ b/internal/controller/route53/delegationset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/healthcheck/zz_controller.go b/internal/controller/route53/healthcheck/zz_controller.go index bc4a73747f..67441b1b1c 100755 --- a/internal/controller/route53/healthcheck/zz_controller.go +++ b/internal/controller/route53/healthcheck/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/hostedzonednssec/zz_controller.go b/internal/controller/route53/hostedzonednssec/zz_controller.go index 6c2766d235..e2f5ba2cf1 100755 --- a/internal/controller/route53/hostedzonednssec/zz_controller.go +++ b/internal/controller/route53/hostedzonednssec/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/record/zz_controller.go b/internal/controller/route53/record/zz_controller.go index 145cbb1ecd..3a19fb5bbf 100755 --- a/internal/controller/route53/record/zz_controller.go +++ b/internal/controller/route53/record/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/resolverconfig/zz_controller.go b/internal/controller/route53/resolverconfig/zz_controller.go index 90f7226232..a6ba32ccb0 100755 --- a/internal/controller/route53/resolverconfig/zz_controller.go +++ b/internal/controller/route53/resolverconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/trafficpolicy/zz_controller.go b/internal/controller/route53/trafficpolicy/zz_controller.go index 004284c915..880552520b 100755 --- a/internal/controller/route53/trafficpolicy/zz_controller.go +++ b/internal/controller/route53/trafficpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/trafficpolicyinstance/zz_controller.go b/internal/controller/route53/trafficpolicyinstance/zz_controller.go index cab8eec91c..b2decaa9b1 100755 --- a/internal/controller/route53/trafficpolicyinstance/zz_controller.go +++ b/internal/controller/route53/trafficpolicyinstance/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/vpcassociationauthorization/zz_controller.go b/internal/controller/route53/vpcassociationauthorization/zz_controller.go index 18f7502a44..f6e576c848 100755 --- a/internal/controller/route53/vpcassociationauthorization/zz_controller.go +++ b/internal/controller/route53/vpcassociationauthorization/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/zone/zz_controller.go b/internal/controller/route53/zone/zz_controller.go index 1954eb48b0..b84417625f 100755 --- a/internal/controller/route53/zone/zz_controller.go +++ b/internal/controller/route53/zone/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53/zoneassociation/zz_controller.go b/internal/controller/route53/zoneassociation/zz_controller.go index 503098567a..7b11ce7697 100755 --- a/internal/controller/route53/zoneassociation/zz_controller.go +++ b/internal/controller/route53/zoneassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoverycontrolconfig/cluster/zz_controller.go b/internal/controller/route53recoverycontrolconfig/cluster/zz_controller.go index a7f975e542..5f7d64e2e5 100755 --- a/internal/controller/route53recoverycontrolconfig/cluster/zz_controller.go +++ b/internal/controller/route53recoverycontrolconfig/cluster/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoverycontrolconfig/controlpanel/zz_controller.go b/internal/controller/route53recoverycontrolconfig/controlpanel/zz_controller.go index 73d41de738..b9e912144b 100755 --- a/internal/controller/route53recoverycontrolconfig/controlpanel/zz_controller.go +++ b/internal/controller/route53recoverycontrolconfig/controlpanel/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoverycontrolconfig/routingcontrol/zz_controller.go b/internal/controller/route53recoverycontrolconfig/routingcontrol/zz_controller.go index 87cda6ee2a..48a29fae13 100755 --- a/internal/controller/route53recoverycontrolconfig/routingcontrol/zz_controller.go +++ b/internal/controller/route53recoverycontrolconfig/routingcontrol/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoverycontrolconfig/safetyrule/zz_controller.go b/internal/controller/route53recoverycontrolconfig/safetyrule/zz_controller.go index 400fa320de..458e826acb 100755 --- a/internal/controller/route53recoverycontrolconfig/safetyrule/zz_controller.go +++ b/internal/controller/route53recoverycontrolconfig/safetyrule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoveryreadiness/cell/zz_controller.go b/internal/controller/route53recoveryreadiness/cell/zz_controller.go index f009ad0d07..ed667b3228 100755 --- a/internal/controller/route53recoveryreadiness/cell/zz_controller.go +++ b/internal/controller/route53recoveryreadiness/cell/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoveryreadiness/readinesscheck/zz_controller.go b/internal/controller/route53recoveryreadiness/readinesscheck/zz_controller.go index 4111a2aa66..6fca82c907 100755 --- a/internal/controller/route53recoveryreadiness/readinesscheck/zz_controller.go +++ b/internal/controller/route53recoveryreadiness/readinesscheck/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoveryreadiness/recoverygroup/zz_controller.go b/internal/controller/route53recoveryreadiness/recoverygroup/zz_controller.go index 89669bf7e0..425b95e672 100755 --- a/internal/controller/route53recoveryreadiness/recoverygroup/zz_controller.go +++ b/internal/controller/route53recoveryreadiness/recoverygroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53recoveryreadiness/resourceset/zz_controller.go b/internal/controller/route53recoveryreadiness/resourceset/zz_controller.go index 3e0305f365..984dbbb430 100755 --- a/internal/controller/route53recoveryreadiness/resourceset/zz_controller.go +++ b/internal/controller/route53recoveryreadiness/resourceset/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53resolver/endpoint/zz_controller.go b/internal/controller/route53resolver/endpoint/zz_controller.go index 522b352a3a..afffadf902 100755 --- a/internal/controller/route53resolver/endpoint/zz_controller.go +++ b/internal/controller/route53resolver/endpoint/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53resolver/rule/zz_controller.go b/internal/controller/route53resolver/rule/zz_controller.go index f74a6d3d88..fb0738c05f 100755 --- a/internal/controller/route53resolver/rule/zz_controller.go +++ b/internal/controller/route53resolver/rule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/route53resolver/ruleassociation/zz_controller.go b/internal/controller/route53resolver/ruleassociation/zz_controller.go index aeefb66faa..37730d92fb 100755 --- a/internal/controller/route53resolver/ruleassociation/zz_controller.go +++ b/internal/controller/route53resolver/ruleassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rum/appmonitor/zz_controller.go b/internal/controller/rum/appmonitor/zz_controller.go index 117502537a..684fea4441 100755 --- a/internal/controller/rum/appmonitor/zz_controller.go +++ b/internal/controller/rum/appmonitor/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/rum/metricsdestination/zz_controller.go b/internal/controller/rum/metricsdestination/zz_controller.go index cb75ef8ac1..e6d2e00544 100755 --- a/internal/controller/rum/metricsdestination/zz_controller.go +++ b/internal/controller/rum/metricsdestination/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucket/zz_controller.go b/internal/controller/s3/bucket/zz_controller.go index 23dce152bc..b2bb11fd28 100755 --- a/internal/controller/s3/bucket/zz_controller.go +++ b/internal/controller/s3/bucket/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketaccelerateconfiguration/zz_controller.go b/internal/controller/s3/bucketaccelerateconfiguration/zz_controller.go index 0414b43f7e..5308d46d87 100755 --- a/internal/controller/s3/bucketaccelerateconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketaccelerateconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketacl/zz_controller.go b/internal/controller/s3/bucketacl/zz_controller.go index 7a54b66d47..0622475d9d 100755 --- a/internal/controller/s3/bucketacl/zz_controller.go +++ b/internal/controller/s3/bucketacl/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketanalyticsconfiguration/zz_controller.go b/internal/controller/s3/bucketanalyticsconfiguration/zz_controller.go index c50b5ac1f3..8416787341 100755 --- a/internal/controller/s3/bucketanalyticsconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketanalyticsconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketcorsconfiguration/zz_controller.go b/internal/controller/s3/bucketcorsconfiguration/zz_controller.go index 8460176d86..9cf6d4a265 100755 --- a/internal/controller/s3/bucketcorsconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketcorsconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketintelligenttieringconfiguration/zz_controller.go b/internal/controller/s3/bucketintelligenttieringconfiguration/zz_controller.go index 399c3a124d..1c55edc703 100755 --- a/internal/controller/s3/bucketintelligenttieringconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketintelligenttieringconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketinventory/zz_controller.go b/internal/controller/s3/bucketinventory/zz_controller.go index 2666f68f8e..bab99ca396 100755 --- a/internal/controller/s3/bucketinventory/zz_controller.go +++ b/internal/controller/s3/bucketinventory/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketlifecycleconfiguration/zz_controller.go b/internal/controller/s3/bucketlifecycleconfiguration/zz_controller.go index 43b029b541..bcde9c7425 100755 --- a/internal/controller/s3/bucketlifecycleconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketlifecycleconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketlogging/zz_controller.go b/internal/controller/s3/bucketlogging/zz_controller.go index e71c391e43..33073cacf8 100755 --- a/internal/controller/s3/bucketlogging/zz_controller.go +++ b/internal/controller/s3/bucketlogging/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketmetric/zz_controller.go b/internal/controller/s3/bucketmetric/zz_controller.go index e9a207628e..b1993bb8e7 100755 --- a/internal/controller/s3/bucketmetric/zz_controller.go +++ b/internal/controller/s3/bucketmetric/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketnotification/zz_controller.go b/internal/controller/s3/bucketnotification/zz_controller.go index 10ad9a4666..85a7e48896 100755 --- a/internal/controller/s3/bucketnotification/zz_controller.go +++ b/internal/controller/s3/bucketnotification/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketobject/zz_controller.go b/internal/controller/s3/bucketobject/zz_controller.go index 8760e7076e..5e02295269 100755 --- a/internal/controller/s3/bucketobject/zz_controller.go +++ b/internal/controller/s3/bucketobject/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketobjectlockconfiguration/zz_controller.go b/internal/controller/s3/bucketobjectlockconfiguration/zz_controller.go index 8d11d05f77..1e3e2575b7 100755 --- a/internal/controller/s3/bucketobjectlockconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketobjectlockconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketownershipcontrols/zz_controller.go b/internal/controller/s3/bucketownershipcontrols/zz_controller.go index 43d5cd8be7..995b34bec9 100755 --- a/internal/controller/s3/bucketownershipcontrols/zz_controller.go +++ b/internal/controller/s3/bucketownershipcontrols/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketpolicy/zz_controller.go b/internal/controller/s3/bucketpolicy/zz_controller.go index 19feeef936..ae8487a97b 100755 --- a/internal/controller/s3/bucketpolicy/zz_controller.go +++ b/internal/controller/s3/bucketpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketpublicaccessblock/zz_controller.go b/internal/controller/s3/bucketpublicaccessblock/zz_controller.go index a0c969abcd..6e966e9d70 100755 --- a/internal/controller/s3/bucketpublicaccessblock/zz_controller.go +++ b/internal/controller/s3/bucketpublicaccessblock/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketreplicationconfiguration/zz_controller.go b/internal/controller/s3/bucketreplicationconfiguration/zz_controller.go index c9cd4abb30..fe71f7fc58 100755 --- a/internal/controller/s3/bucketreplicationconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketreplicationconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketrequestpaymentconfiguration/zz_controller.go b/internal/controller/s3/bucketrequestpaymentconfiguration/zz_controller.go index 9c64590c39..5da0843d29 100755 --- a/internal/controller/s3/bucketrequestpaymentconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketrequestpaymentconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketserversideencryptionconfiguration/zz_controller.go b/internal/controller/s3/bucketserversideencryptionconfiguration/zz_controller.go index cb04e078d9..8ac352d885 100755 --- a/internal/controller/s3/bucketserversideencryptionconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketserversideencryptionconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketversioning/zz_controller.go b/internal/controller/s3/bucketversioning/zz_controller.go index bb1233b117..14df96eae5 100755 --- a/internal/controller/s3/bucketversioning/zz_controller.go +++ b/internal/controller/s3/bucketversioning/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/bucketwebsiteconfiguration/zz_controller.go b/internal/controller/s3/bucketwebsiteconfiguration/zz_controller.go index d57287834f..f6b2d5d455 100755 --- a/internal/controller/s3/bucketwebsiteconfiguration/zz_controller.go +++ b/internal/controller/s3/bucketwebsiteconfiguration/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/object/zz_controller.go b/internal/controller/s3/object/zz_controller.go index 419be14f67..2839455815 100755 --- a/internal/controller/s3/object/zz_controller.go +++ b/internal/controller/s3/object/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3/objectcopy/zz_controller.go b/internal/controller/s3/objectcopy/zz_controller.go index c1def47225..e77a91decd 100755 --- a/internal/controller/s3/objectcopy/zz_controller.go +++ b/internal/controller/s3/objectcopy/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/accesspoint/zz_controller.go b/internal/controller/s3control/accesspoint/zz_controller.go index d957aa4a76..548d847cba 100755 --- a/internal/controller/s3control/accesspoint/zz_controller.go +++ b/internal/controller/s3control/accesspoint/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/accesspointpolicy/zz_controller.go b/internal/controller/s3control/accesspointpolicy/zz_controller.go index 636ee504c4..f5ae6948fa 100755 --- a/internal/controller/s3control/accesspointpolicy/zz_controller.go +++ b/internal/controller/s3control/accesspointpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/accountpublicaccessblock/zz_controller.go b/internal/controller/s3control/accountpublicaccessblock/zz_controller.go index 92e334c328..af1b84b117 100755 --- a/internal/controller/s3control/accountpublicaccessblock/zz_controller.go +++ b/internal/controller/s3control/accountpublicaccessblock/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/multiregionaccesspoint/zz_controller.go b/internal/controller/s3control/multiregionaccesspoint/zz_controller.go index 56608ba2cd..50601186ad 100755 --- a/internal/controller/s3control/multiregionaccesspoint/zz_controller.go +++ b/internal/controller/s3control/multiregionaccesspoint/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/multiregionaccesspointpolicy/zz_controller.go b/internal/controller/s3control/multiregionaccesspointpolicy/zz_controller.go index 9db44194ab..897d22a66b 100755 --- a/internal/controller/s3control/multiregionaccesspointpolicy/zz_controller.go +++ b/internal/controller/s3control/multiregionaccesspointpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/objectlambdaaccesspoint/zz_controller.go b/internal/controller/s3control/objectlambdaaccesspoint/zz_controller.go index e6a99cee88..31ab85c15d 100755 --- a/internal/controller/s3control/objectlambdaaccesspoint/zz_controller.go +++ b/internal/controller/s3control/objectlambdaaccesspoint/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/objectlambdaaccesspointpolicy/zz_controller.go b/internal/controller/s3control/objectlambdaaccesspointpolicy/zz_controller.go index 3878f5581d..62dfe54829 100755 --- a/internal/controller/s3control/objectlambdaaccesspointpolicy/zz_controller.go +++ b/internal/controller/s3control/objectlambdaaccesspointpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/s3control/storagelensconfiguration/zz_controller.go b/internal/controller/s3control/storagelensconfiguration/zz_controller.go index 018d7e3ed3..5996870a0c 100755 --- a/internal/controller/s3control/storagelensconfiguration/zz_controller.go +++ b/internal/controller/s3control/storagelensconfiguration/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/app/zz_controller.go b/internal/controller/sagemaker/app/zz_controller.go index ab614f3727..92558f1723 100755 --- a/internal/controller/sagemaker/app/zz_controller.go +++ b/internal/controller/sagemaker/app/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/appimageconfig/zz_controller.go b/internal/controller/sagemaker/appimageconfig/zz_controller.go index 7aae338d01..8b467357f5 100755 --- a/internal/controller/sagemaker/appimageconfig/zz_controller.go +++ b/internal/controller/sagemaker/appimageconfig/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/coderepository/zz_controller.go b/internal/controller/sagemaker/coderepository/zz_controller.go index 11de5202ca..8860045aae 100755 --- a/internal/controller/sagemaker/coderepository/zz_controller.go +++ b/internal/controller/sagemaker/coderepository/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/device/zz_controller.go b/internal/controller/sagemaker/device/zz_controller.go index 637b888b7e..9877449aed 100755 --- a/internal/controller/sagemaker/device/zz_controller.go +++ b/internal/controller/sagemaker/device/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/devicefleet/zz_controller.go b/internal/controller/sagemaker/devicefleet/zz_controller.go index 4ab3189b4c..b43ac939f9 100755 --- a/internal/controller/sagemaker/devicefleet/zz_controller.go +++ b/internal/controller/sagemaker/devicefleet/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/domain/zz_controller.go b/internal/controller/sagemaker/domain/zz_controller.go index 2203048838..7342f992ca 100755 --- a/internal/controller/sagemaker/domain/zz_controller.go +++ b/internal/controller/sagemaker/domain/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/endpointconfiguration/zz_controller.go b/internal/controller/sagemaker/endpointconfiguration/zz_controller.go index 5f863ac0bf..537f75e507 100755 --- a/internal/controller/sagemaker/endpointconfiguration/zz_controller.go +++ b/internal/controller/sagemaker/endpointconfiguration/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/featuregroup/zz_controller.go b/internal/controller/sagemaker/featuregroup/zz_controller.go index fb0a036f6f..a52c8cba32 100755 --- a/internal/controller/sagemaker/featuregroup/zz_controller.go +++ b/internal/controller/sagemaker/featuregroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/image/zz_controller.go b/internal/controller/sagemaker/image/zz_controller.go index 5c1a9b30a9..7ee1dce5e0 100755 --- a/internal/controller/sagemaker/image/zz_controller.go +++ b/internal/controller/sagemaker/image/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/imageversion/zz_controller.go b/internal/controller/sagemaker/imageversion/zz_controller.go index 89435ff25d..734fe6e3f2 100755 --- a/internal/controller/sagemaker/imageversion/zz_controller.go +++ b/internal/controller/sagemaker/imageversion/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/model/zz_controller.go b/internal/controller/sagemaker/model/zz_controller.go index 3fea3f4ec6..d72c92aa11 100755 --- a/internal/controller/sagemaker/model/zz_controller.go +++ b/internal/controller/sagemaker/model/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/modelpackagegroup/zz_controller.go b/internal/controller/sagemaker/modelpackagegroup/zz_controller.go index f480c143c4..30b5994ced 100755 --- a/internal/controller/sagemaker/modelpackagegroup/zz_controller.go +++ b/internal/controller/sagemaker/modelpackagegroup/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/modelpackagegrouppolicy/zz_controller.go b/internal/controller/sagemaker/modelpackagegrouppolicy/zz_controller.go index 5e1b7a480f..c14709a5db 100755 --- a/internal/controller/sagemaker/modelpackagegrouppolicy/zz_controller.go +++ b/internal/controller/sagemaker/modelpackagegrouppolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/notebookinstance/zz_controller.go b/internal/controller/sagemaker/notebookinstance/zz_controller.go index b9c0a3adc3..309c6e8b85 100755 --- a/internal/controller/sagemaker/notebookinstance/zz_controller.go +++ b/internal/controller/sagemaker/notebookinstance/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/notebookinstancelifecycleconfiguration/zz_controller.go b/internal/controller/sagemaker/notebookinstancelifecycleconfiguration/zz_controller.go index fca23701f2..08887da2d3 100755 --- a/internal/controller/sagemaker/notebookinstancelifecycleconfiguration/zz_controller.go +++ b/internal/controller/sagemaker/notebookinstancelifecycleconfiguration/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/servicecatalogportfoliostatus/zz_controller.go b/internal/controller/sagemaker/servicecatalogportfoliostatus/zz_controller.go index 20348dc369..3461209802 100755 --- a/internal/controller/sagemaker/servicecatalogportfoliostatus/zz_controller.go +++ b/internal/controller/sagemaker/servicecatalogportfoliostatus/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/space/zz_controller.go b/internal/controller/sagemaker/space/zz_controller.go index 5e5987f59d..c341469e86 100755 --- a/internal/controller/sagemaker/space/zz_controller.go +++ b/internal/controller/sagemaker/space/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/studiolifecycleconfig/zz_controller.go b/internal/controller/sagemaker/studiolifecycleconfig/zz_controller.go index 31e7007ce4..a0a87a821b 100755 --- a/internal/controller/sagemaker/studiolifecycleconfig/zz_controller.go +++ b/internal/controller/sagemaker/studiolifecycleconfig/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/userprofile/zz_controller.go b/internal/controller/sagemaker/userprofile/zz_controller.go index d95a49d496..3a4ebbbab4 100755 --- a/internal/controller/sagemaker/userprofile/zz_controller.go +++ b/internal/controller/sagemaker/userprofile/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/workforce/zz_controller.go b/internal/controller/sagemaker/workforce/zz_controller.go index a8f0bf2e5f..e337e72ae8 100755 --- a/internal/controller/sagemaker/workforce/zz_controller.go +++ b/internal/controller/sagemaker/workforce/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sagemaker/workteam/zz_controller.go b/internal/controller/sagemaker/workteam/zz_controller.go index 057f58b78d..b71c609b15 100755 --- a/internal/controller/sagemaker/workteam/zz_controller.go +++ b/internal/controller/sagemaker/workteam/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/scheduler/schedule/zz_controller.go b/internal/controller/scheduler/schedule/zz_controller.go index 28aa9a75b7..63e90cf3cd 100755 --- a/internal/controller/scheduler/schedule/zz_controller.go +++ b/internal/controller/scheduler/schedule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/scheduler/schedulegroup/zz_controller.go b/internal/controller/scheduler/schedulegroup/zz_controller.go index 0b450c1d3c..56bc9b2a72 100755 --- a/internal/controller/scheduler/schedulegroup/zz_controller.go +++ b/internal/controller/scheduler/schedulegroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/schemas/discoverer/zz_controller.go b/internal/controller/schemas/discoverer/zz_controller.go index 95b621beb7..e5c76709c6 100755 --- a/internal/controller/schemas/discoverer/zz_controller.go +++ b/internal/controller/schemas/discoverer/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/schemas/registry/zz_controller.go b/internal/controller/schemas/registry/zz_controller.go index eaad2ca2a1..0042886657 100755 --- a/internal/controller/schemas/registry/zz_controller.go +++ b/internal/controller/schemas/registry/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/schemas/schema/zz_controller.go b/internal/controller/schemas/schema/zz_controller.go index e830f6c18e..85f99180d4 100755 --- a/internal/controller/schemas/schema/zz_controller.go +++ b/internal/controller/schemas/schema/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/secretsmanager/secret/zz_controller.go b/internal/controller/secretsmanager/secret/zz_controller.go index 36ece6412a..3ac7d22ebe 100755 --- a/internal/controller/secretsmanager/secret/zz_controller.go +++ b/internal/controller/secretsmanager/secret/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/secretsmanager/secretpolicy/zz_controller.go b/internal/controller/secretsmanager/secretpolicy/zz_controller.go index 5d7c939b2c..1ceb323972 100755 --- a/internal/controller/secretsmanager/secretpolicy/zz_controller.go +++ b/internal/controller/secretsmanager/secretpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/secretsmanager/secretrotation/zz_controller.go b/internal/controller/secretsmanager/secretrotation/zz_controller.go index 5e619975ec..3d970281bc 100755 --- a/internal/controller/secretsmanager/secretrotation/zz_controller.go +++ b/internal/controller/secretsmanager/secretrotation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/secretsmanager/secretversion/zz_controller.go b/internal/controller/secretsmanager/secretversion/zz_controller.go index 9874c4d9bd..9c2449a324 100755 --- a/internal/controller/secretsmanager/secretversion/zz_controller.go +++ b/internal/controller/secretsmanager/secretversion/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/account/zz_controller.go b/internal/controller/securityhub/account/zz_controller.go index f044e822ef..113ebe53b1 100755 --- a/internal/controller/securityhub/account/zz_controller.go +++ b/internal/controller/securityhub/account/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/actiontarget/zz_controller.go b/internal/controller/securityhub/actiontarget/zz_controller.go index 68a8630060..dc9d2f641c 100755 --- a/internal/controller/securityhub/actiontarget/zz_controller.go +++ b/internal/controller/securityhub/actiontarget/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/findingaggregator/zz_controller.go b/internal/controller/securityhub/findingaggregator/zz_controller.go index f17c3cf8aa..ec53d02fb7 100755 --- a/internal/controller/securityhub/findingaggregator/zz_controller.go +++ b/internal/controller/securityhub/findingaggregator/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/insight/zz_controller.go b/internal/controller/securityhub/insight/zz_controller.go index ba170c5725..ab42b80b9d 100755 --- a/internal/controller/securityhub/insight/zz_controller.go +++ b/internal/controller/securityhub/insight/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/inviteaccepter/zz_controller.go b/internal/controller/securityhub/inviteaccepter/zz_controller.go index a952a17aba..863325164e 100755 --- a/internal/controller/securityhub/inviteaccepter/zz_controller.go +++ b/internal/controller/securityhub/inviteaccepter/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/member/zz_controller.go b/internal/controller/securityhub/member/zz_controller.go index 1b29ca2117..739bbc4749 100755 --- a/internal/controller/securityhub/member/zz_controller.go +++ b/internal/controller/securityhub/member/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/productsubscription/zz_controller.go b/internal/controller/securityhub/productsubscription/zz_controller.go index 2241cdd5c0..9505a9e4f1 100755 --- a/internal/controller/securityhub/productsubscription/zz_controller.go +++ b/internal/controller/securityhub/productsubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/securityhub/standardssubscription/zz_controller.go b/internal/controller/securityhub/standardssubscription/zz_controller.go index e608f50211..523588db50 100755 --- a/internal/controller/securityhub/standardssubscription/zz_controller.go +++ b/internal/controller/securityhub/standardssubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/serverlessrepo/cloudformationstack/zz_controller.go b/internal/controller/serverlessrepo/cloudformationstack/zz_controller.go index 84efc3f202..18c80cf3f4 100755 --- a/internal/controller/serverlessrepo/cloudformationstack/zz_controller.go +++ b/internal/controller/serverlessrepo/cloudformationstack/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/budgetresourceassociation/zz_controller.go b/internal/controller/servicecatalog/budgetresourceassociation/zz_controller.go index 2195d91b45..8d2de03935 100755 --- a/internal/controller/servicecatalog/budgetresourceassociation/zz_controller.go +++ b/internal/controller/servicecatalog/budgetresourceassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/constraint/zz_controller.go b/internal/controller/servicecatalog/constraint/zz_controller.go index 5727e8204d..e66c68d284 100755 --- a/internal/controller/servicecatalog/constraint/zz_controller.go +++ b/internal/controller/servicecatalog/constraint/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/portfolio/zz_controller.go b/internal/controller/servicecatalog/portfolio/zz_controller.go index ffa2a740d1..cda424f3bd 100755 --- a/internal/controller/servicecatalog/portfolio/zz_controller.go +++ b/internal/controller/servicecatalog/portfolio/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/portfolioshare/zz_controller.go b/internal/controller/servicecatalog/portfolioshare/zz_controller.go index 904ca5c1e0..4146a0423c 100755 --- a/internal/controller/servicecatalog/portfolioshare/zz_controller.go +++ b/internal/controller/servicecatalog/portfolioshare/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/principalportfolioassociation/zz_controller.go b/internal/controller/servicecatalog/principalportfolioassociation/zz_controller.go index c520538d25..1372746350 100755 --- a/internal/controller/servicecatalog/principalportfolioassociation/zz_controller.go +++ b/internal/controller/servicecatalog/principalportfolioassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/product/zz_controller.go b/internal/controller/servicecatalog/product/zz_controller.go index dcb6799e08..0c33ce7135 100755 --- a/internal/controller/servicecatalog/product/zz_controller.go +++ b/internal/controller/servicecatalog/product/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/productportfolioassociation/zz_controller.go b/internal/controller/servicecatalog/productportfolioassociation/zz_controller.go index 0784959b5e..f7095a8caf 100755 --- a/internal/controller/servicecatalog/productportfolioassociation/zz_controller.go +++ b/internal/controller/servicecatalog/productportfolioassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/provisioningartifact/zz_controller.go b/internal/controller/servicecatalog/provisioningartifact/zz_controller.go index 81dd01da82..d115dc195a 100755 --- a/internal/controller/servicecatalog/provisioningartifact/zz_controller.go +++ b/internal/controller/servicecatalog/provisioningartifact/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/serviceaction/zz_controller.go b/internal/controller/servicecatalog/serviceaction/zz_controller.go index a11323601d..2063ca30ec 100755 --- a/internal/controller/servicecatalog/serviceaction/zz_controller.go +++ b/internal/controller/servicecatalog/serviceaction/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/tagoption/zz_controller.go b/internal/controller/servicecatalog/tagoption/zz_controller.go index c47041e52c..82514bcc13 100755 --- a/internal/controller/servicecatalog/tagoption/zz_controller.go +++ b/internal/controller/servicecatalog/tagoption/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicecatalog/tagoptionresourceassociation/zz_controller.go b/internal/controller/servicecatalog/tagoptionresourceassociation/zz_controller.go index 4b242e8492..fbcd457bc8 100755 --- a/internal/controller/servicecatalog/tagoptionresourceassociation/zz_controller.go +++ b/internal/controller/servicecatalog/tagoptionresourceassociation/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicediscovery/httpnamespace/zz_controller.go b/internal/controller/servicediscovery/httpnamespace/zz_controller.go index a4b03bcfcf..db4a220282 100755 --- a/internal/controller/servicediscovery/httpnamespace/zz_controller.go +++ b/internal/controller/servicediscovery/httpnamespace/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicediscovery/privatednsnamespace/zz_controller.go b/internal/controller/servicediscovery/privatednsnamespace/zz_controller.go index 110a97360b..747bc78769 100755 --- a/internal/controller/servicediscovery/privatednsnamespace/zz_controller.go +++ b/internal/controller/servicediscovery/privatednsnamespace/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicediscovery/publicdnsnamespace/zz_controller.go b/internal/controller/servicediscovery/publicdnsnamespace/zz_controller.go index acba07a186..fce5845275 100755 --- a/internal/controller/servicediscovery/publicdnsnamespace/zz_controller.go +++ b/internal/controller/servicediscovery/publicdnsnamespace/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicediscovery/service/zz_controller.go b/internal/controller/servicediscovery/service/zz_controller.go index 7487232fec..c2f151bcf2 100755 --- a/internal/controller/servicediscovery/service/zz_controller.go +++ b/internal/controller/servicediscovery/service/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/servicequotas/servicequota/zz_controller.go b/internal/controller/servicequotas/servicequota/zz_controller.go index b67169b180..a649730528 100755 --- a/internal/controller/servicequotas/servicequota/zz_controller.go +++ b/internal/controller/servicequotas/servicequota/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/activereceiptruleset/zz_controller.go b/internal/controller/ses/activereceiptruleset/zz_controller.go index 5917724d00..db19151a11 100755 --- a/internal/controller/ses/activereceiptruleset/zz_controller.go +++ b/internal/controller/ses/activereceiptruleset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/configurationset/zz_controller.go b/internal/controller/ses/configurationset/zz_controller.go index 31b1751e3e..a083609b8f 100755 --- a/internal/controller/ses/configurationset/zz_controller.go +++ b/internal/controller/ses/configurationset/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/domaindkim/zz_controller.go b/internal/controller/ses/domaindkim/zz_controller.go index 21af009b03..f2500323a3 100755 --- a/internal/controller/ses/domaindkim/zz_controller.go +++ b/internal/controller/ses/domaindkim/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/domainidentity/zz_controller.go b/internal/controller/ses/domainidentity/zz_controller.go index 262d455507..4bcd6eb278 100755 --- a/internal/controller/ses/domainidentity/zz_controller.go +++ b/internal/controller/ses/domainidentity/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/domainmailfrom/zz_controller.go b/internal/controller/ses/domainmailfrom/zz_controller.go index 413e533a13..0a40667a81 100755 --- a/internal/controller/ses/domainmailfrom/zz_controller.go +++ b/internal/controller/ses/domainmailfrom/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/emailidentity/zz_controller.go b/internal/controller/ses/emailidentity/zz_controller.go index 5c5e0bca5a..966de0b173 100755 --- a/internal/controller/ses/emailidentity/zz_controller.go +++ b/internal/controller/ses/emailidentity/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/eventdestination/zz_controller.go b/internal/controller/ses/eventdestination/zz_controller.go index 062f46e7c4..8e59626194 100755 --- a/internal/controller/ses/eventdestination/zz_controller.go +++ b/internal/controller/ses/eventdestination/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/identitynotificationtopic/zz_controller.go b/internal/controller/ses/identitynotificationtopic/zz_controller.go index 4ecb01ecfc..6c3b9465f6 100755 --- a/internal/controller/ses/identitynotificationtopic/zz_controller.go +++ b/internal/controller/ses/identitynotificationtopic/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/identitypolicy/zz_controller.go b/internal/controller/ses/identitypolicy/zz_controller.go index 545f1b5f2c..386a553024 100755 --- a/internal/controller/ses/identitypolicy/zz_controller.go +++ b/internal/controller/ses/identitypolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/receiptfilter/zz_controller.go b/internal/controller/ses/receiptfilter/zz_controller.go index a2546d1a22..51a3a8e4c2 100755 --- a/internal/controller/ses/receiptfilter/zz_controller.go +++ b/internal/controller/ses/receiptfilter/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/receiptrule/zz_controller.go b/internal/controller/ses/receiptrule/zz_controller.go index ebda77a634..c681bcd2e1 100755 --- a/internal/controller/ses/receiptrule/zz_controller.go +++ b/internal/controller/ses/receiptrule/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/receiptruleset/zz_controller.go b/internal/controller/ses/receiptruleset/zz_controller.go index ae68675dd5..ff62e57af6 100755 --- a/internal/controller/ses/receiptruleset/zz_controller.go +++ b/internal/controller/ses/receiptruleset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ses/template/zz_controller.go b/internal/controller/ses/template/zz_controller.go index 99cd2afa23..352c1be5bc 100755 --- a/internal/controller/ses/template/zz_controller.go +++ b/internal/controller/ses/template/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/configurationset/zz_controller.go b/internal/controller/sesv2/configurationset/zz_controller.go index 4d39becfa7..83ea4a9e97 100755 --- a/internal/controller/sesv2/configurationset/zz_controller.go +++ b/internal/controller/sesv2/configurationset/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/configurationseteventdestination/zz_controller.go b/internal/controller/sesv2/configurationseteventdestination/zz_controller.go index 4ed356fe9f..f208f6bff1 100755 --- a/internal/controller/sesv2/configurationseteventdestination/zz_controller.go +++ b/internal/controller/sesv2/configurationseteventdestination/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/dedicatedippool/zz_controller.go b/internal/controller/sesv2/dedicatedippool/zz_controller.go index cd2fd946b5..dae450738e 100755 --- a/internal/controller/sesv2/dedicatedippool/zz_controller.go +++ b/internal/controller/sesv2/dedicatedippool/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/emailidentity/zz_controller.go b/internal/controller/sesv2/emailidentity/zz_controller.go index fafe5b6055..5b6d5864c5 100755 --- a/internal/controller/sesv2/emailidentity/zz_controller.go +++ b/internal/controller/sesv2/emailidentity/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/emailidentityfeedbackattributes/zz_controller.go b/internal/controller/sesv2/emailidentityfeedbackattributes/zz_controller.go index 965e4d83a7..62c0e3e871 100755 --- a/internal/controller/sesv2/emailidentityfeedbackattributes/zz_controller.go +++ b/internal/controller/sesv2/emailidentityfeedbackattributes/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sesv2/emailidentitymailfromattributes/zz_controller.go b/internal/controller/sesv2/emailidentitymailfromattributes/zz_controller.go index 4cb71950fc..6be3bdca40 100755 --- a/internal/controller/sesv2/emailidentitymailfromattributes/zz_controller.go +++ b/internal/controller/sesv2/emailidentitymailfromattributes/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sfn/activity/zz_controller.go b/internal/controller/sfn/activity/zz_controller.go index 13ae6cc870..544b4c5e77 100755 --- a/internal/controller/sfn/activity/zz_controller.go +++ b/internal/controller/sfn/activity/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sfn/statemachine/zz_controller.go b/internal/controller/sfn/statemachine/zz_controller.go index 85fc9f92f8..d4bb05b221 100755 --- a/internal/controller/sfn/statemachine/zz_controller.go +++ b/internal/controller/sfn/statemachine/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/signer/signingjob/zz_controller.go b/internal/controller/signer/signingjob/zz_controller.go index 1902f10f6e..66ec0ee4a1 100755 --- a/internal/controller/signer/signingjob/zz_controller.go +++ b/internal/controller/signer/signingjob/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/signer/signingprofile/zz_controller.go b/internal/controller/signer/signingprofile/zz_controller.go index 0fef76832e..6b88ff986e 100755 --- a/internal/controller/signer/signingprofile/zz_controller.go +++ b/internal/controller/signer/signingprofile/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/signer/signingprofilepermission/zz_controller.go b/internal/controller/signer/signingprofilepermission/zz_controller.go index b8468e557d..3c289dda73 100755 --- a/internal/controller/signer/signingprofilepermission/zz_controller.go +++ b/internal/controller/signer/signingprofilepermission/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/simpledb/domain/zz_controller.go b/internal/controller/simpledb/domain/zz_controller.go index 110378f09f..fd13dcfaf4 100755 --- a/internal/controller/simpledb/domain/zz_controller.go +++ b/internal/controller/simpledb/domain/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sns/platformapplication/zz_controller.go b/internal/controller/sns/platformapplication/zz_controller.go index d6fd03a009..589436c8a9 100755 --- a/internal/controller/sns/platformapplication/zz_controller.go +++ b/internal/controller/sns/platformapplication/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sns/smspreferences/zz_controller.go b/internal/controller/sns/smspreferences/zz_controller.go index 5b2acb0766..e3197d5f71 100755 --- a/internal/controller/sns/smspreferences/zz_controller.go +++ b/internal/controller/sns/smspreferences/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sns/topic/zz_controller.go b/internal/controller/sns/topic/zz_controller.go index d44cee3e49..8e7883d234 100755 --- a/internal/controller/sns/topic/zz_controller.go +++ b/internal/controller/sns/topic/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sns/topicpolicy/zz_controller.go b/internal/controller/sns/topicpolicy/zz_controller.go index c48f9c96bd..6d90e9474b 100755 --- a/internal/controller/sns/topicpolicy/zz_controller.go +++ b/internal/controller/sns/topicpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sns/topicsubscription/zz_controller.go b/internal/controller/sns/topicsubscription/zz_controller.go index cb35f742bf..9390069add 100755 --- a/internal/controller/sns/topicsubscription/zz_controller.go +++ b/internal/controller/sns/topicsubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sqs/queue/zz_controller.go b/internal/controller/sqs/queue/zz_controller.go index 4928eeefa0..fe7437a5b5 100755 --- a/internal/controller/sqs/queue/zz_controller.go +++ b/internal/controller/sqs/queue/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sqs/queuepolicy/zz_controller.go b/internal/controller/sqs/queuepolicy/zz_controller.go index fd397b3375..e946d541f7 100755 --- a/internal/controller/sqs/queuepolicy/zz_controller.go +++ b/internal/controller/sqs/queuepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sqs/queueredriveallowpolicy/zz_controller.go b/internal/controller/sqs/queueredriveallowpolicy/zz_controller.go index a19f9d871b..3e27e5e7a6 100755 --- a/internal/controller/sqs/queueredriveallowpolicy/zz_controller.go +++ b/internal/controller/sqs/queueredriveallowpolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/sqs/queueredrivepolicy/zz_controller.go b/internal/controller/sqs/queueredrivepolicy/zz_controller.go index 4e0afa8842..73e2c73747 100755 --- a/internal/controller/sqs/queueredrivepolicy/zz_controller.go +++ b/internal/controller/sqs/queueredrivepolicy/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/activation/zz_controller.go b/internal/controller/ssm/activation/zz_controller.go index a8072f0952..25165ae813 100755 --- a/internal/controller/ssm/activation/zz_controller.go +++ b/internal/controller/ssm/activation/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/association/zz_controller.go b/internal/controller/ssm/association/zz_controller.go index b95deb04d4..41665bd3a4 100755 --- a/internal/controller/ssm/association/zz_controller.go +++ b/internal/controller/ssm/association/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/defaultpatchbaseline/zz_controller.go b/internal/controller/ssm/defaultpatchbaseline/zz_controller.go index 6afa809194..a7bb8456fb 100755 --- a/internal/controller/ssm/defaultpatchbaseline/zz_controller.go +++ b/internal/controller/ssm/defaultpatchbaseline/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/document/zz_controller.go b/internal/controller/ssm/document/zz_controller.go index f847ebe362..c2eaa30b88 100755 --- a/internal/controller/ssm/document/zz_controller.go +++ b/internal/controller/ssm/document/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/maintenancewindow/zz_controller.go b/internal/controller/ssm/maintenancewindow/zz_controller.go index 12911de33a..9b3ddbf2d9 100755 --- a/internal/controller/ssm/maintenancewindow/zz_controller.go +++ b/internal/controller/ssm/maintenancewindow/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/maintenancewindowtarget/zz_controller.go b/internal/controller/ssm/maintenancewindowtarget/zz_controller.go index dfb380fcb4..99e691b8a7 100755 --- a/internal/controller/ssm/maintenancewindowtarget/zz_controller.go +++ b/internal/controller/ssm/maintenancewindowtarget/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/maintenancewindowtask/zz_controller.go b/internal/controller/ssm/maintenancewindowtask/zz_controller.go index eec67bc20b..b2a2b3ddc1 100755 --- a/internal/controller/ssm/maintenancewindowtask/zz_controller.go +++ b/internal/controller/ssm/maintenancewindowtask/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/parameter/zz_controller.go b/internal/controller/ssm/parameter/zz_controller.go index 09a65a87bc..9873c4fe5e 100755 --- a/internal/controller/ssm/parameter/zz_controller.go +++ b/internal/controller/ssm/parameter/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/patchbaseline/zz_controller.go b/internal/controller/ssm/patchbaseline/zz_controller.go index 7fdab10c64..cd2570774c 100755 --- a/internal/controller/ssm/patchbaseline/zz_controller.go +++ b/internal/controller/ssm/patchbaseline/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/patchgroup/zz_controller.go b/internal/controller/ssm/patchgroup/zz_controller.go index 40ae2f7159..112b35921b 100755 --- a/internal/controller/ssm/patchgroup/zz_controller.go +++ b/internal/controller/ssm/patchgroup/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/resourcedatasync/zz_controller.go b/internal/controller/ssm/resourcedatasync/zz_controller.go index d0afba8a96..97efe19efa 100755 --- a/internal/controller/ssm/resourcedatasync/zz_controller.go +++ b/internal/controller/ssm/resourcedatasync/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssm/servicesetting/zz_controller.go b/internal/controller/ssm/servicesetting/zz_controller.go index f9cf1991f5..bf4649940f 100755 --- a/internal/controller/ssm/servicesetting/zz_controller.go +++ b/internal/controller/ssm/servicesetting/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssoadmin/accountassignment/zz_controller.go b/internal/controller/ssoadmin/accountassignment/zz_controller.go index 688d7d4c07..f89d1d7522 100755 --- a/internal/controller/ssoadmin/accountassignment/zz_controller.go +++ b/internal/controller/ssoadmin/accountassignment/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssoadmin/managedpolicyattachment/zz_controller.go b/internal/controller/ssoadmin/managedpolicyattachment/zz_controller.go index 9c1e29ab53..998c6cb452 100755 --- a/internal/controller/ssoadmin/managedpolicyattachment/zz_controller.go +++ b/internal/controller/ssoadmin/managedpolicyattachment/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssoadmin/permissionset/zz_controller.go b/internal/controller/ssoadmin/permissionset/zz_controller.go index 78c35199ca..cc810559e7 100755 --- a/internal/controller/ssoadmin/permissionset/zz_controller.go +++ b/internal/controller/ssoadmin/permissionset/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/ssoadmin/permissionsetinlinepolicy/zz_controller.go b/internal/controller/ssoadmin/permissionsetinlinepolicy/zz_controller.go index 35e1b118ff..a11345c1cf 100755 --- a/internal/controller/ssoadmin/permissionsetinlinepolicy/zz_controller.go +++ b/internal/controller/ssoadmin/permissionsetinlinepolicy/zz_controller.go @@ -46,6 +46,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/swf/domain/zz_controller.go b/internal/controller/swf/domain/zz_controller.go index bf07f6f66d..69f4eb003d 100755 --- a/internal/controller/swf/domain/zz_controller.go +++ b/internal/controller/swf/domain/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/timestreamwrite/database/zz_controller.go b/internal/controller/timestreamwrite/database/zz_controller.go index 9ddea09a85..1e9d1594ba 100755 --- a/internal/controller/timestreamwrite/database/zz_controller.go +++ b/internal/controller/timestreamwrite/database/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/timestreamwrite/table/zz_controller.go b/internal/controller/timestreamwrite/table/zz_controller.go index d48c60e1e5..3adcad0c59 100755 --- a/internal/controller/timestreamwrite/table/zz_controller.go +++ b/internal/controller/timestreamwrite/table/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transcribe/languagemodel/zz_controller.go b/internal/controller/transcribe/languagemodel/zz_controller.go index be7417cbe9..fc52c5314e 100755 --- a/internal/controller/transcribe/languagemodel/zz_controller.go +++ b/internal/controller/transcribe/languagemodel/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transcribe/vocabulary/zz_controller.go b/internal/controller/transcribe/vocabulary/zz_controller.go index 01f831b68c..a4a173b0c2 100755 --- a/internal/controller/transcribe/vocabulary/zz_controller.go +++ b/internal/controller/transcribe/vocabulary/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transcribe/vocabularyfilter/zz_controller.go b/internal/controller/transcribe/vocabularyfilter/zz_controller.go index ccfb697e5b..3b9e471bf0 100755 --- a/internal/controller/transcribe/vocabularyfilter/zz_controller.go +++ b/internal/controller/transcribe/vocabularyfilter/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transfer/server/zz_controller.go b/internal/controller/transfer/server/zz_controller.go index b4bad02efc..02ca7d194d 100755 --- a/internal/controller/transfer/server/zz_controller.go +++ b/internal/controller/transfer/server/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transfer/sshkey/zz_controller.go b/internal/controller/transfer/sshkey/zz_controller.go index 7180e1a907..74dbd86f99 100755 --- a/internal/controller/transfer/sshkey/zz_controller.go +++ b/internal/controller/transfer/sshkey/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transfer/tag/zz_controller.go b/internal/controller/transfer/tag/zz_controller.go index fc63ef298e..724acaa17f 100755 --- a/internal/controller/transfer/tag/zz_controller.go +++ b/internal/controller/transfer/tag/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transfer/user/zz_controller.go b/internal/controller/transfer/user/zz_controller.go index 19dcf03e5e..142b66bb90 100755 --- a/internal/controller/transfer/user/zz_controller.go +++ b/internal/controller/transfer/user/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/transfer/workflow/zz_controller.go b/internal/controller/transfer/workflow/zz_controller.go index 388bb6bd88..f980327cf6 100755 --- a/internal/controller/transfer/workflow/zz_controller.go +++ b/internal/controller/transfer/workflow/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/vpc/networkperformancemetricsubscription/zz_controller.go b/internal/controller/vpc/networkperformancemetricsubscription/zz_controller.go index ca761924c2..48eb640623 100755 --- a/internal/controller/vpc/networkperformancemetricsubscription/zz_controller.go +++ b/internal/controller/vpc/networkperformancemetricsubscription/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/bytematchset/zz_controller.go b/internal/controller/waf/bytematchset/zz_controller.go index 43226c654e..38e27af755 100755 --- a/internal/controller/waf/bytematchset/zz_controller.go +++ b/internal/controller/waf/bytematchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/geomatchset/zz_controller.go b/internal/controller/waf/geomatchset/zz_controller.go index 4e9346991f..c7e96ac73e 100755 --- a/internal/controller/waf/geomatchset/zz_controller.go +++ b/internal/controller/waf/geomatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/ipset/zz_controller.go b/internal/controller/waf/ipset/zz_controller.go index b0bafcb09e..77b63864de 100755 --- a/internal/controller/waf/ipset/zz_controller.go +++ b/internal/controller/waf/ipset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/ratebasedrule/zz_controller.go b/internal/controller/waf/ratebasedrule/zz_controller.go index 5ee83cf9ec..298e22afe6 100755 --- a/internal/controller/waf/ratebasedrule/zz_controller.go +++ b/internal/controller/waf/ratebasedrule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/regexmatchset/zz_controller.go b/internal/controller/waf/regexmatchset/zz_controller.go index 375b7dcd4f..ffe02e7686 100755 --- a/internal/controller/waf/regexmatchset/zz_controller.go +++ b/internal/controller/waf/regexmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/regexpatternset/zz_controller.go b/internal/controller/waf/regexpatternset/zz_controller.go index 03f67cd964..d5cf061767 100755 --- a/internal/controller/waf/regexpatternset/zz_controller.go +++ b/internal/controller/waf/regexpatternset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/rule/zz_controller.go b/internal/controller/waf/rule/zz_controller.go index 2fce225085..beff6563ab 100755 --- a/internal/controller/waf/rule/zz_controller.go +++ b/internal/controller/waf/rule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/sizeconstraintset/zz_controller.go b/internal/controller/waf/sizeconstraintset/zz_controller.go index 6c2666b279..53342686fb 100755 --- a/internal/controller/waf/sizeconstraintset/zz_controller.go +++ b/internal/controller/waf/sizeconstraintset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/sqlinjectionmatchset/zz_controller.go b/internal/controller/waf/sqlinjectionmatchset/zz_controller.go index 78e19d80f3..4d34596ce3 100755 --- a/internal/controller/waf/sqlinjectionmatchset/zz_controller.go +++ b/internal/controller/waf/sqlinjectionmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/webacl/zz_controller.go b/internal/controller/waf/webacl/zz_controller.go index 1ab5c899a0..432032b1f8 100755 --- a/internal/controller/waf/webacl/zz_controller.go +++ b/internal/controller/waf/webacl/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/waf/xssmatchset/zz_controller.go b/internal/controller/waf/xssmatchset/zz_controller.go index 3c6e312c57..18b0d2e51e 100755 --- a/internal/controller/waf/xssmatchset/zz_controller.go +++ b/internal/controller/waf/xssmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/bytematchset/zz_controller.go b/internal/controller/wafregional/bytematchset/zz_controller.go index 99e33b475f..17626a32c6 100755 --- a/internal/controller/wafregional/bytematchset/zz_controller.go +++ b/internal/controller/wafregional/bytematchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/geomatchset/zz_controller.go b/internal/controller/wafregional/geomatchset/zz_controller.go index 4ae7af308e..55df676b9c 100755 --- a/internal/controller/wafregional/geomatchset/zz_controller.go +++ b/internal/controller/wafregional/geomatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/ipset/zz_controller.go b/internal/controller/wafregional/ipset/zz_controller.go index 78e039ad23..597d0ce792 100755 --- a/internal/controller/wafregional/ipset/zz_controller.go +++ b/internal/controller/wafregional/ipset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/ratebasedrule/zz_controller.go b/internal/controller/wafregional/ratebasedrule/zz_controller.go index d55c7ab35e..81937374de 100755 --- a/internal/controller/wafregional/ratebasedrule/zz_controller.go +++ b/internal/controller/wafregional/ratebasedrule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/regexmatchset/zz_controller.go b/internal/controller/wafregional/regexmatchset/zz_controller.go index c1f8d0d53e..fbebcf638b 100755 --- a/internal/controller/wafregional/regexmatchset/zz_controller.go +++ b/internal/controller/wafregional/regexmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/regexpatternset/zz_controller.go b/internal/controller/wafregional/regexpatternset/zz_controller.go index 3b1ac130c5..edd9e76f95 100755 --- a/internal/controller/wafregional/regexpatternset/zz_controller.go +++ b/internal/controller/wafregional/regexpatternset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/rule/zz_controller.go b/internal/controller/wafregional/rule/zz_controller.go index e4f7282286..18c02ee1be 100755 --- a/internal/controller/wafregional/rule/zz_controller.go +++ b/internal/controller/wafregional/rule/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/sizeconstraintset/zz_controller.go b/internal/controller/wafregional/sizeconstraintset/zz_controller.go index 0a99f83b18..90e2808613 100755 --- a/internal/controller/wafregional/sizeconstraintset/zz_controller.go +++ b/internal/controller/wafregional/sizeconstraintset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/sqlinjectionmatchset/zz_controller.go b/internal/controller/wafregional/sqlinjectionmatchset/zz_controller.go index e77e9eae72..79e7c98f12 100755 --- a/internal/controller/wafregional/sqlinjectionmatchset/zz_controller.go +++ b/internal/controller/wafregional/sqlinjectionmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/webacl/zz_controller.go b/internal/controller/wafregional/webacl/zz_controller.go index b335648b44..fe92e17c25 100755 --- a/internal/controller/wafregional/webacl/zz_controller.go +++ b/internal/controller/wafregional/webacl/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafregional/xssmatchset/zz_controller.go b/internal/controller/wafregional/xssmatchset/zz_controller.go index 19a8ac86d3..8fae31f855 100755 --- a/internal/controller/wafregional/xssmatchset/zz_controller.go +++ b/internal/controller/wafregional/xssmatchset/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafv2/ipset/zz_controller.go b/internal/controller/wafv2/ipset/zz_controller.go index 44330d66f0..327ada8a56 100755 --- a/internal/controller/wafv2/ipset/zz_controller.go +++ b/internal/controller/wafv2/ipset/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/wafv2/regexpatternset/zz_controller.go b/internal/controller/wafv2/regexpatternset/zz_controller.go index 5b5ed6a57c..3f34558950 100755 --- a/internal/controller/wafv2/regexpatternset/zz_controller.go +++ b/internal/controller/wafv2/regexpatternset/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/workspaces/directory/zz_controller.go b/internal/controller/workspaces/directory/zz_controller.go index 7080ae36eb..c5f15d7dbb 100755 --- a/internal/controller/workspaces/directory/zz_controller.go +++ b/internal/controller/workspaces/directory/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/workspaces/ipgroup/zz_controller.go b/internal/controller/workspaces/ipgroup/zz_controller.go index c36018cb97..28e909720a 100755 --- a/internal/controller/workspaces/ipgroup/zz_controller.go +++ b/internal/controller/workspaces/ipgroup/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/xray/encryptionconfig/zz_controller.go b/internal/controller/xray/encryptionconfig/zz_controller.go index 798978eda7..9f7a6bfc40 100755 --- a/internal/controller/xray/encryptionconfig/zz_controller.go +++ b/internal/controller/xray/encryptionconfig/zz_controller.go @@ -45,6 +45,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/xray/group/zz_controller.go b/internal/controller/xray/group/zz_controller.go index 6ceeeaa1e0..0e03d49cf2 100755 --- a/internal/controller/xray/group/zz_controller.go +++ b/internal/controller/xray/group/zz_controller.go @@ -48,6 +48,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/internal/controller/xray/samplingrule/zz_controller.go b/internal/controller/xray/samplingrule/zz_controller.go index 4255f756da..acf068a875 100755 --- a/internal/controller/xray/samplingrule/zz_controller.go +++ b/internal/controller/xray/samplingrule/zz_controller.go @@ -49,6 +49,9 @@ func Setup(mgr ctrl.Manager, o tjcontroller.Options) error { managed.WithConnectionPublishers(cps...), managed.WithPollInterval(o.PollInterval), } + if o.PollJitter != 0 { + opts = append(opts, managed.WithPollJitterHook(o.PollJitter)) + } if o.Features.Enabled(features.EnableAlphaManagementPolicies) { opts = append(opts, managed.WithManagementPolicies()) } diff --git a/package/crds/accessanalyzer.aws.upbound.io_analyzers.yaml b/package/crds/accessanalyzer.aws.upbound.io_analyzers.yaml index 7c2936ae0d..a69a08b875 100644 --- a/package/crds/accessanalyzer.aws.upbound.io_analyzers.yaml +++ b/package/crds/accessanalyzer.aws.upbound.io_analyzers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: analyzers.accessanalyzer.aws.upbound.io spec: group: accessanalyzer.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/accessanalyzer.aws.upbound.io_archiverules.yaml b/package/crds/accessanalyzer.aws.upbound.io_archiverules.yaml index 36dee90203..c28b267337 100644 --- a/package/crds/accessanalyzer.aws.upbound.io_archiverules.yaml +++ b/package/crds/accessanalyzer.aws.upbound.io_archiverules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: archiverules.accessanalyzer.aws.upbound.io spec: group: accessanalyzer.aws.upbound.io @@ -211,42 +211,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -345,10 +309,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: filter is a required parameter + - message: spec.forProvider.filter is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.filter) - || has(self.initProvider.filter)' + || (has(self.initProvider) && has(self.initProvider.filter))' status: description: ArchiveRuleStatus defines the observed state of ArchiveRule. properties: diff --git a/package/crds/account.aws.upbound.io_alternatecontacts.yaml b/package/crds/account.aws.upbound.io_alternatecontacts.yaml index ce55776200..549ca2da9a 100644 --- a/package/crds/account.aws.upbound.io_alternatecontacts.yaml +++ b/package/crds/account.aws.upbound.io_alternatecontacts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: alternatecontacts.account.aws.upbound.io spec: group: account.aws.upbound.io @@ -189,42 +189,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -323,22 +287,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: emailAddress is a required parameter + - message: spec.forProvider.emailAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.emailAddress) - || has(self.initProvider.emailAddress)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.emailAddress))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: phoneNumber is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.phoneNumber is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.phoneNumber) - || has(self.initProvider.phoneNumber)' - - message: title is a required parameter + || (has(self.initProvider) && has(self.initProvider.phoneNumber))' + - message: spec.forProvider.title is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.title) - || has(self.initProvider.title)' + || (has(self.initProvider) && has(self.initProvider.title))' status: description: AlternateContactStatus defines the observed state of AlternateContact. properties: diff --git a/package/crds/acm.aws.upbound.io_certificates.yaml b/package/crds/acm.aws.upbound.io_certificates.yaml index 91749ea54b..d4bfdcc3e4 100644 --- a/package/crds/acm.aws.upbound.io_certificates.yaml +++ b/package/crds/acm.aws.upbound.io_certificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificates.acm.aws.upbound.io spec: group: acm.aws.upbound.io @@ -307,42 +307,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/acm.aws.upbound.io_certificatevalidations.yaml b/package/crds/acm.aws.upbound.io_certificatevalidations.yaml index 229bef8b65..18cb356b44 100644 --- a/package/crds/acm.aws.upbound.io_certificatevalidations.yaml +++ b/package/crds/acm.aws.upbound.io_certificatevalidations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificatevalidations.acm.aws.upbound.io spec: group: acm.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/acmpca.aws.upbound.io_certificateauthorities.yaml b/package/crds/acmpca.aws.upbound.io_certificateauthorities.yaml index 1a11d2e10b..ec1eb3422a 100644 --- a/package/crds/acmpca.aws.upbound.io_certificateauthorities.yaml +++ b/package/crds/acmpca.aws.upbound.io_certificateauthorities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificateauthorities.acmpca.aws.upbound.io spec: group: acmpca.aws.upbound.io @@ -543,42 +543,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -677,10 +641,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: certificateAuthorityConfiguration is a required parameter + - message: spec.forProvider.certificateAuthorityConfiguration is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.certificateAuthorityConfiguration) - || has(self.initProvider.certificateAuthorityConfiguration)' + || (has(self.initProvider) && has(self.initProvider.certificateAuthorityConfiguration))' status: description: CertificateAuthorityStatus defines the observed state of CertificateAuthority. diff --git a/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml b/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml index c14fc7efa8..e6aaa24451 100644 --- a/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml +++ b/package/crds/acmpca.aws.upbound.io_certificateauthoritycertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificateauthoritycertificates.acmpca.aws.upbound.io spec: group: acmpca.aws.upbound.io @@ -265,42 +265,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -399,7 +363,7 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: certificateSecretRef is a required parameter + - message: spec.forProvider.certificateSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.certificateSecretRef)' status: diff --git a/package/crds/acmpca.aws.upbound.io_certificates.yaml b/package/crds/acmpca.aws.upbound.io_certificates.yaml index 4e474d71db..8d72e9b5f5 100644 --- a/package/crds/acmpca.aws.upbound.io_certificates.yaml +++ b/package/crds/acmpca.aws.upbound.io_certificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificates.acmpca.aws.upbound.io spec: group: acmpca.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -440,17 +404,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: certificateSigningRequestSecretRef is a required parameter + - message: spec.forProvider.certificateSigningRequestSecretRef is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.certificateSigningRequestSecretRef)' - - message: signingAlgorithm is a required parameter + - message: spec.forProvider.signingAlgorithm is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.signingAlgorithm) - || has(self.initProvider.signingAlgorithm)' - - message: validity is a required parameter + || (has(self.initProvider) && has(self.initProvider.signingAlgorithm))' + - message: spec.forProvider.validity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.validity) - || has(self.initProvider.validity)' + || (has(self.initProvider) && has(self.initProvider.validity))' status: description: CertificateStatus defines the observed state of Certificate. properties: diff --git a/package/crds/acmpca.aws.upbound.io_permissions.yaml b/package/crds/acmpca.aws.upbound.io_permissions.yaml index 8f26382bac..837e393e45 100644 --- a/package/crds/acmpca.aws.upbound.io_permissions.yaml +++ b/package/crds/acmpca.aws.upbound.io_permissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissions.acmpca.aws.upbound.io spec: group: acmpca.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -397,14 +361,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: actions is a required parameter + - message: spec.forProvider.actions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.actions) - || has(self.initProvider.actions)' - - message: principal is a required parameter + || (has(self.initProvider) && has(self.initProvider.actions))' + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' + || (has(self.initProvider) && has(self.initProvider.principal))' status: description: PermissionStatus defines the observed state of Permission. properties: diff --git a/package/crds/acmpca.aws.upbound.io_policies.yaml b/package/crds/acmpca.aws.upbound.io_policies.yaml index ea0d3acf58..c66afd1abe 100644 --- a/package/crds/acmpca.aws.upbound.io_policies.yaml +++ b/package/crds/acmpca.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.acmpca.aws.upbound.io spec: group: acmpca.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: PolicyStatus defines the observed state of Policy. properties: diff --git a/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml b/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml index 9f4c53766f..988fe4464e 100644 --- a/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml +++ b/package/crds/amp.aws.upbound.io_alertmanagerdefinitions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: alertmanagerdefinitions.amp.aws.upbound.io spec: group: amp.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: definition is a required parameter + - message: spec.forProvider.definition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.definition) - || has(self.initProvider.definition)' + || (has(self.initProvider) && has(self.initProvider.definition))' status: description: AlertManagerDefinitionStatus defines the observed state of AlertManagerDefinition. diff --git a/package/crds/amp.aws.upbound.io_rulegroupnamespaces.yaml b/package/crds/amp.aws.upbound.io_rulegroupnamespaces.yaml index 574a196e3e..696fc27ded 100644 --- a/package/crds/amp.aws.upbound.io_rulegroupnamespaces.yaml +++ b/package/crds/amp.aws.upbound.io_rulegroupnamespaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rulegroupnamespaces.amp.aws.upbound.io spec: group: amp.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,10 +335,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: data is a required parameter + - message: spec.forProvider.data is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.data) - || has(self.initProvider.data)' + || (has(self.initProvider) && has(self.initProvider.data))' status: description: RuleGroupNamespaceStatus defines the observed state of RuleGroupNamespace. properties: diff --git a/package/crds/amp.aws.upbound.io_workspaces.yaml b/package/crds/amp.aws.upbound.io_workspaces.yaml index 48e37edaf0..afb12a6496 100644 --- a/package/crds/amp.aws.upbound.io_workspaces.yaml +++ b/package/crds/amp.aws.upbound.io_workspaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workspaces.amp.aws.upbound.io spec: group: amp.aws.upbound.io @@ -194,42 +194,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/amplify.aws.upbound.io_apps.yaml b/package/crds/amplify.aws.upbound.io_apps.yaml index fe797d23e4..70deb49b3c 100644 --- a/package/crds/amplify.aws.upbound.io_apps.yaml +++ b/package/crds/amplify.aws.upbound.io_apps.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apps.amplify.aws.upbound.io spec: group: amplify.aws.upbound.io @@ -529,42 +529,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -663,10 +627,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AppStatus defines the observed state of App. properties: diff --git a/package/crds/amplify.aws.upbound.io_backendenvironments.yaml b/package/crds/amplify.aws.upbound.io_backendenvironments.yaml index 0afdc1555b..f2d0e1e7e1 100644 --- a/package/crds/amplify.aws.upbound.io_backendenvironments.yaml +++ b/package/crds/amplify.aws.upbound.io_backendenvironments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: backendenvironments.amplify.aws.upbound.io spec: group: amplify.aws.upbound.io @@ -240,42 +240,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/amplify.aws.upbound.io_branches.yaml b/package/crds/amplify.aws.upbound.io_branches.yaml index 8507dc8118..604e05c736 100644 --- a/package/crds/amplify.aws.upbound.io_branches.yaml +++ b/package/crds/amplify.aws.upbound.io_branches.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: branches.amplify.aws.upbound.io spec: group: amplify.aws.upbound.io @@ -343,42 +343,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/amplify.aws.upbound.io_webhooks.yaml b/package/crds/amplify.aws.upbound.io_webhooks.yaml index edb76964c3..6165a3954f 100644 --- a/package/crds/amplify.aws.upbound.io_webhooks.yaml +++ b/package/crds/amplify.aws.upbound.io_webhooks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: webhooks.amplify.aws.upbound.io spec: group: amplify.aws.upbound.io @@ -310,42 +310,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_accounts.yaml b/package/crds/apigateway.aws.upbound.io_accounts.yaml index 86874773d0..06382dfd9c 100644 --- a/package/crds/apigateway.aws.upbound.io_accounts.yaml +++ b/package/crds/apigateway.aws.upbound.io_accounts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accounts.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -230,42 +230,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_apikeys.yaml b/package/crds/apigateway.aws.upbound.io_apikeys.yaml index e767b8c453..390afd368a 100644 --- a/package/crds/apigateway.aws.upbound.io_apikeys.yaml +++ b/package/crds/apigateway.aws.upbound.io_apikeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apikeys.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -202,42 +202,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -336,10 +300,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: APIKeyStatus defines the observed state of APIKey. properties: diff --git a/package/crds/apigateway.aws.upbound.io_authorizers.yaml b/package/crds/apigateway.aws.upbound.io_authorizers.yaml index 154d362d6a..38308c5a50 100644 --- a/package/crds/apigateway.aws.upbound.io_authorizers.yaml +++ b/package/crds/apigateway.aws.upbound.io_authorizers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: authorizers.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -451,42 +451,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -585,10 +549,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AuthorizerStatus defines the observed state of Authorizer. properties: diff --git a/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml b/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml index dc2f68acea..b8f815a954 100644 --- a/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml +++ b/package/crds/apigateway.aws.upbound.io_basepathmappings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: basepathmappings.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -397,42 +397,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_clientcertificates.yaml b/package/crds/apigateway.aws.upbound.io_clientcertificates.yaml index e99268c4fa..63575402ff 100644 --- a/package/crds/apigateway.aws.upbound.io_clientcertificates.yaml +++ b/package/crds/apigateway.aws.upbound.io_clientcertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clientcertificates.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_deployments.yaml b/package/crds/apigateway.aws.upbound.io_deployments.yaml index 25e01fff44..29bed988fe 100644 --- a/package/crds/apigateway.aws.upbound.io_deployments.yaml +++ b/package/crds/apigateway.aws.upbound.io_deployments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deployments.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -286,42 +286,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_documentationparts.yaml b/package/crds/apigateway.aws.upbound.io_documentationparts.yaml index 40b4a5dd7c..4a7554643d 100644 --- a/package/crds/apigateway.aws.upbound.io_documentationparts.yaml +++ b/package/crds/apigateway.aws.upbound.io_documentationparts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: documentationparts.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -294,42 +294,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -428,14 +392,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: location is a required parameter + - message: spec.forProvider.location is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.location) - || has(self.initProvider.location)' - - message: properties is a required parameter + || (has(self.initProvider) && has(self.initProvider.location))' + - message: spec.forProvider.properties is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.properties) - || has(self.initProvider.properties)' + || (has(self.initProvider) && has(self.initProvider.properties))' status: description: DocumentationPartStatus defines the observed state of DocumentationPart. properties: diff --git a/package/crds/apigateway.aws.upbound.io_documentationversions.yaml b/package/crds/apigateway.aws.upbound.io_documentationversions.yaml index 1eb480a47d..613c6f449a 100644 --- a/package/crds/apigateway.aws.upbound.io_documentationversions.yaml +++ b/package/crds/apigateway.aws.upbound.io_documentationversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: documentationversions.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -242,42 +242,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -376,10 +340,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: version is a required parameter + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: DocumentationVersionStatus defines the observed state of DocumentationVersion. diff --git a/package/crds/apigateway.aws.upbound.io_domainnames.yaml b/package/crds/apigateway.aws.upbound.io_domainnames.yaml index b09d73fc4f..333b948e43 100644 --- a/package/crds/apigateway.aws.upbound.io_domainnames.yaml +++ b/package/crds/apigateway.aws.upbound.io_domainnames.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainnames.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -497,42 +497,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -631,10 +595,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domainName is a required parameter + - message: spec.forProvider.domainName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainName) - || has(self.initProvider.domainName)' + || (has(self.initProvider) && has(self.initProvider.domainName))' status: description: DomainNameStatus defines the observed state of DomainName. properties: diff --git a/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml b/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml index 533710c2d2..285549b178 100644 --- a/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_gatewayresponses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gatewayresponses.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -264,42 +264,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -398,10 +362,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: responseType is a required parameter + - message: spec.forProvider.responseType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.responseType) - || has(self.initProvider.responseType)' + || (has(self.initProvider) && has(self.initProvider.responseType))' status: description: GatewayResponseStatus defines the observed state of GatewayResponse. properties: diff --git a/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml b/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml index 0c932ca10c..e05571c272 100644 --- a/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_integrationresponses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: integrationresponses.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -519,42 +519,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigateway.aws.upbound.io_integrations.yaml b/package/crds/apigateway.aws.upbound.io_integrations.yaml index af5e1c6bcc..5472de6763 100644 --- a/package/crds/apigateway.aws.upbound.io_integrations.yaml +++ b/package/crds/apigateway.aws.upbound.io_integrations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: integrations.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -719,42 +719,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -853,10 +817,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: type is a required parameter + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: IntegrationStatus defines the observed state of Integration. properties: diff --git a/package/crds/apigateway.aws.upbound.io_methodresponses.yaml b/package/crds/apigateway.aws.upbound.io_methodresponses.yaml index 659c86694f..7d75b78e7c 100644 --- a/package/crds/apigateway.aws.upbound.io_methodresponses.yaml +++ b/package/crds/apigateway.aws.upbound.io_methodresponses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: methodresponses.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -419,42 +419,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -553,10 +517,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: statusCode is a required parameter + - message: spec.forProvider.statusCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.statusCode) - || has(self.initProvider.statusCode)' + || (has(self.initProvider) && has(self.initProvider.statusCode))' status: description: MethodResponseStatus defines the observed state of MethodResponse. properties: diff --git a/package/crds/apigateway.aws.upbound.io_methods.yaml b/package/crds/apigateway.aws.upbound.io_methods.yaml index da3af77728..7163952981 100644 --- a/package/crds/apigateway.aws.upbound.io_methods.yaml +++ b/package/crds/apigateway.aws.upbound.io_methods.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: methods.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -477,42 +477,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -611,14 +575,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authorization is a required parameter + - message: spec.forProvider.authorization is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authorization) - || has(self.initProvider.authorization)' - - message: httpMethod is a required parameter + || (has(self.initProvider) && has(self.initProvider.authorization))' + - message: spec.forProvider.httpMethod is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.httpMethod) - || has(self.initProvider.httpMethod)' + || (has(self.initProvider) && has(self.initProvider.httpMethod))' status: description: MethodStatus defines the observed state of Method. properties: diff --git a/package/crds/apigateway.aws.upbound.io_methodsettings.yaml b/package/crds/apigateway.aws.upbound.io_methodsettings.yaml index e073c88147..f28f83b610 100644 --- a/package/crds/apigateway.aws.upbound.io_methodsettings.yaml +++ b/package/crds/apigateway.aws.upbound.io_methodsettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: methodsettings.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -420,42 +420,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -554,14 +518,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: methodPath is a required parameter + - message: spec.forProvider.methodPath is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.methodPath) - || has(self.initProvider.methodPath)' - - message: settings is a required parameter + || (has(self.initProvider) && has(self.initProvider.methodPath))' + - message: spec.forProvider.settings is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.settings) - || has(self.initProvider.settings)' + || (has(self.initProvider) && has(self.initProvider.settings))' status: description: MethodSettingsStatus defines the observed state of MethodSettings. properties: diff --git a/package/crds/apigateway.aws.upbound.io_models.yaml b/package/crds/apigateway.aws.upbound.io_models.yaml index 59ceac8e45..e3b564dd57 100644 --- a/package/crds/apigateway.aws.upbound.io_models.yaml +++ b/package/crds/apigateway.aws.upbound.io_models.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: models.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -388,14 +352,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: contentType is a required parameter + - message: spec.forProvider.contentType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.contentType) - || has(self.initProvider.contentType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.contentType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ModelStatus defines the observed state of Model. properties: diff --git a/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml b/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml index e3a731b771..6ca027de28 100644 --- a/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml +++ b/package/crds/apigateway.aws.upbound.io_requestvalidators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: requestvalidators.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,10 +350,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RequestValidatorStatus defines the observed state of RequestValidator. properties: diff --git a/package/crds/apigateway.aws.upbound.io_resources.yaml b/package/crds/apigateway.aws.upbound.io_resources.yaml index 031ac8ebd4..569ebfe846 100644 --- a/package/crds/apigateway.aws.upbound.io_resources.yaml +++ b/package/crds/apigateway.aws.upbound.io_resources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resources.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -314,42 +314,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -448,10 +412,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: pathPart is a required parameter + - message: spec.forProvider.pathPart is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.pathPart) - || has(self.initProvider.pathPart)' + || (has(self.initProvider) && has(self.initProvider.pathPart))' status: description: ResourceStatus defines the observed state of Resource. properties: diff --git a/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml b/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml index e2bc58cef0..ec2aaa1a50 100644 --- a/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml +++ b/package/crds/apigateway.aws.upbound.io_restapipolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: restapipolicies.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: RestAPIPolicyStatus defines the observed state of RestAPIPolicy. properties: diff --git a/package/crds/apigateway.aws.upbound.io_restapis.yaml b/package/crds/apigateway.aws.upbound.io_restapis.yaml index 2733a6cfd3..988cb0e418 100644 --- a/package/crds/apigateway.aws.upbound.io_restapis.yaml +++ b/package/crds/apigateway.aws.upbound.io_restapis.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: restapis.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -398,42 +398,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -532,10 +496,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RestAPIStatus defines the observed state of RestAPI. properties: diff --git a/package/crds/apigateway.aws.upbound.io_stages.yaml b/package/crds/apigateway.aws.upbound.io_stages.yaml index 428efe5931..23248dd12b 100644 --- a/package/crds/apigateway.aws.upbound.io_stages.yaml +++ b/package/crds/apigateway.aws.upbound.io_stages.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stages.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -456,42 +456,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -590,10 +554,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: stageName is a required parameter + - message: spec.forProvider.stageName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.stageName) - || has(self.initProvider.stageName)' + || (has(self.initProvider) && has(self.initProvider.stageName))' status: description: StageStatus defines the observed state of Stage. properties: diff --git a/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml b/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml index 127f7a6a62..5f1c4a2ea6 100644 --- a/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml +++ b/package/crds/apigateway.aws.upbound.io_usageplankeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usageplankeys.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -315,42 +315,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -449,10 +413,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: keyType is a required parameter + - message: spec.forProvider.keyType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.keyType) - || has(self.initProvider.keyType)' + || (has(self.initProvider) && has(self.initProvider.keyType))' status: description: UsagePlanKeyStatus defines the observed state of UsagePlanKey. properties: diff --git a/package/crds/apigateway.aws.upbound.io_usageplans.yaml b/package/crds/apigateway.aws.upbound.io_usageplans.yaml index ed4f9a13ee..ceecd7eb1c 100644 --- a/package/crds/apigateway.aws.upbound.io_usageplans.yaml +++ b/package/crds/apigateway.aws.upbound.io_usageplans.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usageplans.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -462,42 +462,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -596,10 +560,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: UsagePlanStatus defines the observed state of UsagePlan. properties: diff --git a/package/crds/apigateway.aws.upbound.io_vpclinks.yaml b/package/crds/apigateway.aws.upbound.io_vpclinks.yaml index 481c409d09..b2835e7a3a 100644 --- a/package/crds/apigateway.aws.upbound.io_vpclinks.yaml +++ b/package/crds/apigateway.aws.upbound.io_vpclinks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpclinks.apigateway.aws.upbound.io spec: group: apigateway.aws.upbound.io @@ -256,42 +256,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -390,10 +354,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: VPCLinkStatus defines the observed state of VPCLink. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml b/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml index 893ca22f3a..f7e0eece0d 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_apimappings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apimappings.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -390,42 +390,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigatewayv2.aws.upbound.io_apis.yaml b/package/crds/apigatewayv2.aws.upbound.io_apis.yaml index 45fe68c94d..475a7d865e 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_apis.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_apis.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apis.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -348,42 +348,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -482,14 +446,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: protocolType is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.protocolType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocolType) - || has(self.initProvider.protocolType)' + || (has(self.initProvider) && has(self.initProvider.protocolType))' status: description: APIStatus defines the observed state of API. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml b/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml index 67fd968a95..9befb41fa2 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_authorizers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: authorizers.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -426,42 +426,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -560,14 +524,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authorizerType is a required parameter + - message: spec.forProvider.authorizerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authorizerType) - || has(self.initProvider.authorizerType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.authorizerType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AuthorizerStatus defines the observed state of Authorizer. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml b/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml index 7ab646de41..3bb62d5dc2 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_deployments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deployments.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml b/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml index ab813fc111..5fa3989aeb 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_domainnames.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainnames.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -326,42 +326,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -460,10 +424,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domainNameConfiguration is a required parameter + - message: spec.forProvider.domainNameConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainNameConfiguration) - || has(self.initProvider.domainNameConfiguration)' + || (has(self.initProvider) && has(self.initProvider.domainNameConfiguration))' status: description: DomainNameStatus defines the observed state of DomainName. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml b/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml index 9e5028974f..957e24ab4e 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_integrationresponses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: integrationresponses.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -340,42 +340,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -474,10 +438,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: integrationResponseKey is a required parameter + - message: spec.forProvider.integrationResponseKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.integrationResponseKey) - || has(self.initProvider.integrationResponseKey)' + || (has(self.initProvider) && has(self.initProvider.integrationResponseKey))' status: description: IntegrationResponseStatus defines the observed state of IntegrationResponse. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml b/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml index eafcd91059..798e3ebb52 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_integrations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: integrations.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -664,42 +664,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -798,10 +762,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: integrationType is a required parameter + - message: spec.forProvider.integrationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.integrationType) - || has(self.initProvider.integrationType)' + || (has(self.initProvider) && has(self.initProvider.integrationType))' status: description: IntegrationStatus defines the observed state of Integration. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_models.yaml b/package/crds/apigatewayv2.aws.upbound.io_models.yaml index 6288ba2fde..da346bc296 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_models.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_models.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: models.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -396,18 +360,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: contentType is a required parameter + - message: spec.forProvider.contentType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.contentType) - || has(self.initProvider.contentType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.contentType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: schema is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.schema is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schema) - || has(self.initProvider.schema)' + || (has(self.initProvider) && has(self.initProvider.schema))' status: description: ModelStatus defines the observed state of Model. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml b/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml index 61edab56fa..79ee68d1a3 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_routeresponses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routeresponses.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -326,42 +326,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -460,10 +424,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: routeResponseKey is a required parameter + - message: spec.forProvider.routeResponseKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.routeResponseKey) - || has(self.initProvider.routeResponseKey)' + || (has(self.initProvider) && has(self.initProvider.routeResponseKey))' status: description: RouteResponseStatus defines the observed state of RouteResponse. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_routes.yaml b/package/crds/apigatewayv2.aws.upbound.io_routes.yaml index bad78d1091..cfdd62b34d 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_routes.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_routes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routes.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -495,42 +495,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -629,10 +593,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: routeKey is a required parameter + - message: spec.forProvider.routeKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.routeKey) - || has(self.initProvider.routeKey)' + || (has(self.initProvider) && has(self.initProvider.routeKey))' status: description: RouteStatus defines the observed state of Route. properties: diff --git a/package/crds/apigatewayv2.aws.upbound.io_stages.yaml b/package/crds/apigatewayv2.aws.upbound.io_stages.yaml index f0c6c57f88..d1074121e1 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_stages.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_stages.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stages.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -501,42 +501,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml b/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml index ed40c1bbf1..d422a0686b 100644 --- a/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml +++ b/package/crds/apigatewayv2.aws.upbound.io_vpclinks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpclinks.apigatewayv2.aws.upbound.io spec: group: apigatewayv2.aws.upbound.io @@ -334,42 +334,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -468,10 +432,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: VPCLinkStatus defines the observed state of VPCLink. properties: diff --git a/package/crds/appautoscaling.aws.upbound.io_policies.yaml b/package/crds/appautoscaling.aws.upbound.io_policies.yaml index 3d3db6a01b..830d5bb899 100644 --- a/package/crds/appautoscaling.aws.upbound.io_policies.yaml +++ b/package/crds/appautoscaling.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.appautoscaling.aws.upbound.io spec: group: appautoscaling.aws.upbound.io @@ -813,42 +813,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml b/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml index 28b04f9ab0..631c98b169 100644 --- a/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml +++ b/package/crds/appautoscaling.aws.upbound.io_scheduledactions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: scheduledactions.appautoscaling.aws.upbound.io spec: group: appautoscaling.aws.upbound.io @@ -480,42 +480,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -614,18 +578,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: scalableTargetAction is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.scalableTargetAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scalableTargetAction) - || has(self.initProvider.scalableTargetAction)' - - message: schedule is a required parameter + || (has(self.initProvider) && has(self.initProvider.scalableTargetAction))' + - message: spec.forProvider.schedule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schedule) - || has(self.initProvider.schedule)' + || (has(self.initProvider) && has(self.initProvider.schedule))' status: description: ScheduledActionStatus defines the observed state of ScheduledAction. properties: diff --git a/package/crds/appautoscaling.aws.upbound.io_targets.yaml b/package/crds/appautoscaling.aws.upbound.io_targets.yaml index 908ce86040..e788add447 100644 --- a/package/crds/appautoscaling.aws.upbound.io_targets.yaml +++ b/package/crds/appautoscaling.aws.upbound.io_targets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: targets.appautoscaling.aws.upbound.io spec: group: appautoscaling.aws.upbound.io @@ -274,42 +274,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -408,14 +372,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: maxCapacity is a required parameter + - message: spec.forProvider.maxCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.maxCapacity) - || has(self.initProvider.maxCapacity)' - - message: minCapacity is a required parameter + || (has(self.initProvider) && has(self.initProvider.maxCapacity))' + - message: spec.forProvider.minCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.minCapacity) - || has(self.initProvider.minCapacity)' + || (has(self.initProvider) && has(self.initProvider.minCapacity))' status: description: TargetStatus defines the observed state of Target. properties: diff --git a/package/crds/appconfig.aws.upbound.io_applications.yaml b/package/crds/appconfig.aws.upbound.io_applications.yaml index fa9c9884d0..fae4a6d9eb 100644 --- a/package/crds/appconfig.aws.upbound.io_applications.yaml +++ b/package/crds/appconfig.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,10 +276,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ApplicationStatus defines the observed state of Application. properties: diff --git a/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml b/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml index 3ae88ca481..377cdd9590 100644 --- a/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml +++ b/package/crds/appconfig.aws.upbound.io_configurationprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationprofiles.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -409,42 +409,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -543,14 +507,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: locationUri is a required parameter + - message: spec.forProvider.locationUri is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.locationUri) - || has(self.initProvider.locationUri)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.locationUri))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ConfigurationProfileStatus defines the observed state of ConfigurationProfile. diff --git a/package/crds/appconfig.aws.upbound.io_deployments.yaml b/package/crds/appconfig.aws.upbound.io_deployments.yaml index 85e50da77b..9a1dbb9035 100644 --- a/package/crds/appconfig.aws.upbound.io_deployments.yaml +++ b/package/crds/appconfig.aws.upbound.io_deployments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deployments.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -565,42 +565,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appconfig.aws.upbound.io_deploymentstrategies.yaml b/package/crds/appconfig.aws.upbound.io_deploymentstrategies.yaml index a16fc80fc3..725051e99d 100644 --- a/package/crds/appconfig.aws.upbound.io_deploymentstrategies.yaml +++ b/package/crds/appconfig.aws.upbound.io_deploymentstrategies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deploymentstrategies.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -224,42 +224,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -358,22 +322,23 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: deploymentDurationInMinutes is a required parameter + - message: spec.forProvider.deploymentDurationInMinutes is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.deploymentDurationInMinutes) - || has(self.initProvider.deploymentDurationInMinutes)' - - message: growthFactor is a required parameter + || (has(self.initProvider) && has(self.initProvider.deploymentDurationInMinutes))' + - message: spec.forProvider.growthFactor is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.growthFactor) - || has(self.initProvider.growthFactor)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.growthFactor))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: replicateTo is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.replicateTo is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.replicateTo) - || has(self.initProvider.replicateTo)' + || (has(self.initProvider) && has(self.initProvider.replicateTo))' status: description: DeploymentStrategyStatus defines the observed state of DeploymentStrategy. properties: diff --git a/package/crds/appconfig.aws.upbound.io_environments.yaml b/package/crds/appconfig.aws.upbound.io_environments.yaml index af8358a7f7..b1423e16d7 100644 --- a/package/crds/appconfig.aws.upbound.io_environments.yaml +++ b/package/crds/appconfig.aws.upbound.io_environments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: environments.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -433,42 +433,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -567,10 +531,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: EnvironmentStatus defines the observed state of Environment. properties: diff --git a/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml b/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml index bfb4ddcc57..28c54fc230 100644 --- a/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml +++ b/package/crds/appconfig.aws.upbound.io_extensionassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: extensionassociations.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -319,42 +319,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appconfig.aws.upbound.io_extensions.yaml b/package/crds/appconfig.aws.upbound.io_extensions.yaml index 71f165e16c..b3619fb345 100644 --- a/package/crds/appconfig.aws.upbound.io_extensions.yaml +++ b/package/crds/appconfig.aws.upbound.io_extensions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: extensions.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -443,42 +443,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -577,14 +541,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: actionPoint is a required parameter + - message: spec.forProvider.actionPoint is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.actionPoint) - || has(self.initProvider.actionPoint)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.actionPoint))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ExtensionStatus defines the observed state of Extension. properties: diff --git a/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml b/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml index 287f0ce90e..8447c4c91b 100644 --- a/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml +++ b/package/crds/appconfig.aws.upbound.io_hostedconfigurationversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedconfigurationversions.appconfig.aws.upbound.io spec: group: appconfig.aws.upbound.io @@ -341,42 +341,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -475,13 +439,13 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: contentSecretRef is a required parameter + - message: spec.forProvider.contentSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.contentSecretRef)' - - message: contentType is a required parameter + - message: spec.forProvider.contentType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.contentType) - || has(self.initProvider.contentType)' + || (has(self.initProvider) && has(self.initProvider.contentType))' status: description: HostedConfigurationVersionStatus defines the observed state of HostedConfigurationVersion. diff --git a/package/crds/appflow.aws.upbound.io_flows.yaml b/package/crds/appflow.aws.upbound.io_flows.yaml index dd419a6643..cc1e4cf375 100644 --- a/package/crds/appflow.aws.upbound.io_flows.yaml +++ b/package/crds/appflow.aws.upbound.io_flows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: flows.appflow.aws.upbound.io spec: group: appflow.aws.upbound.io @@ -2482,42 +2482,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2616,22 +2580,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destinationFlowConfig is a required parameter + - message: spec.forProvider.destinationFlowConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationFlowConfig) - || has(self.initProvider.destinationFlowConfig)' - - message: sourceFlowConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.destinationFlowConfig))' + - message: spec.forProvider.sourceFlowConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceFlowConfig) - || has(self.initProvider.sourceFlowConfig)' - - message: task is a required parameter + || (has(self.initProvider) && has(self.initProvider.sourceFlowConfig))' + - message: spec.forProvider.task is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.task) - || has(self.initProvider.task)' - - message: triggerConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.task))' + - message: spec.forProvider.triggerConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.triggerConfig) - || has(self.initProvider.triggerConfig)' + || (has(self.initProvider) && has(self.initProvider.triggerConfig))' status: description: FlowStatus defines the observed state of Flow. properties: diff --git a/package/crds/appintegrations.aws.upbound.io_eventintegrations.yaml b/package/crds/appintegrations.aws.upbound.io_eventintegrations.yaml index 8a044fa46b..a5b8a15e31 100644 --- a/package/crds/appintegrations.aws.upbound.io_eventintegrations.yaml +++ b/package/crds/appintegrations.aws.upbound.io_eventintegrations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventintegrations.appintegrations.aws.upbound.io spec: group: appintegrations.aws.upbound.io @@ -194,42 +194,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -328,14 +292,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: eventFilter is a required parameter + - message: spec.forProvider.eventFilter is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventFilter) - || has(self.initProvider.eventFilter)' - - message: eventbridgeBus is a required parameter + || (has(self.initProvider) && has(self.initProvider.eventFilter))' + - message: spec.forProvider.eventbridgeBus is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventbridgeBus) - || has(self.initProvider.eventbridgeBus)' + || (has(self.initProvider) && has(self.initProvider.eventbridgeBus))' status: description: EventIntegrationStatus defines the observed state of EventIntegration. properties: diff --git a/package/crds/applicationinsights.aws.upbound.io_applications.yaml b/package/crds/applicationinsights.aws.upbound.io_applications.yaml index a066f4cb2b..09c8b33c5b 100644 --- a/package/crds/applicationinsights.aws.upbound.io_applications.yaml +++ b/package/crds/applicationinsights.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.applicationinsights.aws.upbound.io spec: group: applicationinsights.aws.upbound.io @@ -218,42 +218,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml b/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml index 5169412f1f..44135f0227 100644 --- a/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml +++ b/package/crds/appmesh.aws.upbound.io_gatewayroutes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gatewayroutes.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -1306,42 +1306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1440,18 +1404,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: meshName is a required parameter + - message: spec.forProvider.meshName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.meshName) - || has(self.initProvider.meshName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.meshName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: GatewayRouteStatus defines the observed state of GatewayRoute. properties: diff --git a/package/crds/appmesh.aws.upbound.io_meshes.yaml b/package/crds/appmesh.aws.upbound.io_meshes.yaml index 02d6d98d90..6b938ff2ba 100644 --- a/package/crds/appmesh.aws.upbound.io_meshes.yaml +++ b/package/crds/appmesh.aws.upbound.io_meshes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: meshes.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -194,42 +194,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appmesh.aws.upbound.io_routes.yaml b/package/crds/appmesh.aws.upbound.io_routes.yaml index f93bce467e..8cdcd93618 100644 --- a/package/crds/appmesh.aws.upbound.io_routes.yaml +++ b/package/crds/appmesh.aws.upbound.io_routes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routes.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -2038,42 +2038,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2172,14 +2136,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: RouteStatus defines the observed state of Route. properties: diff --git a/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml b/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml index 9ad4dd06d1..918db50701 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualgateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: virtualgateways.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -1162,42 +1162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1296,18 +1260,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: meshName is a required parameter + - message: spec.forProvider.meshName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.meshName) - || has(self.initProvider.meshName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.meshName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: VirtualGatewayStatus defines the observed state of VirtualGateway. properties: diff --git a/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml b/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml index d77c20ed0f..bb4f6b4225 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualnodes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: virtualnodes.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -2077,42 +2077,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2211,14 +2175,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: VirtualNodeStatus defines the observed state of VirtualNode. properties: diff --git a/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml b/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml index 6766cfc02c..9d4ef80249 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualrouters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: virtualrouters.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -439,14 +403,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: VirtualRouterStatus defines the observed state of VirtualRouter. properties: diff --git a/package/crds/appmesh.aws.upbound.io_virtualservices.yaml b/package/crds/appmesh.aws.upbound.io_virtualservices.yaml index 249049d782..78979a5890 100644 --- a/package/crds/appmesh.aws.upbound.io_virtualservices.yaml +++ b/package/crds/appmesh.aws.upbound.io_virtualservices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: virtualservices.appmesh.aws.upbound.io spec: group: appmesh.aws.upbound.io @@ -487,42 +487,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -621,14 +585,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: spec is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.spec is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spec) - || has(self.initProvider.spec)' + || (has(self.initProvider) && has(self.initProvider.spec))' status: description: VirtualServiceStatus defines the observed state of VirtualService. properties: diff --git a/package/crds/apprunner.aws.upbound.io_autoscalingconfigurationversions.yaml b/package/crds/apprunner.aws.upbound.io_autoscalingconfigurationversions.yaml index 6fc740bdfb..78872d3d19 100644 --- a/package/crds/apprunner.aws.upbound.io_autoscalingconfigurationversions.yaml +++ b/package/crds/apprunner.aws.upbound.io_autoscalingconfigurationversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: autoscalingconfigurationversions.apprunner.aws.upbound.io spec: group: apprunner.aws.upbound.io @@ -195,42 +195,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -329,10 +293,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: autoScalingConfigurationName is a required parameter + - message: spec.forProvider.autoScalingConfigurationName is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.autoScalingConfigurationName) - || has(self.initProvider.autoScalingConfigurationName)' + || (has(self.initProvider) && has(self.initProvider.autoScalingConfigurationName))' status: description: AutoScalingConfigurationVersionStatus defines the observed state of AutoScalingConfigurationVersion. diff --git a/package/crds/apprunner.aws.upbound.io_connections.yaml b/package/crds/apprunner.aws.upbound.io_connections.yaml index d328e44884..21260e573c 100644 --- a/package/crds/apprunner.aws.upbound.io_connections.yaml +++ b/package/crds/apprunner.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.apprunner.aws.upbound.io spec: group: apprunner.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,10 +266,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: providerType is a required parameter + - message: spec.forProvider.providerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerType) - || has(self.initProvider.providerType)' + || (has(self.initProvider) && has(self.initProvider.providerType))' status: description: ConnectionStatus defines the observed state of Connection. properties: diff --git a/package/crds/apprunner.aws.upbound.io_observabilityconfigurations.yaml b/package/crds/apprunner.aws.upbound.io_observabilityconfigurations.yaml index 91eeb00b1c..a9c1aefe63 100644 --- a/package/crds/apprunner.aws.upbound.io_observabilityconfigurations.yaml +++ b/package/crds/apprunner.aws.upbound.io_observabilityconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: observabilityconfigurations.apprunner.aws.upbound.io spec: group: apprunner.aws.upbound.io @@ -195,42 +195,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -329,10 +293,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: observabilityConfigurationName is a required parameter + - message: spec.forProvider.observabilityConfigurationName is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.observabilityConfigurationName) - || has(self.initProvider.observabilityConfigurationName)' + || (has(self.initProvider) && has(self.initProvider.observabilityConfigurationName))' status: description: ObservabilityConfigurationStatus defines the observed state of ObservabilityConfiguration. diff --git a/package/crds/apprunner.aws.upbound.io_services.yaml b/package/crds/apprunner.aws.upbound.io_services.yaml index 5c98dc7a78..72b1a134e5 100644 --- a/package/crds/apprunner.aws.upbound.io_services.yaml +++ b/package/crds/apprunner.aws.upbound.io_services.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: services.apprunner.aws.upbound.io spec: group: apprunner.aws.upbound.io @@ -1055,42 +1055,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1189,14 +1153,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: serviceName is a required parameter + - message: spec.forProvider.serviceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceName) - || has(self.initProvider.serviceName)' - - message: sourceConfiguration is a required parameter + || (has(self.initProvider) && has(self.initProvider.serviceName))' + - message: spec.forProvider.sourceConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceConfiguration) - || has(self.initProvider.sourceConfiguration)' + || (has(self.initProvider) && has(self.initProvider.sourceConfiguration))' status: description: ServiceStatus defines the observed state of Service. properties: diff --git a/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml b/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml index 5f7e9d39e6..bf6c545816 100644 --- a/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml +++ b/package/crds/apprunner.aws.upbound.io_vpcconnectors.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcconnectors.apprunner.aws.upbound.io spec: group: apprunner.aws.upbound.io @@ -339,42 +339,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -473,10 +437,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: vpcConnectorName is a required parameter + - message: spec.forProvider.vpcConnectorName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vpcConnectorName) - || has(self.initProvider.vpcConnectorName)' + || (has(self.initProvider) && has(self.initProvider.vpcConnectorName))' status: description: VPCConnectorStatus defines the observed state of VPCConnector. properties: diff --git a/package/crds/appstream.aws.upbound.io_directoryconfigs.yaml b/package/crds/appstream.aws.upbound.io_directoryconfigs.yaml index 79b0b5580f..71ad5c3891 100644 --- a/package/crds/appstream.aws.upbound.io_directoryconfigs.yaml +++ b/package/crds/appstream.aws.upbound.io_directoryconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: directoryconfigs.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -221,42 +221,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -355,18 +319,19 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: directoryName is a required parameter + - message: spec.forProvider.directoryName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.directoryName) - || has(self.initProvider.directoryName)' - - message: organizationalUnitDistinguishedNames is a required parameter + || (has(self.initProvider) && has(self.initProvider.directoryName))' + - message: spec.forProvider.organizationalUnitDistinguishedNames is a + required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.organizationalUnitDistinguishedNames) - || has(self.initProvider.organizationalUnitDistinguishedNames)' - - message: serviceAccountCredentials is a required parameter + || (has(self.initProvider) && has(self.initProvider.organizationalUnitDistinguishedNames))' + - message: spec.forProvider.serviceAccountCredentials is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceAccountCredentials) - || has(self.initProvider.serviceAccountCredentials)' + || (has(self.initProvider) && has(self.initProvider.serviceAccountCredentials))' status: description: DirectoryConfigStatus defines the observed state of DirectoryConfig. properties: diff --git a/package/crds/appstream.aws.upbound.io_fleet.yaml b/package/crds/appstream.aws.upbound.io_fleet.yaml index 6bd8c029e6..69d0ccebb6 100644 --- a/package/crds/appstream.aws.upbound.io_fleet.yaml +++ b/package/crds/appstream.aws.upbound.io_fleet.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fleet.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -494,42 +494,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -628,18 +592,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: computeCapacity is a required parameter + - message: spec.forProvider.computeCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.computeCapacity) - || has(self.initProvider.computeCapacity)' - - message: instanceType is a required parameter + || (has(self.initProvider) && has(self.initProvider.computeCapacity))' + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.instanceType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: FleetStatus defines the observed state of Fleet. properties: diff --git a/package/crds/appstream.aws.upbound.io_fleetstackassociations.yaml b/package/crds/appstream.aws.upbound.io_fleetstackassociations.yaml index 2d83e3f14f..93deff3db7 100644 --- a/package/crds/appstream.aws.upbound.io_fleetstackassociations.yaml +++ b/package/crds/appstream.aws.upbound.io_fleetstackassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fleetstackassociations.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appstream.aws.upbound.io_imagebuilders.yaml b/package/crds/appstream.aws.upbound.io_imagebuilders.yaml index 1b9d2813c2..69fb69df39 100644 --- a/package/crds/appstream.aws.upbound.io_imagebuilders.yaml +++ b/package/crds/appstream.aws.upbound.io_imagebuilders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: imagebuilders.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -454,42 +454,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -588,10 +552,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceType is a required parameter + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' + || (has(self.initProvider) && has(self.initProvider.instanceType))' status: description: ImageBuilderStatus defines the observed state of ImageBuilder. properties: diff --git a/package/crds/appstream.aws.upbound.io_stacks.yaml b/package/crds/appstream.aws.upbound.io_stacks.yaml index 1593266349..a679d79901 100644 --- a/package/crds/appstream.aws.upbound.io_stacks.yaml +++ b/package/crds/appstream.aws.upbound.io_stacks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stacks.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -376,42 +376,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -510,10 +474,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StackStatus defines the observed state of Stack. properties: diff --git a/package/crds/appstream.aws.upbound.io_users.yaml b/package/crds/appstream.aws.upbound.io_users.yaml index 7c92cfc51e..27ded1e1e1 100644 --- a/package/crds/appstream.aws.upbound.io_users.yaml +++ b/package/crds/appstream.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -180,42 +180,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appstream.aws.upbound.io_userstackassociations.yaml b/package/crds/appstream.aws.upbound.io_userstackassociations.yaml index 5915e202d3..9bc7722362 100644 --- a/package/crds/appstream.aws.upbound.io_userstackassociations.yaml +++ b/package/crds/appstream.aws.upbound.io_userstackassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userstackassociations.appstream.aws.upbound.io spec: group: appstream.aws.upbound.io @@ -389,42 +389,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appsync.aws.upbound.io_apicaches.yaml b/package/crds/appsync.aws.upbound.io_apicaches.yaml index c32b5ea688..dbf346841f 100644 --- a/package/crds/appsync.aws.upbound.io_apicaches.yaml +++ b/package/crds/appsync.aws.upbound.io_apicaches.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apicaches.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -270,42 +270,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -404,18 +368,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: apiCachingBehavior is a required parameter + - message: spec.forProvider.apiCachingBehavior is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.apiCachingBehavior) - || has(self.initProvider.apiCachingBehavior)' - - message: ttl is a required parameter + || (has(self.initProvider) && has(self.initProvider.apiCachingBehavior))' + - message: spec.forProvider.ttl is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ttl) - || has(self.initProvider.ttl)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.ttl))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: APICacheStatus defines the observed state of APICache. properties: diff --git a/package/crds/appsync.aws.upbound.io_apikeys.yaml b/package/crds/appsync.aws.upbound.io_apikeys.yaml index 7044e13b98..a48bfeed33 100644 --- a/package/crds/appsync.aws.upbound.io_apikeys.yaml +++ b/package/crds/appsync.aws.upbound.io_apikeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apikeys.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/appsync.aws.upbound.io_datasources.yaml b/package/crds/appsync.aws.upbound.io_datasources.yaml index 0b90cc2b4b..f1117db8f0 100644 --- a/package/crds/appsync.aws.upbound.io_datasources.yaml +++ b/package/crds/appsync.aws.upbound.io_datasources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datasources.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -666,42 +666,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -800,10 +764,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: type is a required parameter + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: DatasourceStatus defines the observed state of Datasource. properties: diff --git a/package/crds/appsync.aws.upbound.io_functions.yaml b/package/crds/appsync.aws.upbound.io_functions.yaml index 81f6293330..b003f00ea5 100644 --- a/package/crds/appsync.aws.upbound.io_functions.yaml +++ b/package/crds/appsync.aws.upbound.io_functions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: functions.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -454,42 +454,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -588,10 +552,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: FunctionStatus defines the observed state of Function. properties: diff --git a/package/crds/appsync.aws.upbound.io_graphqlapis.yaml b/package/crds/appsync.aws.upbound.io_graphqlapis.yaml index ba5acb0490..02602ef0ca 100644 --- a/package/crds/appsync.aws.upbound.io_graphqlapis.yaml +++ b/package/crds/appsync.aws.upbound.io_graphqlapis.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: graphqlapis.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -696,42 +696,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -830,14 +794,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authenticationType is a required parameter + - message: spec.forProvider.authenticationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authenticationType) - || has(self.initProvider.authenticationType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.authenticationType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: GraphQLAPIStatus defines the observed state of GraphQLAPI. properties: diff --git a/package/crds/appsync.aws.upbound.io_resolvers.yaml b/package/crds/appsync.aws.upbound.io_resolvers.yaml index 95798e1148..d82bc00d24 100644 --- a/package/crds/appsync.aws.upbound.io_resolvers.yaml +++ b/package/crds/appsync.aws.upbound.io_resolvers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resolvers.appsync.aws.upbound.io spec: group: appsync.aws.upbound.io @@ -512,42 +512,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/athena.aws.upbound.io_databases.yaml b/package/crds/athena.aws.upbound.io_databases.yaml index d5affa97c3..bffab95683 100644 --- a/package/crds/athena.aws.upbound.io_databases.yaml +++ b/package/crds/athena.aws.upbound.io_databases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: databases.athena.aws.upbound.io spec: group: athena.aws.upbound.io @@ -317,42 +317,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/athena.aws.upbound.io_datacatalogs.yaml b/package/crds/athena.aws.upbound.io_datacatalogs.yaml index fb37a5c5c4..6507fbf7f5 100644 --- a/package/crds/athena.aws.upbound.io_datacatalogs.yaml +++ b/package/crds/athena.aws.upbound.io_datacatalogs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datacatalogs.athena.aws.upbound.io spec: group: athena.aws.upbound.io @@ -190,42 +190,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -324,18 +288,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: parameters is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.parameters is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parameters) - || has(self.initProvider.parameters)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.parameters))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: DataCatalogStatus defines the observed state of DataCatalog. properties: diff --git a/package/crds/athena.aws.upbound.io_namedqueries.yaml b/package/crds/athena.aws.upbound.io_namedqueries.yaml index 126f42a7d3..d4d624d423 100644 --- a/package/crds/athena.aws.upbound.io_namedqueries.yaml +++ b/package/crds/athena.aws.upbound.io_namedqueries.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: namedqueries.athena.aws.upbound.io spec: group: athena.aws.upbound.io @@ -329,42 +329,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -463,14 +427,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: query is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.query is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.query) - || has(self.initProvider.query)' + || (has(self.initProvider) && has(self.initProvider.query))' status: description: NamedQueryStatus defines the observed state of NamedQuery. properties: diff --git a/package/crds/athena.aws.upbound.io_workgroups.yaml b/package/crds/athena.aws.upbound.io_workgroups.yaml index 7f669ba11e..1fe8b3ace2 100644 --- a/package/crds/athena.aws.upbound.io_workgroups.yaml +++ b/package/crds/athena.aws.upbound.io_workgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workgroups.athena.aws.upbound.io spec: group: athena.aws.upbound.io @@ -466,42 +466,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/autoscaling.aws.upbound.io_attachments.yaml b/package/crds/autoscaling.aws.upbound.io_attachments.yaml index 729a1162ec..23348c044a 100644 --- a/package/crds/autoscaling.aws.upbound.io_attachments.yaml +++ b/package/crds/autoscaling.aws.upbound.io_attachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: attachments.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -459,42 +459,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml b/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml index 02bfe63ad1..e3ff7ff211 100644 --- a/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml +++ b/package/crds/autoscaling.aws.upbound.io_autoscalinggroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: autoscalinggroups.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -2049,42 +2049,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2183,14 +2147,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: maxSize is a required parameter + - message: spec.forProvider.maxSize is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.maxSize) - || has(self.initProvider.maxSize)' - - message: minSize is a required parameter + || (has(self.initProvider) && has(self.initProvider.maxSize))' + - message: spec.forProvider.minSize is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.minSize) - || has(self.initProvider.minSize)' + || (has(self.initProvider) && has(self.initProvider.minSize))' status: description: AutoscalingGroupStatus defines the observed state of AutoscalingGroup. properties: diff --git a/package/crds/autoscaling.aws.upbound.io_grouptags.yaml b/package/crds/autoscaling.aws.upbound.io_grouptags.yaml index 6f0ee77390..fc2323ccef 100644 --- a/package/crds/autoscaling.aws.upbound.io_grouptags.yaml +++ b/package/crds/autoscaling.aws.upbound.io_grouptags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: grouptags.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -396,10 +360,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: tag is a required parameter + - message: spec.forProvider.tag is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.tag) - || has(self.initProvider.tag)' + || (has(self.initProvider) && has(self.initProvider.tag))' status: description: GroupTagStatus defines the observed state of GroupTag. properties: diff --git a/package/crds/autoscaling.aws.upbound.io_launchconfigurations.yaml b/package/crds/autoscaling.aws.upbound.io_launchconfigurations.yaml index 3d69480f6c..c0642af305 100644 --- a/package/crds/autoscaling.aws.upbound.io_launchconfigurations.yaml +++ b/package/crds/autoscaling.aws.upbound.io_launchconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: launchconfigurations.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -483,42 +483,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -617,14 +581,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: imageId is a required parameter + - message: spec.forProvider.imageId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.imageId) - || has(self.initProvider.imageId)' - - message: instanceType is a required parameter + || (has(self.initProvider) && has(self.initProvider.imageId))' + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' + || (has(self.initProvider) && has(self.initProvider.instanceType))' status: description: LaunchConfigurationStatus defines the observed state of LaunchConfiguration. properties: diff --git a/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml b/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml index 185643d2ec..e43a54a726 100644 --- a/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml +++ b/package/crds/autoscaling.aws.upbound.io_lifecyclehooks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lifecyclehooks.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -362,42 +362,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -496,10 +460,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: lifecycleTransition is a required parameter + - message: spec.forProvider.lifecycleTransition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.lifecycleTransition) - || has(self.initProvider.lifecycleTransition)' + || (has(self.initProvider) && has(self.initProvider.lifecycleTransition))' status: description: LifecycleHookStatus defines the observed state of LifecycleHook. properties: diff --git a/package/crds/autoscaling.aws.upbound.io_notifications.yaml b/package/crds/autoscaling.aws.upbound.io_notifications.yaml index 1bfbb7b1da..a72684ed17 100644 --- a/package/crds/autoscaling.aws.upbound.io_notifications.yaml +++ b/package/crds/autoscaling.aws.upbound.io_notifications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: notifications.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -384,14 +348,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: groupNames is a required parameter + - message: spec.forProvider.groupNames is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupNames) - || has(self.initProvider.groupNames)' - - message: notifications is a required parameter + || (has(self.initProvider) && has(self.initProvider.groupNames))' + - message: spec.forProvider.notifications is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.notifications) - || has(self.initProvider.notifications)' + || (has(self.initProvider) && has(self.initProvider.notifications))' status: description: NotificationStatus defines the observed state of Notification. properties: diff --git a/package/crds/autoscaling.aws.upbound.io_policies.yaml b/package/crds/autoscaling.aws.upbound.io_policies.yaml index 00f6e91ddb..e21ab45714 100644 --- a/package/crds/autoscaling.aws.upbound.io_policies.yaml +++ b/package/crds/autoscaling.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -1296,42 +1296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/autoscaling.aws.upbound.io_schedules.yaml b/package/crds/autoscaling.aws.upbound.io_schedules.yaml index 3cefda1d45..5a402a8074 100644 --- a/package/crds/autoscaling.aws.upbound.io_schedules.yaml +++ b/package/crds/autoscaling.aws.upbound.io_schedules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schedules.autoscaling.aws.upbound.io spec: group: autoscaling.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/autoscalingplans.aws.upbound.io_scalingplans.yaml b/package/crds/autoscalingplans.aws.upbound.io_scalingplans.yaml index 776b5e67e1..153f01b2b1 100644 --- a/package/crds/autoscalingplans.aws.upbound.io_scalingplans.yaml +++ b/package/crds/autoscalingplans.aws.upbound.io_scalingplans.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: scalingplans.autoscalingplans.aws.upbound.io spec: group: autoscalingplans.aws.upbound.io @@ -588,42 +588,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -722,18 +686,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: applicationSource is a required parameter + - message: spec.forProvider.applicationSource is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.applicationSource) - || has(self.initProvider.applicationSource)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.applicationSource))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: scalingInstruction is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.scalingInstruction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scalingInstruction) - || has(self.initProvider.scalingInstruction)' + || (has(self.initProvider) && has(self.initProvider.scalingInstruction))' status: description: ScalingPlanStatus defines the observed state of ScalingPlan. properties: diff --git a/package/crds/aws.upbound.io_providerconfigs.yaml b/package/crds/aws.upbound.io_providerconfigs.yaml index bc04d0e8ce..8e6119f756 100644 --- a/package/crds/aws.upbound.io_providerconfigs.yaml +++ b/package/crds/aws.upbound.io_providerconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: providerconfigs.aws.upbound.io spec: group: aws.upbound.io diff --git a/package/crds/aws.upbound.io_providerconfigusages.yaml b/package/crds/aws.upbound.io_providerconfigusages.yaml index abc923135a..11603c802d 100644 --- a/package/crds/aws.upbound.io_providerconfigusages.yaml +++ b/package/crds/aws.upbound.io_providerconfigusages.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: providerconfigusages.aws.upbound.io spec: group: aws.upbound.io diff --git a/package/crds/aws.upbound.io_storeconfigs.yaml b/package/crds/aws.upbound.io_storeconfigs.yaml index 33fb11775c..4c51713d60 100644 --- a/package/crds/aws.upbound.io_storeconfigs.yaml +++ b/package/crds/aws.upbound.io_storeconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: storeconfigs.aws.upbound.io spec: group: aws.upbound.io @@ -153,146 +153,6 @@ spec: - Vault - Plugin type: string - vault: - description: 'Vault configures a Vault secret store. Deprecated: This - API is scheduled to be removed in a future release. Vault should - be used as a plugin going forward. See https://github.com/crossplane-contrib/ess-plugin-vault - for more information.' - properties: - auth: - description: Auth configures an authentication method for Vault. - properties: - method: - description: Method configures which auth method will be used. - type: string - token: - description: Token configures Token Auth for Vault. - properties: - env: - description: Env is a reference to an environment variable - that contains credentials that must be used to connect - to the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location - that contains credentials that must be used to connect - to the provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key - that contains the credentials that must be used to connect - to the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the credentials. - enum: - - None - - Secret - - Environment - - Filesystem - type: string - required: - - source - type: object - required: - - method - type: object - caBundle: - description: CABundle configures CA bundle for Vault Server. - properties: - env: - description: Env is a reference to an environment variable - that contains credentials that must be used to connect to - the provider. - properties: - name: - description: Name is the name of an environment variable. - type: string - required: - - name - type: object - fs: - description: Fs is a reference to a filesystem location that - contains credentials that must be used to connect to the - provider. - properties: - path: - description: Path is a filesystem path. - type: string - required: - - path - type: object - secretRef: - description: A SecretRef is a reference to a secret key that - contains the credentials that must be used to connect to - the provider. - properties: - key: - description: The key to select. - type: string - name: - description: Name of the secret. - type: string - namespace: - description: Namespace of the secret. - type: string - required: - - key - - name - - namespace - type: object - source: - description: Source of the credentials. - enum: - - None - - Secret - - Environment - - Filesystem - type: string - required: - - source - type: object - mountPath: - description: MountPath is the mount path of the KV secrets engine. - type: string - server: - description: Server is the url of the Vault server, e.g. "https://vault.acme.org" - type: string - version: - default: v2 - description: Version of the KV Secrets engine of Vault. https://www.vaultproject.io/docs/secrets/kv - type: string - required: - - auth - - mountPath - - server - type: object required: - defaultScope type: object diff --git a/package/crds/backup.aws.upbound.io_frameworks.yaml b/package/crds/backup.aws.upbound.io_frameworks.yaml index 0a288a6a21..9d74be1d4b 100644 --- a/package/crds/backup.aws.upbound.io_frameworks.yaml +++ b/package/crds/backup.aws.upbound.io_frameworks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: frameworks.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -302,42 +302,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -436,14 +400,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: control is a required parameter + - message: spec.forProvider.control is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.control) - || has(self.initProvider.control)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.control))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: FrameworkStatus defines the observed state of Framework. properties: diff --git a/package/crds/backup.aws.upbound.io_globalsettings.yaml b/package/crds/backup.aws.upbound.io_globalsettings.yaml index 3e8f076023..eb0f2b8f16 100644 --- a/package/crds/backup.aws.upbound.io_globalsettings.yaml +++ b/package/crds/backup.aws.upbound.io_globalsettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globalsettings.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -164,42 +164,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -298,10 +262,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: globalSettings is a required parameter + - message: spec.forProvider.globalSettings is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.globalSettings) - || has(self.initProvider.globalSettings)' + || (has(self.initProvider) && has(self.initProvider.globalSettings))' status: description: GlobalSettingsStatus defines the observed state of GlobalSettings. properties: diff --git a/package/crds/backup.aws.upbound.io_plans.yaml b/package/crds/backup.aws.upbound.io_plans.yaml index 39b45b2076..74c8f98c87 100644 --- a/package/crds/backup.aws.upbound.io_plans.yaml +++ b/package/crds/backup.aws.upbound.io_plans.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: plans.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -446,42 +446,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -580,14 +544,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: rule is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: PlanStatus defines the observed state of Plan. properties: diff --git a/package/crds/backup.aws.upbound.io_regionsettings.yaml b/package/crds/backup.aws.upbound.io_regionsettings.yaml index aa59b8436a..7bbab75104 100644 --- a/package/crds/backup.aws.upbound.io_regionsettings.yaml +++ b/package/crds/backup.aws.upbound.io_regionsettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regionsettings.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -182,42 +182,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -316,10 +280,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceTypeOptInPreference is a required parameter + - message: spec.forProvider.resourceTypeOptInPreference is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceTypeOptInPreference) - || has(self.initProvider.resourceTypeOptInPreference)' + || (has(self.initProvider) && has(self.initProvider.resourceTypeOptInPreference))' status: description: RegionSettingsStatus defines the observed state of RegionSettings. properties: diff --git a/package/crds/backup.aws.upbound.io_reportplans.yaml b/package/crds/backup.aws.upbound.io_reportplans.yaml index 80107dd5c8..9b20a51554 100644 --- a/package/crds/backup.aws.upbound.io_reportplans.yaml +++ b/package/crds/backup.aws.upbound.io_reportplans.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: reportplans.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -312,42 +312,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -446,18 +410,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: reportDeliveryChannel is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.reportDeliveryChannel is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.reportDeliveryChannel) - || has(self.initProvider.reportDeliveryChannel)' - - message: reportSetting is a required parameter + || (has(self.initProvider) && has(self.initProvider.reportDeliveryChannel))' + - message: spec.forProvider.reportSetting is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.reportSetting) - || has(self.initProvider.reportSetting)' + || (has(self.initProvider) && has(self.initProvider.reportSetting))' status: description: ReportPlanStatus defines the observed state of ReportPlan. properties: diff --git a/package/crds/backup.aws.upbound.io_selections.yaml b/package/crds/backup.aws.upbound.io_selections.yaml index 709edfc35f..5d5070a8d8 100644 --- a/package/crds/backup.aws.upbound.io_selections.yaml +++ b/package/crds/backup.aws.upbound.io_selections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: selections.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -481,42 +481,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -615,10 +579,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SelectionStatus defines the observed state of Selection. properties: diff --git a/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml b/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml index 0987ee8c01..b75dc4db33 100644 --- a/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml +++ b/package/crds/backup.aws.upbound.io_vaultlockconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaultlockconfigurations.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -255,42 +255,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/backup.aws.upbound.io_vaultnotifications.yaml b/package/crds/backup.aws.upbound.io_vaultnotifications.yaml index a29030d043..cc9367794d 100644 --- a/package/crds/backup.aws.upbound.io_vaultnotifications.yaml +++ b/package/crds/backup.aws.upbound.io_vaultnotifications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaultnotifications.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -317,42 +317,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -451,10 +415,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: backupVaultEvents is a required parameter + - message: spec.forProvider.backupVaultEvents is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.backupVaultEvents) - || has(self.initProvider.backupVaultEvents)' + || (has(self.initProvider) && has(self.initProvider.backupVaultEvents))' status: description: VaultNotificationsStatus defines the observed state of VaultNotifications. properties: diff --git a/package/crds/backup.aws.upbound.io_vaultpolicies.yaml b/package/crds/backup.aws.upbound.io_vaultpolicies.yaml index bc3c011cc0..c0d8790579 100644 --- a/package/crds/backup.aws.upbound.io_vaultpolicies.yaml +++ b/package/crds/backup.aws.upbound.io_vaultpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaultpolicies.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -234,42 +234,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -368,10 +332,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: VaultPolicyStatus defines the observed state of VaultPolicy. properties: diff --git a/package/crds/backup.aws.upbound.io_vaults.yaml b/package/crds/backup.aws.upbound.io_vaults.yaml index db4a9bfb02..af77a6482c 100644 --- a/package/crds/backup.aws.upbound.io_vaults.yaml +++ b/package/crds/backup.aws.upbound.io_vaults.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaults.backup.aws.upbound.io spec: group: backup.aws.upbound.io @@ -249,42 +249,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/batch.aws.upbound.io_schedulingpolicies.yaml b/package/crds/batch.aws.upbound.io_schedulingpolicies.yaml index 2eb9a47107..917286e797 100644 --- a/package/crds/batch.aws.upbound.io_schedulingpolicies.yaml +++ b/package/crds/batch.aws.upbound.io_schedulingpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schedulingpolicies.batch.aws.upbound.io spec: group: batch.aws.upbound.io @@ -220,42 +220,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/budgets.aws.upbound.io_budgetactions.yaml b/package/crds/budgets.aws.upbound.io_budgetactions.yaml index 591acd40ba..0ab5d083c4 100644 --- a/package/crds/budgets.aws.upbound.io_budgetactions.yaml +++ b/package/crds/budgets.aws.upbound.io_budgetactions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: budgetactions.budgets.aws.upbound.io spec: group: budgets.aws.upbound.io @@ -610,42 +610,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -744,30 +708,30 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: actionThreshold is a required parameter + - message: spec.forProvider.actionThreshold is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.actionThreshold) - || has(self.initProvider.actionThreshold)' - - message: actionType is a required parameter + || (has(self.initProvider) && has(self.initProvider.actionThreshold))' + - message: spec.forProvider.actionType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.actionType) - || has(self.initProvider.actionType)' - - message: approvalModel is a required parameter + || (has(self.initProvider) && has(self.initProvider.actionType))' + - message: spec.forProvider.approvalModel is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.approvalModel) - || has(self.initProvider.approvalModel)' - - message: definition is a required parameter + || (has(self.initProvider) && has(self.initProvider.approvalModel))' + - message: spec.forProvider.definition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.definition) - || has(self.initProvider.definition)' - - message: notificationType is a required parameter + || (has(self.initProvider) && has(self.initProvider.definition))' + - message: spec.forProvider.notificationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.notificationType) - || has(self.initProvider.notificationType)' - - message: subscriber is a required parameter + || (has(self.initProvider) && has(self.initProvider.notificationType))' + - message: spec.forProvider.subscriber is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.subscriber) - || has(self.initProvider.subscriber)' + || (has(self.initProvider) && has(self.initProvider.subscriber))' status: description: BudgetActionStatus defines the observed state of BudgetAction. properties: diff --git a/package/crds/budgets.aws.upbound.io_budgets.yaml b/package/crds/budgets.aws.upbound.io_budgets.yaml index 9b0f721f98..87ac86021f 100644 --- a/package/crds/budgets.aws.upbound.io_budgets.yaml +++ b/package/crds/budgets.aws.upbound.io_budgets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: budgets.budgets.aws.upbound.io spec: group: budgets.aws.upbound.io @@ -498,42 +498,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -632,14 +596,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: budgetType is a required parameter + - message: spec.forProvider.budgetType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.budgetType) - || has(self.initProvider.budgetType)' - - message: timeUnit is a required parameter + || (has(self.initProvider) && has(self.initProvider.budgetType))' + - message: spec.forProvider.timeUnit is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.timeUnit) - || has(self.initProvider.timeUnit)' + || (has(self.initProvider) && has(self.initProvider.timeUnit))' status: description: BudgetStatus defines the observed state of Budget. properties: diff --git a/package/crds/ce.aws.upbound.io_anomalymonitors.yaml b/package/crds/ce.aws.upbound.io_anomalymonitors.yaml index aa3895f90e..3eb41fc8a6 100644 --- a/package/crds/ce.aws.upbound.io_anomalymonitors.yaml +++ b/package/crds/ce.aws.upbound.io_anomalymonitors.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: anomalymonitors.ce.aws.upbound.io spec: group: ce.aws.upbound.io @@ -188,42 +188,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -322,14 +286,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: monitorType is a required parameter + - message: spec.forProvider.monitorType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.monitorType) - || has(self.initProvider.monitorType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.monitorType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AnomalyMonitorStatus defines the observed state of AnomalyMonitor. properties: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml index 32ea0a1be1..e8b872606a 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectorgroups.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -258,42 +258,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml index 1abc6b6448..43a7ba5b2f 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorloggings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectorloggings.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml b/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml index cc6ab92c7b..c034a76656 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectororiginations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectororiginations.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -302,42 +302,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -436,10 +400,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: route is a required parameter + - message: spec.forProvider.route is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.route) - || has(self.initProvider.route)' + || (has(self.initProvider) && has(self.initProvider.route))' status: description: VoiceConnectorOriginationStatus defines the observed state of VoiceConnectorOrigination. diff --git a/package/crds/chime.aws.upbound.io_voiceconnectors.yaml b/package/crds/chime.aws.upbound.io_voiceconnectors.yaml index 2d4f61b337..6db5ac5665 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectors.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectors.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectors.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -169,42 +169,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -303,10 +267,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: requireEncryption is a required parameter + - message: spec.forProvider.requireEncryption is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.requireEncryption) - || has(self.initProvider.requireEncryption)' + || (has(self.initProvider) && has(self.initProvider.requireEncryption))' status: description: VoiceConnectorStatus defines the observed state of VoiceConnector. properties: diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml index ebdc320fe0..402eb65170 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorstreamings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectorstreamings.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -289,42 +289,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -423,10 +387,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dataRetention is a required parameter + - message: spec.forProvider.dataRetention is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataRetention) - || has(self.initProvider.dataRetention)' + || (has(self.initProvider) && has(self.initProvider.dataRetention))' status: description: VoiceConnectorStreamingStatus defines the observed state of VoiceConnectorStreaming. diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml index 390e85b307..061c179afe 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorterminationcredentials.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectorterminationcredentials.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -272,42 +272,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -406,10 +370,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: credentials is a required parameter + - message: spec.forProvider.credentials is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.credentials) - || has(self.initProvider.credentials)' + || (has(self.initProvider) && has(self.initProvider.credentials))' status: description: VoiceConnectorTerminationCredentialsStatus defines the observed state of VoiceConnectorTerminationCredentials. diff --git a/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml b/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml index 750705d4e4..d11544faff 100644 --- a/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml +++ b/package/crds/chime.aws.upbound.io_voiceconnectorterminations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: voiceconnectorterminations.chime.aws.upbound.io spec: group: chime.aws.upbound.io @@ -276,42 +276,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -410,14 +374,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: callingRegions is a required parameter + - message: spec.forProvider.callingRegions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.callingRegions) - || has(self.initProvider.callingRegions)' - - message: cidrAllowList is a required parameter + || (has(self.initProvider) && has(self.initProvider.callingRegions))' + - message: spec.forProvider.cidrAllowList is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cidrAllowList) - || has(self.initProvider.cidrAllowList)' + || (has(self.initProvider) && has(self.initProvider.cidrAllowList))' status: description: VoiceConnectorTerminationStatus defines the observed state of VoiceConnectorTermination. diff --git a/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml b/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml index f7daa0bc78..1448efdc77 100644 --- a/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml +++ b/package/crds/cloud9.aws.upbound.io_environmentec2s.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: environmentec2s.cloud9.aws.upbound.io spec: group: cloud9.aws.upbound.io @@ -293,42 +293,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -427,14 +391,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceType is a required parameter + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.instanceType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: EnvironmentEC2Status defines the observed state of EnvironmentEC2. properties: diff --git a/package/crds/cloud9.aws.upbound.io_environmentmemberships.yaml b/package/crds/cloud9.aws.upbound.io_environmentmemberships.yaml index 0d8b0e17bf..5ecd46297d 100644 --- a/package/crds/cloud9.aws.upbound.io_environmentmemberships.yaml +++ b/package/crds/cloud9.aws.upbound.io_environmentmemberships.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: environmentmemberships.cloud9.aws.upbound.io spec: group: cloud9.aws.upbound.io @@ -318,42 +318,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -452,10 +416,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: permissions is a required parameter + - message: spec.forProvider.permissions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.permissions) - || has(self.initProvider.permissions)' + || (has(self.initProvider) && has(self.initProvider.permissions))' status: description: EnvironmentMembershipStatus defines the observed state of EnvironmentMembership. diff --git a/package/crds/cloudcontrol.aws.upbound.io_resources.yaml b/package/crds/cloudcontrol.aws.upbound.io_resources.yaml index 469c006eaf..8d766c62f0 100644 --- a/package/crds/cloudcontrol.aws.upbound.io_resources.yaml +++ b/package/crds/cloudcontrol.aws.upbound.io_resources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resources.cloudcontrol.aws.upbound.io spec: group: cloudcontrol.aws.upbound.io @@ -273,42 +273,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -407,14 +371,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: desiredState is a required parameter + - message: spec.forProvider.desiredState is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.desiredState) - || has(self.initProvider.desiredState)' - - message: typeName is a required parameter + || (has(self.initProvider) && has(self.initProvider.desiredState))' + - message: spec.forProvider.typeName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.typeName) - || has(self.initProvider.typeName)' + || (has(self.initProvider) && has(self.initProvider.typeName))' status: description: ResourceStatus defines the observed state of Resource. properties: diff --git a/package/crds/cloudformation.aws.upbound.io_stacks.yaml b/package/crds/cloudformation.aws.upbound.io_stacks.yaml index 0cbaa250b3..3c70f0d977 100644 --- a/package/crds/cloudformation.aws.upbound.io_stacks.yaml +++ b/package/crds/cloudformation.aws.upbound.io_stacks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stacks.cloudformation.aws.upbound.io spec: group: cloudformation.aws.upbound.io @@ -340,42 +340,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudformation.aws.upbound.io_stacksets.yaml b/package/crds/cloudformation.aws.upbound.io_stacksets.yaml index e5c865c88f..f0642b3aaf 100644 --- a/package/crds/cloudformation.aws.upbound.io_stacksets.yaml +++ b/package/crds/cloudformation.aws.upbound.io_stacksets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stacksets.cloudformation.aws.upbound.io spec: group: cloudformation.aws.upbound.io @@ -432,42 +432,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudfront.aws.upbound.io_cachepolicies.yaml b/package/crds/cloudfront.aws.upbound.io_cachepolicies.yaml index 90d99f7ada..4816d00abe 100644 --- a/package/crds/cloudfront.aws.upbound.io_cachepolicies.yaml +++ b/package/crds/cloudfront.aws.upbound.io_cachepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: cachepolicies.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -416,42 +416,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -550,14 +514,15 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: parametersInCacheKeyAndForwardedToOrigin is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.parametersInCacheKeyAndForwardedToOrigin is + a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parametersInCacheKeyAndForwardedToOrigin) - || has(self.initProvider.parametersInCacheKeyAndForwardedToOrigin)' + || (has(self.initProvider) && has(self.initProvider.parametersInCacheKeyAndForwardedToOrigin))' status: description: CachePolicyStatus defines the observed state of CachePolicy. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_distributions.yaml b/package/crds/cloudfront.aws.upbound.io_distributions.yaml index 4a487df8aa..08b4ddef3d 100644 --- a/package/crds/cloudfront.aws.upbound.io_distributions.yaml +++ b/package/crds/cloudfront.aws.upbound.io_distributions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: distributions.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -1819,42 +1819,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1953,26 +1917,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: defaultCacheBehavior is a required parameter + - message: spec.forProvider.defaultCacheBehavior is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultCacheBehavior) - || has(self.initProvider.defaultCacheBehavior)' - - message: enabled is a required parameter + || (has(self.initProvider) && has(self.initProvider.defaultCacheBehavior))' + - message: spec.forProvider.enabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.enabled) - || has(self.initProvider.enabled)' - - message: origin is a required parameter + || (has(self.initProvider) && has(self.initProvider.enabled))' + - message: spec.forProvider.origin is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.origin) - || has(self.initProvider.origin)' - - message: restrictions is a required parameter + || (has(self.initProvider) && has(self.initProvider.origin))' + - message: spec.forProvider.restrictions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.restrictions) - || has(self.initProvider.restrictions)' - - message: viewerCertificate is a required parameter + || (has(self.initProvider) && has(self.initProvider.restrictions))' + - message: spec.forProvider.viewerCertificate is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.viewerCertificate) - || has(self.initProvider.viewerCertificate)' + || (has(self.initProvider) && has(self.initProvider.viewerCertificate))' status: description: DistributionStatus defines the observed state of Distribution. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml index 6ebb1fbdbe..79d180f94f 100644 --- a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml +++ b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fieldlevelencryptionconfigs.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -395,42 +395,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -529,14 +493,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: contentTypeProfileConfig is a required parameter + - message: spec.forProvider.contentTypeProfileConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.contentTypeProfileConfig) - || has(self.initProvider.contentTypeProfileConfig)' - - message: queryArgProfileConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.contentTypeProfileConfig))' + - message: spec.forProvider.queryArgProfileConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.queryArgProfileConfig) - || has(self.initProvider.queryArgProfileConfig)' + || (has(self.initProvider) && has(self.initProvider.queryArgProfileConfig))' status: description: FieldLevelEncryptionConfigStatus defines the observed state of FieldLevelEncryptionConfig. diff --git a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml index af72133641..fda1657abd 100644 --- a/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml +++ b/package/crds/cloudfront.aws.upbound.io_fieldlevelencryptionprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fieldlevelencryptionprofiles.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -312,42 +312,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -446,14 +410,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: encryptionEntities is a required parameter + - message: spec.forProvider.encryptionEntities is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.encryptionEntities) - || has(self.initProvider.encryptionEntities)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.encryptionEntities))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: FieldLevelEncryptionProfileStatus defines the observed state of FieldLevelEncryptionProfile. diff --git a/package/crds/cloudfront.aws.upbound.io_functions.yaml b/package/crds/cloudfront.aws.upbound.io_functions.yaml index eeaad165fa..ee2e629026 100644 --- a/package/crds/cloudfront.aws.upbound.io_functions.yaml +++ b/package/crds/cloudfront.aws.upbound.io_functions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: functions.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -193,42 +193,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -327,13 +291,13 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: codeSecretRef is a required parameter + - message: spec.forProvider.codeSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.codeSecretRef)' - - message: runtime is a required parameter + - message: spec.forProvider.runtime is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.runtime) - || has(self.initProvider.runtime)' + || (has(self.initProvider) && has(self.initProvider.runtime))' status: description: FunctionStatus defines the observed state of Function. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_keygroups.yaml b/package/crds/cloudfront.aws.upbound.io_keygroups.yaml index 179efe47c5..ce2bb0bf61 100644 --- a/package/crds/cloudfront.aws.upbound.io_keygroups.yaml +++ b/package/crds/cloudfront.aws.upbound.io_keygroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keygroups.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: KeyGroupStatus defines the observed state of KeyGroup. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml b/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml index a0d29b7d09..b233d8c1d6 100644 --- a/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml +++ b/package/crds/cloudfront.aws.upbound.io_monitoringsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: monitoringsubscriptions.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -273,42 +273,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -407,10 +371,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: monitoringSubscription is a required parameter + - message: spec.forProvider.monitoringSubscription is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.monitoringSubscription) - || has(self.initProvider.monitoringSubscription)' + || (has(self.initProvider) && has(self.initProvider.monitoringSubscription))' status: description: MonitoringSubscriptionStatus defines the observed state of MonitoringSubscription. diff --git a/package/crds/cloudfront.aws.upbound.io_originaccesscontrols.yaml b/package/crds/cloudfront.aws.upbound.io_originaccesscontrols.yaml index 2b5fba7989..e7892fb622 100644 --- a/package/crds/cloudfront.aws.upbound.io_originaccesscontrols.yaml +++ b/package/crds/cloudfront.aws.upbound.io_originaccesscontrols.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: originaccesscontrols.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -190,42 +190,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -324,22 +288,23 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: originAccessControlOriginType is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.originAccessControlOriginType is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.originAccessControlOriginType) - || has(self.initProvider.originAccessControlOriginType)' - - message: signingBehavior is a required parameter + || (has(self.initProvider) && has(self.initProvider.originAccessControlOriginType))' + - message: spec.forProvider.signingBehavior is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.signingBehavior) - || has(self.initProvider.signingBehavior)' - - message: signingProtocol is a required parameter + || (has(self.initProvider) && has(self.initProvider.signingBehavior))' + - message: spec.forProvider.signingProtocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.signingProtocol) - || has(self.initProvider.signingProtocol)' + || (has(self.initProvider) && has(self.initProvider.signingProtocol))' status: description: OriginAccessControlStatus defines the observed state of OriginAccessControl. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_originaccessidentities.yaml b/package/crds/cloudfront.aws.upbound.io_originaccessidentities.yaml index 804d92d1f3..11ba3c5ede 100644 --- a/package/crds/cloudfront.aws.upbound.io_originaccessidentities.yaml +++ b/package/crds/cloudfront.aws.upbound.io_originaccessidentities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: originaccessidentities.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudfront.aws.upbound.io_originrequestpolicies.yaml b/package/crds/cloudfront.aws.upbound.io_originrequestpolicies.yaml index 605d03fa89..3546ee3533 100644 --- a/package/crds/cloudfront.aws.upbound.io_originrequestpolicies.yaml +++ b/package/crds/cloudfront.aws.upbound.io_originrequestpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: originrequestpolicies.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -281,42 +281,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -415,18 +379,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cookiesConfig is a required parameter + - message: spec.forProvider.cookiesConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cookiesConfig) - || has(self.initProvider.cookiesConfig)' - - message: headersConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.cookiesConfig))' + - message: spec.forProvider.headersConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.headersConfig) - || has(self.initProvider.headersConfig)' - - message: queryStringsConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.headersConfig))' + - message: spec.forProvider.queryStringsConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.queryStringsConfig) - || has(self.initProvider.queryStringsConfig)' + || (has(self.initProvider) && has(self.initProvider.queryStringsConfig))' status: description: OriginRequestPolicyStatus defines the observed state of OriginRequestPolicy. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_publickeys.yaml b/package/crds/cloudfront.aws.upbound.io_publickeys.yaml index f178214cf0..472d178a2a 100644 --- a/package/crds/cloudfront.aws.upbound.io_publickeys.yaml +++ b/package/crds/cloudfront.aws.upbound.io_publickeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: publickeys.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -183,42 +183,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -317,7 +281,7 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: encodedKeySecretRef is a required parameter + - message: spec.forProvider.encodedKeySecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.encodedKeySecretRef)' status: diff --git a/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml b/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml index e7b7150ca0..84eff13f6d 100644 --- a/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml +++ b/package/crds/cloudfront.aws.upbound.io_realtimelogconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: realtimelogconfigs.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -384,42 +384,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -518,22 +482,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: endpoint is a required parameter + - message: spec.forProvider.endpoint is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.endpoint) - || has(self.initProvider.endpoint)' - - message: fields is a required parameter + || (has(self.initProvider) && has(self.initProvider.endpoint))' + - message: spec.forProvider.fields is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.fields) - || has(self.initProvider.fields)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.fields))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: samplingRate is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.samplingRate is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.samplingRate) - || has(self.initProvider.samplingRate)' + || (has(self.initProvider) && has(self.initProvider.samplingRate))' status: description: RealtimeLogConfigStatus defines the observed state of RealtimeLogConfig. properties: diff --git a/package/crds/cloudfront.aws.upbound.io_responseheaderspolicies.yaml b/package/crds/cloudfront.aws.upbound.io_responseheaderspolicies.yaml index c993618739..a0ac6e683a 100644 --- a/package/crds/cloudfront.aws.upbound.io_responseheaderspolicies.yaml +++ b/package/crds/cloudfront.aws.upbound.io_responseheaderspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: responseheaderspolicies.cloudfront.aws.upbound.io spec: group: cloudfront.aws.upbound.io @@ -708,42 +708,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -842,10 +806,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ResponseHeadersPolicyStatus defines the observed state of ResponseHeadersPolicy. diff --git a/package/crds/cloudsearch.aws.upbound.io_domains.yaml b/package/crds/cloudsearch.aws.upbound.io_domains.yaml index 4e6052cc2d..c69c399500 100644 --- a/package/crds/cloudsearch.aws.upbound.io_domains.yaml +++ b/package/crds/cloudsearch.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.cloudsearch.aws.upbound.io spec: group: cloudsearch.aws.upbound.io @@ -324,42 +324,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml b/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml index d07e7cb9de..129ca4c3d2 100644 --- a/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml +++ b/package/crds/cloudsearch.aws.upbound.io_domainserviceaccesspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainserviceaccesspolicies.cloudsearch.aws.upbound.io spec: group: cloudsearch.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accessPolicy is a required parameter + - message: spec.forProvider.accessPolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accessPolicy) - || has(self.initProvider.accessPolicy)' + || (has(self.initProvider) && has(self.initProvider.accessPolicy))' status: description: DomainServiceAccessPolicyStatus defines the observed state of DomainServiceAccessPolicy. diff --git a/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml b/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml index b2232a2562..299c5ee761 100644 --- a/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml +++ b/package/crds/cloudtrail.aws.upbound.io_eventdatastores.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventdatastores.cloudtrail.aws.upbound.io spec: group: cloudtrail.aws.upbound.io @@ -425,42 +425,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -559,10 +523,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: EventDataStoreStatus defines the observed state of EventDataStore. properties: diff --git a/package/crds/cloudtrail.aws.upbound.io_trails.yaml b/package/crds/cloudtrail.aws.upbound.io_trails.yaml index 84cb43cd38..451be0cd4f 100644 --- a/package/crds/cloudtrail.aws.upbound.io_trails.yaml +++ b/package/crds/cloudtrail.aws.upbound.io_trails.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trails.cloudtrail.aws.upbound.io spec: group: cloudtrail.aws.upbound.io @@ -727,42 +727,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml b/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml index 897c5aed1d..3abfe39b0e 100644 --- a/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_compositealarms.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: compositealarms.cloudwatch.aws.upbound.io spec: group: cloudwatch.aws.upbound.io @@ -370,42 +370,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -504,10 +468,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: alarmRule is a required parameter + - message: spec.forProvider.alarmRule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.alarmRule) - || has(self.initProvider.alarmRule)' + || (has(self.initProvider) && has(self.initProvider.alarmRule))' status: description: CompositeAlarmStatus defines the observed state of CompositeAlarm. properties: diff --git a/package/crds/cloudwatch.aws.upbound.io_dashboards.yaml b/package/crds/cloudwatch.aws.upbound.io_dashboards.yaml index 3847117b77..ad165e983b 100644 --- a/package/crds/cloudwatch.aws.upbound.io_dashboards.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_dashboards.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: dashboards.cloudwatch.aws.upbound.io spec: group: cloudwatch.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -296,10 +260,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dashboardBody is a required parameter + - message: spec.forProvider.dashboardBody is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dashboardBody) - || has(self.initProvider.dashboardBody)' + || (has(self.initProvider) && has(self.initProvider.dashboardBody))' status: description: DashboardStatus defines the observed state of Dashboard. properties: diff --git a/package/crds/cloudwatch.aws.upbound.io_metricalarms.yaml b/package/crds/cloudwatch.aws.upbound.io_metricalarms.yaml index b7819c8e42..1409e4efa7 100644 --- a/package/crds/cloudwatch.aws.upbound.io_metricalarms.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_metricalarms.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: metricalarms.cloudwatch.aws.upbound.io spec: group: cloudwatch.aws.upbound.io @@ -530,42 +530,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -664,14 +628,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: comparisonOperator is a required parameter + - message: spec.forProvider.comparisonOperator is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.comparisonOperator) - || has(self.initProvider.comparisonOperator)' - - message: evaluationPeriods is a required parameter + || (has(self.initProvider) && has(self.initProvider.comparisonOperator))' + - message: spec.forProvider.evaluationPeriods is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.evaluationPeriods) - || has(self.initProvider.evaluationPeriods)' + || (has(self.initProvider) && has(self.initProvider.evaluationPeriods))' status: description: MetricAlarmStatus defines the observed state of MetricAlarm. properties: diff --git a/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml b/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml index f200080210..0fa8f8c4c6 100644 --- a/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml +++ b/package/crds/cloudwatch.aws.upbound.io_metricstreams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: metricstreams.cloudwatch.aws.upbound.io spec: group: cloudwatch.aws.upbound.io @@ -486,42 +486,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -620,14 +584,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: outputFormat is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.outputFormat is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.outputFormat) - || has(self.initProvider.outputFormat)' + || (has(self.initProvider) && has(self.initProvider.outputFormat))' status: description: MetricStreamStatus defines the observed state of MetricStream. properties: diff --git a/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml b/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml index aa8ac6aff9..26aa88c710 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_apidestinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apidestinations.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -267,42 +267,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -401,14 +365,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: httpMethod is a required parameter + - message: spec.forProvider.httpMethod is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.httpMethod) - || has(self.initProvider.httpMethod)' - - message: invocationEndpoint is a required parameter + || (has(self.initProvider) && has(self.initProvider.httpMethod))' + - message: spec.forProvider.invocationEndpoint is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.invocationEndpoint) - || has(self.initProvider.invocationEndpoint)' + || (has(self.initProvider) && has(self.initProvider.invocationEndpoint))' status: description: APIDestinationStatus defines the observed state of APIDestination. properties: diff --git a/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml b/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml index b21f049ea8..22b24df574 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_archives.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: archives.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -255,42 +255,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatchevents.aws.upbound.io_buses.yaml b/package/crds/cloudwatchevents.aws.upbound.io_buses.yaml index 1ab77bb663..0f6b7edede 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_buses.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_buses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: buses.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml b/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml index 7f4b93e4fa..bf88725fb9 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_buspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: buspolicies.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: BusPolicyStatus defines the observed state of BusPolicy. properties: diff --git a/package/crds/cloudwatchevents.aws.upbound.io_connections.yaml b/package/crds/cloudwatchevents.aws.upbound.io_connections.yaml index dc2a9ce0cf..9990ed21bd 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_connections.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -721,42 +721,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -855,14 +819,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authParameters is a required parameter + - message: spec.forProvider.authParameters is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authParameters) - || has(self.initProvider.authParameters)' - - message: authorizationType is a required parameter + || (has(self.initProvider) && has(self.initProvider.authParameters))' + - message: spec.forProvider.authorizationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authorizationType) - || has(self.initProvider.authorizationType)' + || (has(self.initProvider) && has(self.initProvider.authorizationType))' status: description: ConnectionStatus defines the observed state of Connection. properties: diff --git a/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml b/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml index 86c549bcaa..19f4fd91ac 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_permissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissions.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -368,42 +368,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -502,14 +466,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: principal is a required parameter + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' - - message: statementId is a required parameter + || (has(self.initProvider) && has(self.initProvider.principal))' + - message: spec.forProvider.statementId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.statementId) - || has(self.initProvider.statementId)' + || (has(self.initProvider) && has(self.initProvider.statementId))' status: description: PermissionStatus defines the observed state of Permission. properties: diff --git a/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml b/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml index 56a1f21c6d..5c5df82565 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_rules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rules.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -354,42 +354,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml b/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml index 7e4548e5e9..c8f6d9f2f6 100644 --- a/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml +++ b/package/crds/cloudwatchevents.aws.upbound.io_targets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: targets.cloudwatchevents.aws.upbound.io spec: group: cloudwatchevents.aws.upbound.io @@ -1131,42 +1131,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1265,10 +1229,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: arn is a required parameter + - message: spec.forProvider.arn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.arn) - || has(self.initProvider.arn)' + || (has(self.initProvider) && has(self.initProvider.arn))' status: description: TargetStatus defines the observed state of Target. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_definitions.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_definitions.yaml index 619f513e7a..9f5cfcb04a 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_definitions.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_definitions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: definitions.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -310,14 +274,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: queryString is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.queryString is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.queryString) - || has(self.initProvider.queryString)' + || (has(self.initProvider) && has(self.initProvider.queryString))' status: description: DefinitionStatus defines the observed state of Definition. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_destinationpolicies.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_destinationpolicies.yaml index 4a7f51ff52..343d35e352 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_destinationpolicies.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_destinationpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: destinationpolicies.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,10 +266,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accessPolicy is a required parameter + - message: spec.forProvider.accessPolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accessPolicy) - || has(self.initProvider.accessPolicy)' + || (has(self.initProvider) && has(self.initProvider.accessPolicy))' status: description: DestinationPolicyStatus defines the observed state of DestinationPolicy. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml index 1e2e640382..8a4535f6c5 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_destinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: destinations.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml index e143092d19..1257334400 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_groups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groups.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml index b2dd82c5f9..acced8b895 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_metricfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: metricfilters.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -315,42 +315,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -449,14 +413,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: metricTransformation is a required parameter + - message: spec.forProvider.metricTransformation is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricTransformation) - || has(self.initProvider.metricTransformation)' - - message: pattern is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricTransformation))' + - message: spec.forProvider.pattern is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.pattern) - || has(self.initProvider.pattern)' + || (has(self.initProvider) && has(self.initProvider.pattern))' status: description: MetricFilterStatus defines the observed state of MetricFilter. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_resourcepolicies.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_resourcepolicies.yaml index 758d6bbff2..441c4f142f 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_resourcepolicies.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_resourcepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcepolicies.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -296,10 +260,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policyDocument is a required parameter + - message: spec.forProvider.policyDocument is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policyDocument) - || has(self.initProvider.policyDocument)' + || (has(self.initProvider) && has(self.initProvider.policyDocument))' status: description: ResourcePolicyStatus defines the observed state of ResourcePolicy. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml index 44561e83ae..f13d407e5e 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_streams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: streams.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StreamStatus defines the observed state of Stream. properties: diff --git a/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml b/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml index b680ef2c85..4127329deb 100644 --- a/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml +++ b/package/crds/cloudwatchlogs.aws.upbound.io_subscriptionfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subscriptionfilters.cloudwatchlogs.aws.upbound.io spec: group: cloudwatchlogs.aws.upbound.io @@ -349,42 +349,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -483,18 +447,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: filterPattern is a required parameter + - message: spec.forProvider.filterPattern is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.filterPattern) - || has(self.initProvider.filterPattern)' - - message: logGroupName is a required parameter + || (has(self.initProvider) && has(self.initProvider.filterPattern))' + - message: spec.forProvider.logGroupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.logGroupName) - || has(self.initProvider.logGroupName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.logGroupName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SubscriptionFilterStatus defines the observed state of SubscriptionFilter. properties: diff --git a/package/crds/codecommit.aws.upbound.io_approvalruletemplateassociations.yaml b/package/crds/codecommit.aws.upbound.io_approvalruletemplateassociations.yaml index f1484abc8a..2601923433 100644 --- a/package/crds/codecommit.aws.upbound.io_approvalruletemplateassociations.yaml +++ b/package/crds/codecommit.aws.upbound.io_approvalruletemplateassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: approvalruletemplateassociations.codecommit.aws.upbound.io spec: group: codecommit.aws.upbound.io @@ -309,42 +309,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/codecommit.aws.upbound.io_approvalruletemplates.yaml b/package/crds/codecommit.aws.upbound.io_approvalruletemplates.yaml index 55cbf57c8f..47c1465aca 100644 --- a/package/crds/codecommit.aws.upbound.io_approvalruletemplates.yaml +++ b/package/crds/codecommit.aws.upbound.io_approvalruletemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: approvalruletemplates.codecommit.aws.upbound.io spec: group: codecommit.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,10 +266,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: content is a required parameter + - message: spec.forProvider.content is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.content) - || has(self.initProvider.content)' + || (has(self.initProvider) && has(self.initProvider.content))' status: description: ApprovalRuleTemplateStatus defines the observed state of ApprovalRuleTemplate. diff --git a/package/crds/codecommit.aws.upbound.io_repositories.yaml b/package/crds/codecommit.aws.upbound.io_repositories.yaml index 409cc54354..c5bd8e4011 100644 --- a/package/crds/codecommit.aws.upbound.io_repositories.yaml +++ b/package/crds/codecommit.aws.upbound.io_repositories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: repositories.codecommit.aws.upbound.io spec: group: codecommit.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/codecommit.aws.upbound.io_triggers.yaml b/package/crds/codecommit.aws.upbound.io_triggers.yaml index c902a10d85..0d1841e11d 100644 --- a/package/crds/codecommit.aws.upbound.io_triggers.yaml +++ b/package/crds/codecommit.aws.upbound.io_triggers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: triggers.codecommit.aws.upbound.io spec: group: codecommit.aws.upbound.io @@ -372,42 +372,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -506,10 +470,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: trigger is a required parameter + - message: spec.forProvider.trigger is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.trigger) - || has(self.initProvider.trigger)' + || (has(self.initProvider) && has(self.initProvider.trigger))' status: description: TriggerStatus defines the observed state of Trigger. properties: diff --git a/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml b/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml index d2c66a99a7..1f5cfe5862 100644 --- a/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml +++ b/package/crds/codepipeline.aws.upbound.io_codepipelines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: codepipelines.codepipeline.aws.upbound.io spec: group: codepipeline.aws.upbound.io @@ -528,42 +528,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -662,14 +626,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: artifactStore is a required parameter + - message: spec.forProvider.artifactStore is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.artifactStore) - || has(self.initProvider.artifactStore)' - - message: stage is a required parameter + || (has(self.initProvider) && has(self.initProvider.artifactStore))' + - message: spec.forProvider.stage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.stage) - || has(self.initProvider.stage)' + || (has(self.initProvider) && has(self.initProvider.stage))' status: description: CodepipelineStatus defines the observed state of Codepipeline. properties: diff --git a/package/crds/codepipeline.aws.upbound.io_customactiontypes.yaml b/package/crds/codepipeline.aws.upbound.io_customactiontypes.yaml index cc5fad578c..4d0ba8bc29 100644 --- a/package/crds/codepipeline.aws.upbound.io_customactiontypes.yaml +++ b/package/crds/codepipeline.aws.upbound.io_customactiontypes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: customactiontypes.codepipeline.aws.upbound.io spec: group: codepipeline.aws.upbound.io @@ -354,42 +354,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -488,26 +452,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: category is a required parameter + - message: spec.forProvider.category is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.category) - || has(self.initProvider.category)' - - message: inputArtifactDetails is a required parameter + || (has(self.initProvider) && has(self.initProvider.category))' + - message: spec.forProvider.inputArtifactDetails is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inputArtifactDetails) - || has(self.initProvider.inputArtifactDetails)' - - message: outputArtifactDetails is a required parameter + || (has(self.initProvider) && has(self.initProvider.inputArtifactDetails))' + - message: spec.forProvider.outputArtifactDetails is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.outputArtifactDetails) - || has(self.initProvider.outputArtifactDetails)' - - message: providerName is a required parameter + || (has(self.initProvider) && has(self.initProvider.outputArtifactDetails))' + - message: spec.forProvider.providerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerName) - || has(self.initProvider.providerName)' - - message: version is a required parameter + || (has(self.initProvider) && has(self.initProvider.providerName))' + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: CustomActionTypeStatus defines the observed state of CustomActionType. properties: diff --git a/package/crds/codepipeline.aws.upbound.io_webhooks.yaml b/package/crds/codepipeline.aws.upbound.io_webhooks.yaml index bf6aa5bcb0..c8eb0e98b0 100644 --- a/package/crds/codepipeline.aws.upbound.io_webhooks.yaml +++ b/package/crds/codepipeline.aws.upbound.io_webhooks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: webhooks.codepipeline.aws.upbound.io spec: group: codepipeline.aws.upbound.io @@ -327,42 +327,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -461,18 +425,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authentication is a required parameter + - message: spec.forProvider.authentication is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authentication) - || has(self.initProvider.authentication)' - - message: filter is a required parameter + || (has(self.initProvider) && has(self.initProvider.authentication))' + - message: spec.forProvider.filter is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.filter) - || has(self.initProvider.filter)' - - message: targetAction is a required parameter + || (has(self.initProvider) && has(self.initProvider.filter))' + - message: spec.forProvider.targetAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetAction) - || has(self.initProvider.targetAction)' + || (has(self.initProvider) && has(self.initProvider.targetAction))' status: description: WebhookStatus defines the observed state of Webhook. properties: diff --git a/package/crds/codestarconnections.aws.upbound.io_connections.yaml b/package/crds/codestarconnections.aws.upbound.io_connections.yaml index 94274f1565..3c99c67da1 100644 --- a/package/crds/codestarconnections.aws.upbound.io_connections.yaml +++ b/package/crds/codestarconnections.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.codestarconnections.aws.upbound.io spec: group: codestarconnections.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -326,10 +290,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ConnectionStatus defines the observed state of Connection. properties: diff --git a/package/crds/codestarconnections.aws.upbound.io_hosts.yaml b/package/crds/codestarconnections.aws.upbound.io_hosts.yaml index 7d81fc387b..7931c09b68 100644 --- a/package/crds/codestarconnections.aws.upbound.io_hosts.yaml +++ b/package/crds/codestarconnections.aws.upbound.io_hosts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hosts.codestarconnections.aws.upbound.io spec: group: codestarconnections.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,18 +335,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: providerEndpoint is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.providerEndpoint is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerEndpoint) - || has(self.initProvider.providerEndpoint)' - - message: providerType is a required parameter + || (has(self.initProvider) && has(self.initProvider.providerEndpoint))' + - message: spec.forProvider.providerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerType) - || has(self.initProvider.providerType)' + || (has(self.initProvider) && has(self.initProvider.providerType))' status: description: HostStatus defines the observed state of Host. properties: diff --git a/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml b/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml index 203c0cd720..4eec1e5ea0 100644 --- a/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml +++ b/package/crds/codestarnotifications.aws.upbound.io_notificationrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: notificationrules.codestarnotifications.aws.upbound.io spec: group: codestarnotifications.aws.upbound.io @@ -379,42 +379,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -513,18 +477,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: detailType is a required parameter + - message: spec.forProvider.detailType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.detailType) - || has(self.initProvider.detailType)' - - message: eventTypeIds is a required parameter + || (has(self.initProvider) && has(self.initProvider.detailType))' + - message: spec.forProvider.eventTypeIds is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventTypeIds) - || has(self.initProvider.eventTypeIds)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.eventTypeIds))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: NotificationRuleStatus defines the observed state of NotificationRule. properties: diff --git a/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml b/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml index 5beff3c5d5..4cddf2164f 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_cognitoidentitypoolproviderprincipaltags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: cognitoidentitypoolproviderprincipaltags.cognitoidentity.aws.upbound.io spec: group: cognitoidentity.aws.upbound.io @@ -328,42 +328,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml b/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml index a09c4bd181..d678d261ed 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_poolrolesattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: poolrolesattachments.cognitoidentity.aws.upbound.io spec: group: cognitoidentity.aws.upbound.io @@ -415,42 +415,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -549,10 +513,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: roles is a required parameter + - message: spec.forProvider.roles is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.roles) - || has(self.initProvider.roles)' + || (has(self.initProvider) && has(self.initProvider.roles))' status: description: PoolRolesAttachmentStatus defines the observed state of PoolRolesAttachment. properties: diff --git a/package/crds/cognitoidentity.aws.upbound.io_pools.yaml b/package/crds/cognitoidentity.aws.upbound.io_pools.yaml index 236df4034d..2bf3f55013 100644 --- a/package/crds/cognitoidentity.aws.upbound.io_pools.yaml +++ b/package/crds/cognitoidentity.aws.upbound.io_pools.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: pools.cognitoidentity.aws.upbound.io spec: group: cognitoidentity.aws.upbound.io @@ -411,42 +411,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -545,10 +509,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: identityPoolName is a required parameter + - message: spec.forProvider.identityPoolName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.identityPoolName) - || has(self.initProvider.identityPoolName)' + || (has(self.initProvider) && has(self.initProvider.identityPoolName))' status: description: PoolStatus defines the observed state of Pool. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml b/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml index c9faf5d9fc..251788fa23 100644 --- a/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_identityproviders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: identityproviders.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -272,42 +272,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -406,18 +370,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: providerDetails is a required parameter + - message: spec.forProvider.providerDetails is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerDetails) - || has(self.initProvider.providerDetails)' - - message: providerName is a required parameter + || (has(self.initProvider) && has(self.initProvider.providerDetails))' + - message: spec.forProvider.providerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerName) - || has(self.initProvider.providerName)' - - message: providerType is a required parameter + || (has(self.initProvider) && has(self.initProvider.providerName))' + - message: spec.forProvider.providerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerType) - || has(self.initProvider.providerType)' + || (has(self.initProvider) && has(self.initProvider.providerType))' status: description: IdentityProviderStatus defines the observed state of IdentityProvider. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml b/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml index c579c8fbaa..fc5cbe2887 100644 --- a/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_resourceservers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourceservers.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -397,14 +361,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: identifier is a required parameter + - message: spec.forProvider.identifier is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.identifier) - || has(self.initProvider.identifier)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.identifier))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ResourceServerStatus defines the observed state of ResourceServer. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml b/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml index e5fe506e40..e6766d3895 100644 --- a/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_riskconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: riskconfigurations.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -606,42 +606,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml b/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml index 606a1fe9cc..4b4ad302e0 100644 --- a/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_usergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usergroups.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -323,42 +323,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -457,10 +421,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: UserGroupStatus defines the observed state of UserGroup. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml b/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml index 8180925ac8..275447d260 100644 --- a/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_useringroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: useringroups.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -384,42 +384,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml b/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml index 9ebd817e8b..e88b097253 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpoolclients.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userpoolclients.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -682,42 +682,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -816,10 +780,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: UserPoolClientStatus defines the observed state of UserPoolClient. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml b/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml index 39bb542a6a..12476ef6d9 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpooldomains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userpooldomains.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -315,42 +315,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -449,10 +413,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domain is a required parameter + - message: spec.forProvider.domain is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domain) - || has(self.initProvider.domain)' + || (has(self.initProvider) && has(self.initProvider.domain))' status: description: UserPoolDomainStatus defines the observed state of UserPoolDomain. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_userpools.yaml b/package/crds/cognitoidp.aws.upbound.io_userpools.yaml index d832ffe3bc..c77f9e27df 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpools.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpools.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userpools.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -1134,42 +1134,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1268,10 +1232,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: UserPoolStatus defines the observed state of UserPool. properties: diff --git a/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml b/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml index 871888e8eb..1669a6d77f 100644 --- a/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_userpooluicustomizations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userpooluicustomizations.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -327,42 +327,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/cognitoidp.aws.upbound.io_users.yaml b/package/crds/cognitoidp.aws.upbound.io_users.yaml index 4334b210af..4687c8394c 100644 --- a/package/crds/cognitoidp.aws.upbound.io_users.yaml +++ b/package/crds/cognitoidp.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.cognitoidp.aws.upbound.io spec: group: cognitoidp.aws.upbound.io @@ -390,42 +390,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/configservice.aws.upbound.io_awsconfigurationrecorderstatuses.yaml b/package/crds/configservice.aws.upbound.io_awsconfigurationrecorderstatuses.yaml index cda735078e..05aace8b54 100644 --- a/package/crds/configservice.aws.upbound.io_awsconfigurationrecorderstatuses.yaml +++ b/package/crds/configservice.aws.upbound.io_awsconfigurationrecorderstatuses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: awsconfigurationrecorderstatuses.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -161,42 +161,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -295,10 +259,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: isEnabled is a required parameter + - message: spec.forProvider.isEnabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.isEnabled) - || has(self.initProvider.isEnabled)' + || (has(self.initProvider) && has(self.initProvider.isEnabled))' status: description: AWSConfigurationRecorderStatusStatus defines the observed state of AWSConfigurationRecorderStatus. diff --git a/package/crds/configservice.aws.upbound.io_configrules.yaml b/package/crds/configservice.aws.upbound.io_configrules.yaml index a3a1f29b87..a73dbc2db0 100644 --- a/package/crds/configservice.aws.upbound.io_configrules.yaml +++ b/package/crds/configservice.aws.upbound.io_configrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configrules.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -463,42 +463,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -597,10 +561,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: source is a required parameter + - message: spec.forProvider.source is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.source) - || has(self.initProvider.source)' + || (has(self.initProvider) && has(self.initProvider.source))' status: description: ConfigRuleStatus defines the observed state of ConfigRule. properties: diff --git a/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml b/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml index bd66a57551..9f09299a52 100644 --- a/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml +++ b/package/crds/configservice.aws.upbound.io_configurationaggregators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationaggregators.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -319,42 +319,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml b/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml index 8ab8b76ea5..8e525a4991 100644 --- a/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml +++ b/package/crds/configservice.aws.upbound.io_configurationrecorders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationrecorders.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -287,42 +287,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/configservice.aws.upbound.io_conformancepacks.yaml b/package/crds/configservice.aws.upbound.io_conformancepacks.yaml index 127a6847f9..f559bf6d3e 100644 --- a/package/crds/configservice.aws.upbound.io_conformancepacks.yaml +++ b/package/crds/configservice.aws.upbound.io_conformancepacks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: conformancepacks.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -222,42 +222,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/configservice.aws.upbound.io_deliverychannels.yaml b/package/crds/configservice.aws.upbound.io_deliverychannels.yaml index eab8337213..5369aecd61 100644 --- a/package/crds/configservice.aws.upbound.io_deliverychannels.yaml +++ b/package/crds/configservice.aws.upbound.io_deliverychannels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deliverychannels.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -277,42 +277,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/configservice.aws.upbound.io_remediationconfigurations.yaml b/package/crds/configservice.aws.upbound.io_remediationconfigurations.yaml index 4cee2c89e7..aedfec531a 100644 --- a/package/crds/configservice.aws.upbound.io_remediationconfigurations.yaml +++ b/package/crds/configservice.aws.upbound.io_remediationconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: remediationconfigurations.configservice.aws.upbound.io spec: group: configservice.aws.upbound.io @@ -293,42 +293,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -427,14 +391,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetId is a required parameter + - message: spec.forProvider.targetId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetId) - || has(self.initProvider.targetId)' - - message: targetType is a required parameter + || (has(self.initProvider) && has(self.initProvider.targetId))' + - message: spec.forProvider.targetType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetType) - || has(self.initProvider.targetType)' + || (has(self.initProvider) && has(self.initProvider.targetType))' status: description: RemediationConfigurationStatus defines the observed state of RemediationConfiguration. diff --git a/package/crds/connect.aws.upbound.io_botassociations.yaml b/package/crds/connect.aws.upbound.io_botassociations.yaml index b3461dc5f8..85dcade374 100644 --- a/package/crds/connect.aws.upbound.io_botassociations.yaml +++ b/package/crds/connect.aws.upbound.io_botassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: botassociations.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -332,42 +332,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -466,10 +430,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: lexBot is a required parameter + - message: spec.forProvider.lexBot is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.lexBot) - || has(self.initProvider.lexBot)' + || (has(self.initProvider) && has(self.initProvider.lexBot))' status: description: BotAssociationStatus defines the observed state of BotAssociation. properties: diff --git a/package/crds/connect.aws.upbound.io_contactflowmodules.yaml b/package/crds/connect.aws.upbound.io_contactflowmodules.yaml index 469c1cb204..b65c56de96 100644 --- a/package/crds/connect.aws.upbound.io_contactflowmodules.yaml +++ b/package/crds/connect.aws.upbound.io_contactflowmodules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: contactflowmodules.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -285,42 +285,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -419,10 +383,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ContactFlowModuleStatus defines the observed state of ContactFlowModule. properties: diff --git a/package/crds/connect.aws.upbound.io_contactflows.yaml b/package/crds/connect.aws.upbound.io_contactflows.yaml index 553d007540..ae84d4bbc9 100644 --- a/package/crds/connect.aws.upbound.io_contactflows.yaml +++ b/package/crds/connect.aws.upbound.io_contactflows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: contactflows.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -297,42 +297,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -431,10 +395,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ContactFlowStatus defines the observed state of ContactFlow. properties: diff --git a/package/crds/connect.aws.upbound.io_hoursofoperations.yaml b/package/crds/connect.aws.upbound.io_hoursofoperations.yaml index b545920876..11461dc74b 100644 --- a/package/crds/connect.aws.upbound.io_hoursofoperations.yaml +++ b/package/crds/connect.aws.upbound.io_hoursofoperations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hoursofoperations.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -335,42 +335,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -469,18 +433,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: config is a required parameter + - message: spec.forProvider.config is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.config) - || has(self.initProvider.config)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.config))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: timeZone is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.timeZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.timeZone) - || has(self.initProvider.timeZone)' + || (has(self.initProvider) && has(self.initProvider.timeZone))' status: description: HoursOfOperationStatus defines the observed state of HoursOfOperation. properties: diff --git a/package/crds/connect.aws.upbound.io_instances.yaml b/package/crds/connect.aws.upbound.io_instances.yaml index 333f1fea47..1599150e76 100644 --- a/package/crds/connect.aws.upbound.io_instances.yaml +++ b/package/crds/connect.aws.upbound.io_instances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instances.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -299,42 +299,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -433,18 +397,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: identityManagementType is a required parameter + - message: spec.forProvider.identityManagementType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.identityManagementType) - || has(self.initProvider.identityManagementType)' - - message: inboundCallsEnabled is a required parameter + || (has(self.initProvider) && has(self.initProvider.identityManagementType))' + - message: spec.forProvider.inboundCallsEnabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inboundCallsEnabled) - || has(self.initProvider.inboundCallsEnabled)' - - message: outboundCallsEnabled is a required parameter + || (has(self.initProvider) && has(self.initProvider.inboundCallsEnabled))' + - message: spec.forProvider.outboundCallsEnabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.outboundCallsEnabled) - || has(self.initProvider.outboundCallsEnabled)' + || (has(self.initProvider) && has(self.initProvider.outboundCallsEnabled))' status: description: InstanceStatus defines the observed state of Instance. properties: diff --git a/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml b/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml index cd66a796d3..c72ba73859 100644 --- a/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml +++ b/package/crds/connect.aws.upbound.io_instancestorageconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instancestorageconfigs.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -824,42 +824,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -958,14 +922,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceType is a required parameter + - message: spec.forProvider.resourceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceType) - || has(self.initProvider.resourceType)' - - message: storageConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.resourceType))' + - message: spec.forProvider.storageConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.storageConfig) - || has(self.initProvider.storageConfig)' + || (has(self.initProvider) && has(self.initProvider.storageConfig))' status: description: InstanceStorageConfigStatus defines the observed state of InstanceStorageConfig. diff --git a/package/crds/connect.aws.upbound.io_lambdafunctionassociations.yaml b/package/crds/connect.aws.upbound.io_lambdafunctionassociations.yaml index 6eb0f63536..f7360626c2 100644 --- a/package/crds/connect.aws.upbound.io_lambdafunctionassociations.yaml +++ b/package/crds/connect.aws.upbound.io_lambdafunctionassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lambdafunctionassociations.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/connect.aws.upbound.io_phonenumbers.yaml b/package/crds/connect.aws.upbound.io_phonenumbers.yaml index f8d17c550b..d7a56f714d 100644 --- a/package/crds/connect.aws.upbound.io_phonenumbers.yaml +++ b/package/crds/connect.aws.upbound.io_phonenumbers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: phonenumbers.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -273,42 +273,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -407,14 +371,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: countryCode is a required parameter + - message: spec.forProvider.countryCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.countryCode) - || has(self.initProvider.countryCode)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.countryCode))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: PhoneNumberStatus defines the observed state of PhoneNumber. properties: diff --git a/package/crds/connect.aws.upbound.io_queues.yaml b/package/crds/connect.aws.upbound.io_queues.yaml index 8735bfe288..2050fdd47b 100644 --- a/package/crds/connect.aws.upbound.io_queues.yaml +++ b/package/crds/connect.aws.upbound.io_queues.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queues.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -395,42 +395,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -529,10 +493,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: QueueStatus defines the observed state of Queue. properties: diff --git a/package/crds/connect.aws.upbound.io_quickconnects.yaml b/package/crds/connect.aws.upbound.io_quickconnects.yaml index 09042ae33c..9d005ee086 100644 --- a/package/crds/connect.aws.upbound.io_quickconnects.yaml +++ b/package/crds/connect.aws.upbound.io_quickconnects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: quickconnects.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -361,42 +361,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -495,14 +459,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: quickConnectConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.quickConnectConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.quickConnectConfig) - || has(self.initProvider.quickConnectConfig)' + || (has(self.initProvider) && has(self.initProvider.quickConnectConfig))' status: description: QuickConnectStatus defines the observed state of QuickConnect. properties: diff --git a/package/crds/connect.aws.upbound.io_routingprofiles.yaml b/package/crds/connect.aws.upbound.io_routingprofiles.yaml index 11fe3a576a..aaec3e5f81 100644 --- a/package/crds/connect.aws.upbound.io_routingprofiles.yaml +++ b/package/crds/connect.aws.upbound.io_routingprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routingprofiles.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -422,42 +422,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -556,18 +520,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: mediaConcurrencies is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.mediaConcurrencies is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.mediaConcurrencies) - || has(self.initProvider.mediaConcurrencies)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.mediaConcurrencies))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RoutingProfileStatus defines the observed state of RoutingProfile. properties: diff --git a/package/crds/connect.aws.upbound.io_securityprofiles.yaml b/package/crds/connect.aws.upbound.io_securityprofiles.yaml index 356db5863c..a2485561f7 100644 --- a/package/crds/connect.aws.upbound.io_securityprofiles.yaml +++ b/package/crds/connect.aws.upbound.io_securityprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: securityprofiles.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -397,10 +361,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SecurityProfileStatus defines the observed state of SecurityProfile. properties: diff --git a/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml b/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml index fea6864ebd..75c40cb79e 100644 --- a/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml +++ b/package/crds/connect.aws.upbound.io_userhierarchystructures.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userhierarchystructures.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -353,42 +353,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -487,10 +451,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: hierarchyStructure is a required parameter + - message: spec.forProvider.hierarchyStructure is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hierarchyStructure) - || has(self.initProvider.hierarchyStructure)' + || (has(self.initProvider) && has(self.initProvider.hierarchyStructure))' status: description: UserHierarchyStructureStatus defines the observed state of UserHierarchyStructure. diff --git a/package/crds/connect.aws.upbound.io_users.yaml b/package/crds/connect.aws.upbound.io_users.yaml index 93f7b726e7..eeefe41b9c 100644 --- a/package/crds/connect.aws.upbound.io_users.yaml +++ b/package/crds/connect.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -506,42 +506,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -640,18 +604,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: phoneConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.phoneConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.phoneConfig) - || has(self.initProvider.phoneConfig)' - - message: securityProfileIds is a required parameter + || (has(self.initProvider) && has(self.initProvider.phoneConfig))' + - message: spec.forProvider.securityProfileIds is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.securityProfileIds) - || has(self.initProvider.securityProfileIds)' + || (has(self.initProvider) && has(self.initProvider.securityProfileIds))' status: description: UserStatus defines the observed state of User. properties: diff --git a/package/crds/connect.aws.upbound.io_vocabularies.yaml b/package/crds/connect.aws.upbound.io_vocabularies.yaml index 8d15bf3417..292e136ea2 100644 --- a/package/crds/connect.aws.upbound.io_vocabularies.yaml +++ b/package/crds/connect.aws.upbound.io_vocabularies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vocabularies.connect.aws.upbound.io spec: group: connect.aws.upbound.io @@ -279,42 +279,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -413,18 +377,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: content is a required parameter + - message: spec.forProvider.content is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.content) - || has(self.initProvider.content)' - - message: languageCode is a required parameter + || (has(self.initProvider) && has(self.initProvider.content))' + - message: spec.forProvider.languageCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.languageCode) - || has(self.initProvider.languageCode)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.languageCode))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: VocabularyStatus defines the observed state of Vocabulary. properties: diff --git a/package/crds/cur.aws.upbound.io_reportdefinitions.yaml b/package/crds/cur.aws.upbound.io_reportdefinitions.yaml index 2e15594893..ac8964461d 100644 --- a/package/crds/cur.aws.upbound.io_reportdefinitions.yaml +++ b/package/crds/cur.aws.upbound.io_reportdefinitions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: reportdefinitions.cur.aws.upbound.io spec: group: cur.aws.upbound.io @@ -313,42 +313,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -447,26 +411,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: additionalSchemaElements is a required parameter + - message: spec.forProvider.additionalSchemaElements is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.additionalSchemaElements) - || has(self.initProvider.additionalSchemaElements)' - - message: compression is a required parameter + || (has(self.initProvider) && has(self.initProvider.additionalSchemaElements))' + - message: spec.forProvider.compression is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.compression) - || has(self.initProvider.compression)' - - message: format is a required parameter + || (has(self.initProvider) && has(self.initProvider.compression))' + - message: spec.forProvider.format is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.format) - || has(self.initProvider.format)' - - message: s3Region is a required parameter + || (has(self.initProvider) && has(self.initProvider.format))' + - message: spec.forProvider.s3Region is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.s3Region) - || has(self.initProvider.s3Region)' - - message: timeUnit is a required parameter + || (has(self.initProvider) && has(self.initProvider.s3Region))' + - message: spec.forProvider.timeUnit is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.timeUnit) - || has(self.initProvider.timeUnit)' + || (has(self.initProvider) && has(self.initProvider.timeUnit))' status: description: ReportDefinitionStatus defines the observed state of ReportDefinition. properties: diff --git a/package/crds/dataexchange.aws.upbound.io_datasets.yaml b/package/crds/dataexchange.aws.upbound.io_datasets.yaml index 135a1a17f8..2de1afcebe 100644 --- a/package/crds/dataexchange.aws.upbound.io_datasets.yaml +++ b/package/crds/dataexchange.aws.upbound.io_datasets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datasets.dataexchange.aws.upbound.io spec: group: dataexchange.aws.upbound.io @@ -182,42 +182,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -316,18 +280,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: assetType is a required parameter + - message: spec.forProvider.assetType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.assetType) - || has(self.initProvider.assetType)' - - message: description is a required parameter + || (has(self.initProvider) && has(self.initProvider.assetType))' + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: DataSetStatus defines the observed state of DataSet. properties: diff --git a/package/crds/dataexchange.aws.upbound.io_revisions.yaml b/package/crds/dataexchange.aws.upbound.io_revisions.yaml index 71cac60cb7..dd00164fed 100644 --- a/package/crds/dataexchange.aws.upbound.io_revisions.yaml +++ b/package/crds/dataexchange.aws.upbound.io_revisions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: revisions.dataexchange.aws.upbound.io spec: group: dataexchange.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/datapipeline.aws.upbound.io_pipelines.yaml b/package/crds/datapipeline.aws.upbound.io_pipelines.yaml index 8fa300abd3..4253f53d96 100644 --- a/package/crds/datapipeline.aws.upbound.io_pipelines.yaml +++ b/package/crds/datapipeline.aws.upbound.io_pipelines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: pipelines.datapipeline.aws.upbound.io spec: group: datapipeline.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,10 +272,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PipelineStatus defines the observed state of Pipeline. properties: diff --git a/package/crds/datasync.aws.upbound.io_locations3s.yaml b/package/crds/datasync.aws.upbound.io_locations3s.yaml index 419fd320bb..9c3beb4f31 100644 --- a/package/crds/datasync.aws.upbound.io_locations3s.yaml +++ b/package/crds/datasync.aws.upbound.io_locations3s.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: locations3s.datasync.aws.upbound.io spec: group: datasync.aws.upbound.io @@ -359,42 +359,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -493,14 +457,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: s3Config is a required parameter + - message: spec.forProvider.s3Config is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.s3Config) - || has(self.initProvider.s3Config)' - - message: subdirectory is a required parameter + || (has(self.initProvider) && has(self.initProvider.s3Config))' + - message: spec.forProvider.subdirectory is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.subdirectory) - || has(self.initProvider.subdirectory)' + || (has(self.initProvider) && has(self.initProvider.subdirectory))' status: description: LocationS3Status defines the observed state of LocationS3. properties: diff --git a/package/crds/datasync.aws.upbound.io_tasks.yaml b/package/crds/datasync.aws.upbound.io_tasks.yaml index b9c5398dd1..e81ee1174b 100644 --- a/package/crds/datasync.aws.upbound.io_tasks.yaml +++ b/package/crds/datasync.aws.upbound.io_tasks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tasks.datasync.aws.upbound.io spec: group: datasync.aws.upbound.io @@ -682,42 +682,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dax.aws.upbound.io_clusters.yaml b/package/crds/dax.aws.upbound.io_clusters.yaml index 56582f11f0..9fb41373ae 100644 --- a/package/crds/dax.aws.upbound.io_clusters.yaml +++ b/package/crds/dax.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.dax.aws.upbound.io spec: group: dax.aws.upbound.io @@ -413,42 +413,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -547,14 +511,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: nodeType is a required parameter + - message: spec.forProvider.nodeType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.nodeType) - || has(self.initProvider.nodeType)' - - message: replicationFactor is a required parameter + || (has(self.initProvider) && has(self.initProvider.nodeType))' + - message: spec.forProvider.replicationFactor is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.replicationFactor) - || has(self.initProvider.replicationFactor)' + || (has(self.initProvider) && has(self.initProvider.replicationFactor))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/dax.aws.upbound.io_parametergroups.yaml b/package/crds/dax.aws.upbound.io_parametergroups.yaml index c372609d5f..708d31bf7e 100644 --- a/package/crds/dax.aws.upbound.io_parametergroups.yaml +++ b/package/crds/dax.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.dax.aws.upbound.io spec: group: dax.aws.upbound.io @@ -182,42 +182,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dax.aws.upbound.io_subnetgroups.yaml b/package/crds/dax.aws.upbound.io_subnetgroups.yaml index b00e755f4b..954c06e30c 100644 --- a/package/crds/dax.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/dax.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.dax.aws.upbound.io spec: group: dax.aws.upbound.io @@ -240,42 +240,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/deploy.aws.upbound.io_apps.yaml b/package/crds/deploy.aws.upbound.io_apps.yaml index c66b59a894..6181f94d60 100644 --- a/package/crds/deploy.aws.upbound.io_apps.yaml +++ b/package/crds/deploy.aws.upbound.io_apps.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apps.deploy.aws.upbound.io spec: group: deploy.aws.upbound.io @@ -169,42 +169,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/deploy.aws.upbound.io_deploymentconfigs.yaml b/package/crds/deploy.aws.upbound.io_deploymentconfigs.yaml index e432055519..8b928042bd 100644 --- a/package/crds/deploy.aws.upbound.io_deploymentconfigs.yaml +++ b/package/crds/deploy.aws.upbound.io_deploymentconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deploymentconfigs.deploy.aws.upbound.io spec: group: deploy.aws.upbound.io @@ -282,42 +282,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml b/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml index 29c13321a9..8d7a3327ab 100644 --- a/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml +++ b/package/crds/deploy.aws.upbound.io_deploymentgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deploymentgroups.deploy.aws.upbound.io spec: group: deploy.aws.upbound.io @@ -1304,42 +1304,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/detective.aws.upbound.io_graphs.yaml b/package/crds/detective.aws.upbound.io_graphs.yaml index 4f8c1a12ad..a56d9423a0 100644 --- a/package/crds/detective.aws.upbound.io_graphs.yaml +++ b/package/crds/detective.aws.upbound.io_graphs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: graphs.detective.aws.upbound.io spec: group: detective.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/detective.aws.upbound.io_invitationaccepters.yaml b/package/crds/detective.aws.upbound.io_invitationaccepters.yaml index c23e93458c..204da7b725 100644 --- a/package/crds/detective.aws.upbound.io_invitationaccepters.yaml +++ b/package/crds/detective.aws.upbound.io_invitationaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: invitationaccepters.detective.aws.upbound.io spec: group: detective.aws.upbound.io @@ -229,42 +229,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/detective.aws.upbound.io_members.yaml b/package/crds/detective.aws.upbound.io_members.yaml index aa028242bb..374dfb3005 100644 --- a/package/crds/detective.aws.upbound.io_members.yaml +++ b/package/crds/detective.aws.upbound.io_members.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: members.detective.aws.upbound.io spec: group: detective.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -397,14 +361,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountId is a required parameter + - message: spec.forProvider.accountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountId) - || has(self.initProvider.accountId)' - - message: emailAddress is a required parameter + || (has(self.initProvider) && has(self.initProvider.accountId))' + - message: spec.forProvider.emailAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.emailAddress) - || has(self.initProvider.emailAddress)' + || (has(self.initProvider) && has(self.initProvider.emailAddress))' status: description: MemberStatus defines the observed state of Member. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_devicepools.yaml b/package/crds/devicefarm.aws.upbound.io_devicepools.yaml index 837314f8ef..cd39cc17a5 100644 --- a/package/crds/devicefarm.aws.upbound.io_devicepools.yaml +++ b/package/crds/devicefarm.aws.upbound.io_devicepools.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: devicepools.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -304,42 +304,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -438,14 +402,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: rule is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: DevicePoolStatus defines the observed state of DevicePool. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_instanceprofiles.yaml b/package/crds/devicefarm.aws.upbound.io_instanceprofiles.yaml index 7798832ba1..3c6d081872 100644 --- a/package/crds/devicefarm.aws.upbound.io_instanceprofiles.yaml +++ b/package/crds/devicefarm.aws.upbound.io_instanceprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instanceprofiles.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -204,42 +204,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -338,10 +302,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: InstanceProfileStatus defines the observed state of InstanceProfile. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml b/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml index b52c9b5b91..22679ae6ad 100644 --- a/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml +++ b/package/crds/devicefarm.aws.upbound.io_networkprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkprofiles.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -324,42 +324,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -458,10 +422,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: NetworkProfileStatus defines the observed state of NetworkProfile. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_projects.yaml b/package/crds/devicefarm.aws.upbound.io_projects.yaml index c0eec6fe0b..d0f5b32048 100644 --- a/package/crds/devicefarm.aws.upbound.io_projects.yaml +++ b/package/crds/devicefarm.aws.upbound.io_projects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: projects.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,10 +276,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ProjectStatus defines the observed state of Project. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml b/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml index daa9639700..c5ae5c1f16 100644 --- a/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml +++ b/package/crds/devicefarm.aws.upbound.io_testgridprojects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: testgridprojects.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -440,42 +440,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -574,10 +538,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: TestGridProjectStatus defines the observed state of TestGridProject. properties: diff --git a/package/crds/devicefarm.aws.upbound.io_uploads.yaml b/package/crds/devicefarm.aws.upbound.io_uploads.yaml index dafa0b3518..728811254a 100644 --- a/package/crds/devicefarm.aws.upbound.io_uploads.yaml +++ b/package/crds/devicefarm.aws.upbound.io_uploads.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: uploads.devicefarm.aws.upbound.io spec: group: devicefarm.aws.upbound.io @@ -258,42 +258,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -392,14 +356,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: UploadStatus defines the observed state of Upload. properties: diff --git a/package/crds/directconnect.aws.upbound.io_bgppeers.yaml b/package/crds/directconnect.aws.upbound.io_bgppeers.yaml index 751b09ba0f..78f262fdd1 100644 --- a/package/crds/directconnect.aws.upbound.io_bgppeers.yaml +++ b/package/crds/directconnect.aws.upbound.io_bgppeers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bgppeers.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -269,42 +269,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -403,14 +367,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' status: description: BGPPeerStatus defines the observed state of BGPPeer. properties: diff --git a/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml b/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml index fe841302cb..aa21302074 100644 --- a/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml +++ b/package/crds/directconnect.aws.upbound.io_connectionassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connectionassociations.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_connections.yaml b/package/crds/directconnect.aws.upbound.io_connections.yaml index 426ff7d4dd..0edfea0d16 100644 --- a/package/crds/directconnect.aws.upbound.io_connections.yaml +++ b/package/crds/directconnect.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -226,42 +226,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -360,18 +324,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bandwidth is a required parameter + - message: spec.forProvider.bandwidth is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bandwidth) - || has(self.initProvider.bandwidth)' - - message: location is a required parameter + || (has(self.initProvider) && has(self.initProvider.bandwidth))' + - message: spec.forProvider.location is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.location) - || has(self.initProvider.location)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.location))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ConnectionStatus defines the observed state of Connection. properties: diff --git a/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml b/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml index 0413287fdb..965ab1447b 100644 --- a/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml +++ b/package/crds/directconnect.aws.upbound.io_gatewayassociationproposals.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gatewayassociationproposals.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -401,42 +401,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml b/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml index 23ea9cfc31..397c0b7652 100644 --- a/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml +++ b/package/crds/directconnect.aws.upbound.io_gatewayassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gatewayassociations.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -348,42 +348,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_gateways.yaml b/package/crds/directconnect.aws.upbound.io_gateways.yaml index 39444a63ef..6e036f91ac 100644 --- a/package/crds/directconnect.aws.upbound.io_gateways.yaml +++ b/package/crds/directconnect.aws.upbound.io_gateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gateways.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,14 +266,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: amazonSideAsn is a required parameter + - message: spec.forProvider.amazonSideAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.amazonSideAsn) - || has(self.initProvider.amazonSideAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.amazonSideAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: GatewayStatus defines the observed state of Gateway. properties: diff --git a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml index 457eb513cf..66b5ec6ee5 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaceaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedprivatevirtualinterfaceaccepters.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -328,42 +328,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml index a0f66e376e..c0ee0e01cb 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedprivatevirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedprivatevirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -430,26 +394,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: ownerAccountId is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.ownerAccountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ownerAccountId) - || has(self.initProvider.ownerAccountId)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.ownerAccountId))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: HostedPrivateVirtualInterfaceStatus defines the observed state of HostedPrivateVirtualInterface. diff --git a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml index 229d02cadf..a421a67595 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaceaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedpublicvirtualinterfaceaccepters.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml index d92ec656aa..2921e0fbda 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedpublicvirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedpublicvirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -430,30 +394,30 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: ownerAccountId is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.ownerAccountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ownerAccountId) - || has(self.initProvider.ownerAccountId)' - - message: routeFilterPrefixes is a required parameter + || (has(self.initProvider) && has(self.initProvider.ownerAccountId))' + - message: spec.forProvider.routeFilterPrefixes is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) - || has(self.initProvider.routeFilterPrefixes)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.routeFilterPrefixes))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: HostedPublicVirtualInterfaceStatus defines the observed state of HostedPublicVirtualInterface. diff --git a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml index 33e96c85bd..9c0579520b 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaceaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedtransitvirtualinterfaceaccepters.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -322,42 +322,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml index 458fe694c4..272e80e72c 100644 --- a/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_hostedtransitvirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedtransitvirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -430,26 +394,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: ownerAccountId is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.ownerAccountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ownerAccountId) - || has(self.initProvider.ownerAccountId)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.ownerAccountId))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: HostedTransitVirtualInterfaceStatus defines the observed state of HostedTransitVirtualInterface. diff --git a/package/crds/directconnect.aws.upbound.io_lags.yaml b/package/crds/directconnect.aws.upbound.io_lags.yaml index 9d9430572d..790fd3622c 100644 --- a/package/crds/directconnect.aws.upbound.io_lags.yaml +++ b/package/crds/directconnect.aws.upbound.io_lags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lags.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -216,42 +216,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -350,18 +314,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: connectionsBandwidth is a required parameter + - message: spec.forProvider.connectionsBandwidth is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.connectionsBandwidth) - || has(self.initProvider.connectionsBandwidth)' - - message: location is a required parameter + || (has(self.initProvider) && has(self.initProvider.connectionsBandwidth))' + - message: spec.forProvider.location is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.location) - || has(self.initProvider.location)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.location))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: LagStatus defines the observed state of Lag. properties: diff --git a/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml index 280a7e25b0..a345a8c4a6 100644 --- a/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_privatevirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: privatevirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -391,42 +391,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -525,22 +489,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: PrivateVirtualInterfaceStatus defines the observed state of PrivateVirtualInterface. diff --git a/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml index ca6550f239..40d43d2fa1 100644 --- a/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_publicvirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: publicvirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -299,42 +299,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -433,26 +397,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: routeFilterPrefixes is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.routeFilterPrefixes is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.routeFilterPrefixes) - || has(self.initProvider.routeFilterPrefixes)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.routeFilterPrefixes))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: PublicVirtualInterfaceStatus defines the observed state of PublicVirtualInterface. diff --git a/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml b/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml index 090b1a3c76..7577019e71 100644 --- a/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml +++ b/package/crds/directconnect.aws.upbound.io_transitvirtualinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitvirtualinterfaces.directconnect.aws.upbound.io spec: group: directconnect.aws.upbound.io @@ -387,42 +387,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -521,22 +485,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: bgpAsn is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: vlan is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.vlan is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vlan) - || has(self.initProvider.vlan)' + || (has(self.initProvider) && has(self.initProvider.vlan))' status: description: TransitVirtualInterfaceStatus defines the observed state of TransitVirtualInterface. diff --git a/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml b/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml index bfa33a7e07..aedcefc6dd 100644 --- a/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml +++ b/package/crds/dlm.aws.upbound.io_lifecyclepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lifecyclepolicies.dlm.aws.upbound.io spec: group: dlm.aws.upbound.io @@ -1175,42 +1175,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1309,14 +1273,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: policyDetails is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.policyDetails is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policyDetails) - || has(self.initProvider.policyDetails)' + || (has(self.initProvider) && has(self.initProvider.policyDetails))' status: description: LifecyclePolicyStatus defines the observed state of LifecyclePolicy. properties: diff --git a/package/crds/dms.aws.upbound.io_certificates.yaml b/package/crds/dms.aws.upbound.io_certificates.yaml index 0fa80058bd..cad5709edb 100644 --- a/package/crds/dms.aws.upbound.io_certificates.yaml +++ b/package/crds/dms.aws.upbound.io_certificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificates.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -200,42 +200,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dms.aws.upbound.io_endpoints.yaml b/package/crds/dms.aws.upbound.io_endpoints.yaml index afac5a8ea0..cc80b75e88 100644 --- a/package/crds/dms.aws.upbound.io_endpoints.yaml +++ b/package/crds/dms.aws.upbound.io_endpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: endpoints.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -1438,42 +1438,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1572,14 +1536,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: endpointType is a required parameter + - message: spec.forProvider.endpointType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.endpointType) - || has(self.initProvider.endpointType)' - - message: engineName is a required parameter + || (has(self.initProvider) && has(self.initProvider.endpointType))' + - message: spec.forProvider.engineName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineName) - || has(self.initProvider.engineName)' + || (has(self.initProvider) && has(self.initProvider.engineName))' status: description: EndpointStatus defines the observed state of Endpoint. properties: diff --git a/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml b/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml index a3a6190390..99ccd0bc45 100644 --- a/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/dms.aws.upbound.io_eventsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsubscriptions.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -274,42 +274,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -408,10 +372,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: eventCategories is a required parameter + - message: spec.forProvider.eventCategories is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventCategories) - || has(self.initProvider.eventCategories)' + || (has(self.initProvider) && has(self.initProvider.eventCategories))' status: description: EventSubscriptionStatus defines the observed state of EventSubscription. properties: diff --git a/package/crds/dms.aws.upbound.io_replicationinstances.yaml b/package/crds/dms.aws.upbound.io_replicationinstances.yaml index 564fe919b7..62207ccb74 100644 --- a/package/crds/dms.aws.upbound.io_replicationinstances.yaml +++ b/package/crds/dms.aws.upbound.io_replicationinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationinstances.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -496,42 +496,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -630,10 +594,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: replicationInstanceClass is a required parameter + - message: spec.forProvider.replicationInstanceClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.replicationInstanceClass) - || has(self.initProvider.replicationInstanceClass)' + || (has(self.initProvider) && has(self.initProvider.replicationInstanceClass))' status: description: ReplicationInstanceStatus defines the observed state of ReplicationInstance. properties: diff --git a/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml b/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml index 0af288067b..fab0baecaf 100644 --- a/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml +++ b/package/crds/dms.aws.upbound.io_replicationsubnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationsubnetgroups.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -251,42 +251,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -385,10 +349,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: replicationSubnetGroupDescription is a required parameter + - message: spec.forProvider.replicationSubnetGroupDescription is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.replicationSubnetGroupDescription) - || has(self.initProvider.replicationSubnetGroupDescription)' + || (has(self.initProvider) && has(self.initProvider.replicationSubnetGroupDescription))' status: description: ReplicationSubnetGroupStatus defines the observed state of ReplicationSubnetGroup. diff --git a/package/crds/dms.aws.upbound.io_replicationtasks.yaml b/package/crds/dms.aws.upbound.io_replicationtasks.yaml index dbaccae9f2..884f81811e 100644 --- a/package/crds/dms.aws.upbound.io_replicationtasks.yaml +++ b/package/crds/dms.aws.upbound.io_replicationtasks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationtasks.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -451,42 +451,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -585,14 +549,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: migrationType is a required parameter + - message: spec.forProvider.migrationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.migrationType) - || has(self.initProvider.migrationType)' - - message: tableMappings is a required parameter + || (has(self.initProvider) && has(self.initProvider.migrationType))' + - message: spec.forProvider.tableMappings is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.tableMappings) - || has(self.initProvider.tableMappings)' + || (has(self.initProvider) && has(self.initProvider.tableMappings))' status: description: ReplicationTaskStatus defines the observed state of ReplicationTask. properties: diff --git a/package/crds/dms.aws.upbound.io_s3endpoints.yaml b/package/crds/dms.aws.upbound.io_s3endpoints.yaml index 888c01cce3..a1420f9962 100644 --- a/package/crds/dms.aws.upbound.io_s3endpoints.yaml +++ b/package/crds/dms.aws.upbound.io_s3endpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: s3endpoints.dms.aws.upbound.io spec: group: dms.aws.upbound.io @@ -783,42 +783,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -917,14 +881,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bucketName is a required parameter + - message: spec.forProvider.bucketName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bucketName) - || has(self.initProvider.bucketName)' - - message: endpointType is a required parameter + || (has(self.initProvider) && has(self.initProvider.bucketName))' + - message: spec.forProvider.endpointType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.endpointType) - || has(self.initProvider.endpointType)' + || (has(self.initProvider) && has(self.initProvider.endpointType))' status: description: S3EndpointStatus defines the observed state of S3Endpoint. properties: diff --git a/package/crds/docdb.aws.upbound.io_clusterinstances.yaml b/package/crds/docdb.aws.upbound.io_clusterinstances.yaml index 9cb5211ea5..267b36cd0c 100644 --- a/package/crds/docdb.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/docdb.aws.upbound.io_clusterinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterinstances.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -333,42 +333,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -467,10 +431,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceClass is a required parameter + - message: spec.forProvider.instanceClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceClass) - || has(self.initProvider.instanceClass)' + || (has(self.initProvider) && has(self.initProvider.instanceClass))' status: description: ClusterInstanceStatus defines the observed state of ClusterInstance. properties: diff --git a/package/crds/docdb.aws.upbound.io_clusterparametergroups.yaml b/package/crds/docdb.aws.upbound.io_clusterparametergroups.yaml index 60bdc7127c..1ee40dc74e 100644 --- a/package/crds/docdb.aws.upbound.io_clusterparametergroups.yaml +++ b/package/crds/docdb.aws.upbound.io_clusterparametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterparametergroups.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -348,10 +312,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup. diff --git a/package/crds/docdb.aws.upbound.io_clusters.yaml b/package/crds/docdb.aws.upbound.io_clusters.yaml index 85fe6811c7..781213709d 100644 --- a/package/crds/docdb.aws.upbound.io_clusters.yaml +++ b/package/crds/docdb.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -501,42 +501,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml b/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml index 50ed980fd6..787c9548cc 100644 --- a/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/docdb.aws.upbound.io_clustersnapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clustersnapshots.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml b/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml index 78afb61736..2140b79ab3 100644 --- a/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/docdb.aws.upbound.io_eventsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsubscriptions.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -289,42 +289,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/docdb.aws.upbound.io_globalclusters.yaml b/package/crds/docdb.aws.upbound.io_globalclusters.yaml index debce323d2..60f77dfbdf 100644 --- a/package/crds/docdb.aws.upbound.io_globalclusters.yaml +++ b/package/crds/docdb.aws.upbound.io_globalclusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globalclusters.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -283,42 +283,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -417,10 +381,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: globalClusterIdentifier is a required parameter + - message: spec.forProvider.globalClusterIdentifier is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.globalClusterIdentifier) - || has(self.initProvider.globalClusterIdentifier)' + || (has(self.initProvider) && has(self.initProvider.globalClusterIdentifier))' status: description: GlobalClusterStatus defines the observed state of GlobalCluster. properties: diff --git a/package/crds/docdb.aws.upbound.io_subnetgroups.yaml b/package/crds/docdb.aws.upbound.io_subnetgroups.yaml index 766a649d2e..5fdc501afc 100644 --- a/package/crds/docdb.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/docdb.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.docdb.aws.upbound.io spec: group: docdb.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ds.aws.upbound.io_conditionalforwarders.yaml b/package/crds/ds.aws.upbound.io_conditionalforwarders.yaml index 2052ed2d15..a49b28e732 100644 --- a/package/crds/ds.aws.upbound.io_conditionalforwarders.yaml +++ b/package/crds/ds.aws.upbound.io_conditionalforwarders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: conditionalforwarders.ds.aws.upbound.io spec: group: ds.aws.upbound.io @@ -244,42 +244,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -378,10 +342,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dnsIps is a required parameter + - message: spec.forProvider.dnsIps is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dnsIps) - || has(self.initProvider.dnsIps)' + || (has(self.initProvider) && has(self.initProvider.dnsIps))' status: description: ConditionalForwarderStatus defines the observed state of ConditionalForwarder. diff --git a/package/crds/ds.aws.upbound.io_directories.yaml b/package/crds/ds.aws.upbound.io_directories.yaml index 938f786816..8f16332618 100644 --- a/package/crds/ds.aws.upbound.io_directories.yaml +++ b/package/crds/ds.aws.upbound.io_directories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: directories.ds.aws.upbound.io spec: group: ds.aws.upbound.io @@ -633,42 +633,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -767,11 +731,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: passwordSecretRef is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.passwordSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.passwordSecretRef)' status: diff --git a/package/crds/ds.aws.upbound.io_shareddirectories.yaml b/package/crds/ds.aws.upbound.io_shareddirectories.yaml index b9c6f2656d..911c65054d 100644 --- a/package/crds/ds.aws.upbound.io_shareddirectories.yaml +++ b/package/crds/ds.aws.upbound.io_shareddirectories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: shareddirectories.ds.aws.upbound.io spec: group: ds.aws.upbound.io @@ -285,42 +285,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -419,10 +383,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: target is a required parameter + - message: spec.forProvider.target is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.target) - || has(self.initProvider.target)' + || (has(self.initProvider) && has(self.initProvider.target))' status: description: SharedDirectoryStatus defines the observed state of SharedDirectory. properties: diff --git a/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml b/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml index 773763ea77..4d5b9f526d 100644 --- a/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml +++ b/package/crds/dynamodb.aws.upbound.io_contributorinsights.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: contributorinsights.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -234,42 +234,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dynamodb.aws.upbound.io_globaltables.yaml b/package/crds/dynamodb.aws.upbound.io_globaltables.yaml index db46218a3b..1daddbc810 100644 --- a/package/crds/dynamodb.aws.upbound.io_globaltables.yaml +++ b/package/crds/dynamodb.aws.upbound.io_globaltables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globaltables.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,10 +272,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: replica is a required parameter + - message: spec.forProvider.replica is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.replica) - || has(self.initProvider.replica)' + || (has(self.initProvider) && has(self.initProvider.replica))' status: description: GlobalTableStatus defines the observed state of GlobalTable. properties: diff --git a/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml b/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml index 1523140852..c3fd290962 100644 --- a/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml +++ b/package/crds/dynamodb.aws.upbound.io_kinesisstreamingdestinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: kinesisstreamingdestinations.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dynamodb.aws.upbound.io_tableitems.yaml b/package/crds/dynamodb.aws.upbound.io_tableitems.yaml index 9114d71137..e8006abde9 100644 --- a/package/crds/dynamodb.aws.upbound.io_tableitems.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tableitems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tableitems.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -256,42 +256,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -390,14 +354,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: hashKey is a required parameter + - message: spec.forProvider.hashKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hashKey) - || has(self.initProvider.hashKey)' - - message: item is a required parameter + || (has(self.initProvider) && has(self.initProvider.hashKey))' + - message: spec.forProvider.item is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.item) - || has(self.initProvider.item)' + || (has(self.initProvider) && has(self.initProvider.item))' status: description: TableItemStatus defines the observed state of TableItem. properties: diff --git a/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml b/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml index b3d0c33b8f..49cf845e0d 100644 --- a/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tablereplicas.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tablereplicas.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -337,42 +337,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dynamodb.aws.upbound.io_tables.yaml b/package/crds/dynamodb.aws.upbound.io_tables.yaml index 6c98549892..8f726fab78 100644 --- a/package/crds/dynamodb.aws.upbound.io_tables.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tables.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -590,42 +590,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/dynamodb.aws.upbound.io_tags.yaml b/package/crds/dynamodb.aws.upbound.io_tags.yaml index 4d0ebb2133..ca07e4d675 100644 --- a/package/crds/dynamodb.aws.upbound.io_tags.yaml +++ b/package/crds/dynamodb.aws.upbound.io_tags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tags.dynamodb.aws.upbound.io spec: group: dynamodb.aws.upbound.io @@ -167,42 +167,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -301,10 +265,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: value is a required parameter + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: TagStatus defines the observed state of Tag. properties: diff --git a/package/crds/ec2.aws.upbound.io_amicopies.yaml b/package/crds/ec2.aws.upbound.io_amicopies.yaml index 993263e518..df9ba40c1c 100644 --- a/package/crds/ec2.aws.upbound.io_amicopies.yaml +++ b/package/crds/ec2.aws.upbound.io_amicopies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: amicopies.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -377,42 +377,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -511,14 +475,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: sourceAmiRegion is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.sourceAmiRegion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceAmiRegion) - || has(self.initProvider.sourceAmiRegion)' + || (has(self.initProvider) && has(self.initProvider.sourceAmiRegion))' status: description: AMICopyStatus defines the observed state of AMICopy. properties: diff --git a/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml b/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml index 181c6bccdb..605a1e7464 100644 --- a/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml +++ b/package/crds/ec2.aws.upbound.io_amilaunchpermissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: amilaunchpermissions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_amis.yaml b/package/crds/ec2.aws.upbound.io_amis.yaml index b2ea462f37..1146b5abe9 100644 --- a/package/crds/ec2.aws.upbound.io_amis.yaml +++ b/package/crds/ec2.aws.upbound.io_amis.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: amis.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -486,42 +486,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -620,10 +584,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AMIStatus defines the observed state of AMI. properties: diff --git a/package/crds/ec2.aws.upbound.io_availabilityzonegroups.yaml b/package/crds/ec2.aws.upbound.io_availabilityzonegroups.yaml index 8c4f5618c2..c5a12cc451 100644 --- a/package/crds/ec2.aws.upbound.io_availabilityzonegroups.yaml +++ b/package/crds/ec2.aws.upbound.io_availabilityzonegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: availabilityzonegroups.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -160,42 +160,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -294,10 +258,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: optInStatus is a required parameter + - message: spec.forProvider.optInStatus is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.optInStatus) - || has(self.initProvider.optInStatus)' + || (has(self.initProvider) && has(self.initProvider.optInStatus))' status: description: AvailabilityZoneGroupStatus defines the observed state of AvailabilityZoneGroup. diff --git a/package/crds/ec2.aws.upbound.io_capacityreservations.yaml b/package/crds/ec2.aws.upbound.io_capacityreservations.yaml index 59c91fd5a3..2a2bc7e779 100644 --- a/package/crds/ec2.aws.upbound.io_capacityreservations.yaml +++ b/package/crds/ec2.aws.upbound.io_capacityreservations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: capacityreservations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -265,42 +265,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -399,22 +363,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' - - message: instanceCount is a required parameter + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' + - message: spec.forProvider.instanceCount is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceCount) - || has(self.initProvider.instanceCount)' - - message: instancePlatform is a required parameter + || (has(self.initProvider) && has(self.initProvider.instanceCount))' + - message: spec.forProvider.instancePlatform is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instancePlatform) - || has(self.initProvider.instancePlatform)' - - message: instanceType is a required parameter + || (has(self.initProvider) && has(self.initProvider.instancePlatform))' + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' + || (has(self.initProvider) && has(self.initProvider.instanceType))' status: description: CapacityReservationStatus defines the observed state of CapacityReservation. properties: diff --git a/package/crds/ec2.aws.upbound.io_carriergateways.yaml b/package/crds/ec2.aws.upbound.io_carriergateways.yaml index bdec29d2df..8c35e29add 100644 --- a/package/crds/ec2.aws.upbound.io_carriergateways.yaml +++ b/package/crds/ec2.aws.upbound.io_carriergateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: carriergateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_customergateways.yaml b/package/crds/ec2.aws.upbound.io_customergateways.yaml index 06a0940811..c29535b80a 100644 --- a/package/crds/ec2.aws.upbound.io_customergateways.yaml +++ b/package/crds/ec2.aws.upbound.io_customergateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: customergateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -202,42 +202,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -336,14 +300,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bgpAsn is a required parameter + - message: spec.forProvider.bgpAsn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bgpAsn) - || has(self.initProvider.bgpAsn)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.bgpAsn))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: CustomerGatewayStatus defines the observed state of CustomerGateway. properties: diff --git a/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml b/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml index 1fd436e5c3..9468e73222 100644 --- a/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultnetworkacls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultnetworkacls.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -540,42 +540,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml b/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml index e4c9e63159..c3a30682b3 100644 --- a/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultroutetables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultroutetables.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -495,42 +495,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml b/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml index 142d02df8c..189d56b923 100644 --- a/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultsecuritygroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultsecuritygroups.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -443,42 +443,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_defaultsubnets.yaml b/package/crds/ec2.aws.upbound.io_defaultsubnets.yaml index 6f93180228..b84025fad2 100644 --- a/package/crds/ec2.aws.upbound.io_defaultsubnets.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultsubnets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultsubnets.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -218,42 +218,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -352,10 +316,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' status: description: DefaultSubnetStatus defines the observed state of DefaultSubnet. properties: diff --git a/package/crds/ec2.aws.upbound.io_defaultvpcdhcpoptions.yaml b/package/crds/ec2.aws.upbound.io_defaultvpcdhcpoptions.yaml index 2d4775b45d..5bab55f53e 100644 --- a/package/crds/ec2.aws.upbound.io_defaultvpcdhcpoptions.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultvpcdhcpoptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultvpcdhcpoptions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_defaultvpcs.yaml b/package/crds/ec2.aws.upbound.io_defaultvpcs.yaml index fb72adf19e..2fba597064 100644 --- a/package/crds/ec2.aws.upbound.io_defaultvpcs.yaml +++ b/package/crds/ec2.aws.upbound.io_defaultvpcs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultvpcs.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml b/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml index 1fdad3216d..037d824686 100644 --- a/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml +++ b/package/crds/ec2.aws.upbound.io_ebsdefaultkmskeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebsdefaultkmskeys.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -229,42 +229,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_ebsencryptionbydefaults.yaml b/package/crds/ec2.aws.upbound.io_ebsencryptionbydefaults.yaml index 8d1cbc1fd2..60bee11a83 100644 --- a/package/crds/ec2.aws.upbound.io_ebsencryptionbydefaults.yaml +++ b/package/crds/ec2.aws.upbound.io_ebsencryptionbydefaults.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebsencryptionbydefaults.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -161,42 +161,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml index 10153647d0..10a4e716d3 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshotcopies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebssnapshotcopies.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -360,42 +360,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -494,10 +458,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: sourceRegion is a required parameter + - message: spec.forProvider.sourceRegion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceRegion) - || has(self.initProvider.sourceRegion)' + || (has(self.initProvider) && has(self.initProvider.sourceRegion))' status: description: EBSSnapshotCopyStatus defines the observed state of EBSSnapshotCopy. properties: diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml index fbabf38c0e..3734034d7e 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshotimports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebssnapshotimports.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -398,42 +398,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -532,10 +496,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: diskContainer is a required parameter + - message: spec.forProvider.diskContainer is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.diskContainer) - || has(self.initProvider.diskContainer)' + || (has(self.initProvider) && has(self.initProvider.diskContainer))' status: description: EBSSnapshotImportStatus defines the observed state of EBSSnapshotImport. properties: diff --git a/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml b/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml index 442f6ae26f..e9460dfb27 100644 --- a/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml +++ b/package/crds/ec2.aws.upbound.io_ebssnapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebssnapshots.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -280,42 +280,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml b/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml index cb4adda0dc..1d87d1e308 100644 --- a/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml +++ b/package/crds/ec2.aws.upbound.io_ebsvolumes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ebsvolumes.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -311,42 +311,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -445,10 +409,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' status: description: EBSVolumeStatus defines the observed state of EBSVolume. properties: diff --git a/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml b/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml index 6edbe86817..6259baa982 100644 --- a/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_egressonlyinternetgateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: egressonlyinternetgateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_eipassociations.yaml b/package/crds/ec2.aws.upbound.io_eipassociations.yaml index 5650ed9c71..16086cff77 100644 --- a/package/crds/ec2.aws.upbound.io_eipassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_eipassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eipassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -343,42 +343,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_eips.yaml b/package/crds/ec2.aws.upbound.io_eips.yaml index 1fdc2931ca..032b5a760d 100644 --- a/package/crds/ec2.aws.upbound.io_eips.yaml +++ b/package/crds/ec2.aws.upbound.io_eips.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eips.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -367,42 +367,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_flowlogs.yaml b/package/crds/ec2.aws.upbound.io_flowlogs.yaml index 1858e17e79..001873bba2 100644 --- a/package/crds/ec2.aws.upbound.io_flowlogs.yaml +++ b/package/crds/ec2.aws.upbound.io_flowlogs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: flowlogs.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -586,42 +586,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_hosts.yaml b/package/crds/ec2.aws.upbound.io_hosts.yaml index 92f96838f9..076cca20a3 100644 --- a/package/crds/ec2.aws.upbound.io_hosts.yaml +++ b/package/crds/ec2.aws.upbound.io_hosts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hosts.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -224,42 +224,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -358,10 +322,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' status: description: HostStatus defines the observed state of Host. properties: diff --git a/package/crds/ec2.aws.upbound.io_instances.yaml b/package/crds/ec2.aws.upbound.io_instances.yaml index a12c1bc8fa..f8a710ebb9 100644 --- a/package/crds/ec2.aws.upbound.io_instances.yaml +++ b/package/crds/ec2.aws.upbound.io_instances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instances.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -1464,42 +1464,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_instancestates.yaml b/package/crds/ec2.aws.upbound.io_instancestates.yaml index 33a8f56d3b..a9a911616d 100644 --- a/package/crds/ec2.aws.upbound.io_instancestates.yaml +++ b/package/crds/ec2.aws.upbound.io_instancestates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instancestates.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,10 +350,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: state is a required parameter + - message: spec.forProvider.state is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.state) - || has(self.initProvider.state)' + || (has(self.initProvider) && has(self.initProvider.state))' status: description: InstanceStateStatus defines the observed state of InstanceState. properties: diff --git a/package/crds/ec2.aws.upbound.io_internetgateways.yaml b/package/crds/ec2.aws.upbound.io_internetgateways.yaml index a54ab5a024..8ee2b7d2f6 100644 --- a/package/crds/ec2.aws.upbound.io_internetgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_internetgateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: internetgateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -240,42 +240,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_keypairs.yaml b/package/crds/ec2.aws.upbound.io_keypairs.yaml index daeee7ff2a..3cf2cc5944 100644 --- a/package/crds/ec2.aws.upbound.io_keypairs.yaml +++ b/package/crds/ec2.aws.upbound.io_keypairs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keypairs.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -169,42 +169,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -303,10 +267,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: publicKey is a required parameter + - message: spec.forProvider.publicKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.publicKey) - || has(self.initProvider.publicKey)' + || (has(self.initProvider) && has(self.initProvider.publicKey))' status: description: KeyPairStatus defines the observed state of KeyPair. properties: diff --git a/package/crds/ec2.aws.upbound.io_launchtemplates.yaml b/package/crds/ec2.aws.upbound.io_launchtemplates.yaml index 739e8a9016..217b290b2c 100644 --- a/package/crds/ec2.aws.upbound.io_launchtemplates.yaml +++ b/package/crds/ec2.aws.upbound.io_launchtemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: launchtemplates.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -2222,42 +2222,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml index 7108cab0f6..f7dce53d0c 100644 --- a/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_mainroutetableassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: mainroutetableassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml b/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml index 45033b9c7d..d5339e6aff 100644 --- a/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml +++ b/package/crds/ec2.aws.upbound.io_managedprefixlistentries.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: managedprefixlistentries.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml b/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml index 06c7325061..de92eda24d 100644 --- a/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml +++ b/package/crds/ec2.aws.upbound.io_managedprefixlists.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: managedprefixlists.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -291,42 +291,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -425,18 +389,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' - - message: maxEntries is a required parameter + || (has(self.initProvider) && has(self.initProvider.addressFamily))' + - message: spec.forProvider.maxEntries is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.maxEntries) - || has(self.initProvider.maxEntries)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.maxEntries))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ManagedPrefixListStatus defines the observed state of ManagedPrefixList. properties: diff --git a/package/crds/ec2.aws.upbound.io_natgateways.yaml b/package/crds/ec2.aws.upbound.io_natgateways.yaml index d39e4860f1..1af15bded5 100644 --- a/package/crds/ec2.aws.upbound.io_natgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_natgateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: natgateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -334,42 +334,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_networkaclrules.yaml b/package/crds/ec2.aws.upbound.io_networkaclrules.yaml index a4b05d5b27..b3d42f4276 100644 --- a/package/crds/ec2.aws.upbound.io_networkaclrules.yaml +++ b/package/crds/ec2.aws.upbound.io_networkaclrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkaclrules.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -300,42 +300,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -434,18 +398,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: protocol is a required parameter + - message: spec.forProvider.protocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocol) - || has(self.initProvider.protocol)' - - message: ruleAction is a required parameter + || (has(self.initProvider) && has(self.initProvider.protocol))' + - message: spec.forProvider.ruleAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleAction) - || has(self.initProvider.ruleAction)' - - message: ruleNumber is a required parameter + || (has(self.initProvider) && has(self.initProvider.ruleAction))' + - message: spec.forProvider.ruleNumber is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleNumber) - || has(self.initProvider.ruleNumber)' + || (has(self.initProvider) && has(self.initProvider.ruleNumber))' status: description: NetworkACLRuleStatus defines the observed state of NetworkACLRule. properties: diff --git a/package/crds/ec2.aws.upbound.io_networkacls.yaml b/package/crds/ec2.aws.upbound.io_networkacls.yaml index e9df1097a6..8218ecd07c 100644 --- a/package/crds/ec2.aws.upbound.io_networkacls.yaml +++ b/package/crds/ec2.aws.upbound.io_networkacls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkacls.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -320,42 +320,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml b/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml index d533b281ee..4053be7648 100644 --- a/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinsightsanalyses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkinsightsanalyses.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml b/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml index b3b6f6ec3c..0056bcc1d4 100644 --- a/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinsightspaths.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkinsightspaths.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -348,42 +348,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -482,10 +446,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: protocol is a required parameter + - message: spec.forProvider.protocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocol) - || has(self.initProvider.protocol)' + || (has(self.initProvider) && has(self.initProvider.protocol))' status: description: NetworkInsightsPathStatus defines the observed state of NetworkInsightsPath. properties: diff --git a/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml b/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml index c764672ecf..716efce208 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfaceattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkinterfaceattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -313,42 +313,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -447,10 +411,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: deviceIndex is a required parameter + - message: spec.forProvider.deviceIndex is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.deviceIndex) - || has(self.initProvider.deviceIndex)' + || (has(self.initProvider) && has(self.initProvider.deviceIndex))' status: description: NetworkInterfaceAttachmentStatus defines the observed state of NetworkInterfaceAttachment. diff --git a/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml b/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml index 0a5108ecdc..2cddd4dc9d 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkinterfaces.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -482,42 +482,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml b/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml index 65449d1f77..627404eccc 100644 --- a/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_networkinterfacesgattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkinterfacesgattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -304,42 +304,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_placementgroups.yaml b/package/crds/ec2.aws.upbound.io_placementgroups.yaml index 01c85a537d..8752d5512d 100644 --- a/package/crds/ec2.aws.upbound.io_placementgroups.yaml +++ b/package/crds/ec2.aws.upbound.io_placementgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: placementgroups.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -326,10 +290,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: strategy is a required parameter + - message: spec.forProvider.strategy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.strategy) - || has(self.initProvider.strategy)' + || (has(self.initProvider) && has(self.initProvider.strategy))' status: description: PlacementGroupStatus defines the observed state of PlacementGroup. properties: diff --git a/package/crds/ec2.aws.upbound.io_routes.yaml b/package/crds/ec2.aws.upbound.io_routes.yaml index 83a299dc10..be3e25f843 100644 --- a/package/crds/ec2.aws.upbound.io_routes.yaml +++ b/package/crds/ec2.aws.upbound.io_routes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routes.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -952,42 +952,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_routetableassociations.yaml b/package/crds/ec2.aws.upbound.io_routetableassociations.yaml index 2f6ef390db..89354fefef 100644 --- a/package/crds/ec2.aws.upbound.io_routetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_routetableassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routetableassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -385,42 +385,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_routetables.yaml b/package/crds/ec2.aws.upbound.io_routetables.yaml index a13eb82ea2..1d509e9da2 100644 --- a/package/crds/ec2.aws.upbound.io_routetables.yaml +++ b/package/crds/ec2.aws.upbound.io_routetables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routetables.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml b/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml index a5b2dd99de..2b8c44efb9 100644 --- a/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygrouprules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: securitygrouprules.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -459,42 +459,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -593,22 +557,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: fromPort is a required parameter + - message: spec.forProvider.fromPort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.fromPort) - || has(self.initProvider.fromPort)' - - message: protocol is a required parameter + || (has(self.initProvider) && has(self.initProvider.fromPort))' + - message: spec.forProvider.protocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocol) - || has(self.initProvider.protocol)' - - message: toPort is a required parameter + || (has(self.initProvider) && has(self.initProvider.protocol))' + - message: spec.forProvider.toPort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.toPort) - || has(self.initProvider.toPort)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.toPort))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: SecurityGroupRuleStatus defines the observed state of SecurityGroupRule. properties: diff --git a/package/crds/ec2.aws.upbound.io_securitygroups.yaml b/package/crds/ec2.aws.upbound.io_securitygroups.yaml index 212e047197..0a39c24034 100644 --- a/package/crds/ec2.aws.upbound.io_securitygroups.yaml +++ b/package/crds/ec2.aws.upbound.io_securitygroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: securitygroups.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -272,42 +272,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_serialconsoleaccesses.yaml b/package/crds/ec2.aws.upbound.io_serialconsoleaccesses.yaml index 70e7906f72..70b5367f43 100644 --- a/package/crds/ec2.aws.upbound.io_serialconsoleaccesses.yaml +++ b/package/crds/ec2.aws.upbound.io_serialconsoleaccesses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: serialconsoleaccesses.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -161,42 +161,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml b/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml index d7945c5275..f37ff2e45b 100644 --- a/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml +++ b/package/crds/ec2.aws.upbound.io_snapshotcreatevolumepermissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshotcreatevolumepermissions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,10 +335,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountId is a required parameter + - message: spec.forProvider.accountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountId) - || has(self.initProvider.accountId)' + || (has(self.initProvider) && has(self.initProvider.accountId))' status: description: SnapshotCreateVolumePermissionStatus defines the observed state of SnapshotCreateVolumePermission. diff --git a/package/crds/ec2.aws.upbound.io_spotdatafeedsubscriptions.yaml b/package/crds/ec2.aws.upbound.io_spotdatafeedsubscriptions.yaml index 590ef1b265..747fa2c621 100644 --- a/package/crds/ec2.aws.upbound.io_spotdatafeedsubscriptions.yaml +++ b/package/crds/ec2.aws.upbound.io_spotdatafeedsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: spotdatafeedsubscriptions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -169,42 +169,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -303,10 +267,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bucket is a required parameter + - message: spec.forProvider.bucket is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bucket) - || has(self.initProvider.bucket)' + || (has(self.initProvider) && has(self.initProvider.bucket))' status: description: SpotDatafeedSubscriptionStatus defines the observed state of SpotDatafeedSubscription. diff --git a/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml b/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml index c8ea4954dd..7128b7ce83 100644 --- a/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml +++ b/package/crds/ec2.aws.upbound.io_spotfleetrequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: spotfleetrequests.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -1515,42 +1515,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1649,14 +1613,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: iamFleetRole is a required parameter + - message: spec.forProvider.iamFleetRole is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.iamFleetRole) - || has(self.initProvider.iamFleetRole)' - - message: targetCapacity is a required parameter + || (has(self.initProvider) && has(self.initProvider.iamFleetRole))' + - message: spec.forProvider.targetCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetCapacity) - || has(self.initProvider.targetCapacity)' + || (has(self.initProvider) && has(self.initProvider.targetCapacity))' status: description: SpotFleetRequestStatus defines the observed state of SpotFleetRequest. properties: diff --git a/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml b/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml index f94a03c0f5..4bffbb07fc 100644 --- a/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml +++ b/package/crds/ec2.aws.upbound.io_spotinstancerequests.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: spotinstancerequests.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -877,42 +877,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml b/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml index 07c435bb3d..aee4aeaf82 100644 --- a/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml +++ b/package/crds/ec2.aws.upbound.io_subnetcidrreservations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetcidrreservations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -382,14 +346,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cidrBlock is a required parameter + - message: spec.forProvider.cidrBlock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cidrBlock) - || has(self.initProvider.cidrBlock)' - - message: reservationType is a required parameter + || (has(self.initProvider) && has(self.initProvider.cidrBlock))' + - message: spec.forProvider.reservationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.reservationType) - || has(self.initProvider.reservationType)' + || (has(self.initProvider) && has(self.initProvider.reservationType))' status: description: SubnetCidrReservationStatus defines the observed state of SubnetCidrReservation. diff --git a/package/crds/ec2.aws.upbound.io_subnets.yaml b/package/crds/ec2.aws.upbound.io_subnets.yaml index b913738cc7..1cfb2c5416 100644 --- a/package/crds/ec2.aws.upbound.io_subnets.yaml +++ b/package/crds/ec2.aws.upbound.io_subnets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnets.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -378,42 +378,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_tags.yaml b/package/crds/ec2.aws.upbound.io_tags.yaml index aa0c26bf3a..58a9495fd9 100644 --- a/package/crds/ec2.aws.upbound.io_tags.yaml +++ b/package/crds/ec2.aws.upbound.io_tags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tags.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -166,42 +166,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -300,10 +264,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: value is a required parameter + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: TagStatus defines the observed state of Tag. properties: diff --git a/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml b/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml index 647a26a594..3a9c03c12c 100644 --- a/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml +++ b/package/crds/ec2.aws.upbound.io_trafficmirrorfilterrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trafficmirrorfilterrules.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -348,42 +348,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -482,26 +446,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destinationCidrBlock is a required parameter + - message: spec.forProvider.destinationCidrBlock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) - || has(self.initProvider.destinationCidrBlock)' - - message: ruleAction is a required parameter + || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))' + - message: spec.forProvider.ruleAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleAction) - || has(self.initProvider.ruleAction)' - - message: ruleNumber is a required parameter + || (has(self.initProvider) && has(self.initProvider.ruleAction))' + - message: spec.forProvider.ruleNumber is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleNumber) - || has(self.initProvider.ruleNumber)' - - message: sourceCidrBlock is a required parameter + || (has(self.initProvider) && has(self.initProvider.ruleNumber))' + - message: spec.forProvider.sourceCidrBlock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceCidrBlock) - || has(self.initProvider.sourceCidrBlock)' - - message: trafficDirection is a required parameter + || (has(self.initProvider) && has(self.initProvider.sourceCidrBlock))' + - message: spec.forProvider.trafficDirection is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.trafficDirection) - || has(self.initProvider.trafficDirection)' + || (has(self.initProvider) && has(self.initProvider.trafficDirection))' status: description: TrafficMirrorFilterRuleStatus defines the observed state of TrafficMirrorFilterRule. diff --git a/package/crds/ec2.aws.upbound.io_trafficmirrorfilters.yaml b/package/crds/ec2.aws.upbound.io_trafficmirrorfilters.yaml index f1225ae6eb..71fa24b00d 100644 --- a/package/crds/ec2.aws.upbound.io_trafficmirrorfilters.yaml +++ b/package/crds/ec2.aws.upbound.io_trafficmirrorfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trafficmirrorfilters.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -180,42 +180,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml index 76feb6e13f..7d33ffedf5 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayconnectpeers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayconnectpeers.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -439,14 +403,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: insideCidrBlocks is a required parameter + - message: spec.forProvider.insideCidrBlocks is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.insideCidrBlocks) - || has(self.initProvider.insideCidrBlocks)' - - message: peerAddress is a required parameter + || (has(self.initProvider) && has(self.initProvider.insideCidrBlocks))' + - message: spec.forProvider.peerAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.peerAddress) - || has(self.initProvider.peerAddress)' + || (has(self.initProvider) && has(self.initProvider.peerAddress))' status: description: TransitGatewayConnectPeerStatus defines the observed state of TransitGatewayConnectPeer. diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml index 11d4882020..7f3eb881ce 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayconnects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayconnects.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -350,42 +350,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml index 649a81e486..6f78cfc479 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomainassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaymulticastdomainassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -386,42 +386,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml index e773947e79..d38f93898d 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastdomains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaymulticastdomains.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -272,42 +272,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml index 44cd893c09..bd1f62435e 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupmembers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaymulticastgroupmembers.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -318,42 +318,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -452,10 +416,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: groupIpAddress is a required parameter + - message: spec.forProvider.groupIpAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupIpAddress) - || has(self.initProvider.groupIpAddress)' + || (has(self.initProvider) && has(self.initProvider.groupIpAddress))' status: description: TransitGatewayMulticastGroupMemberStatus defines the observed state of TransitGatewayMulticastGroupMember. diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml index 1a170de3d6..846e51403c 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaymulticastgroupsources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaymulticastgroupsources.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -318,42 +318,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -452,10 +416,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: groupIpAddress is a required parameter + - message: spec.forProvider.groupIpAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupIpAddress) - || has(self.initProvider.groupIpAddress)' + || (has(self.initProvider) && has(self.initProvider.groupIpAddress))' status: description: TransitGatewayMulticastGroupSourceStatus defines the observed state of TransitGatewayMulticastGroupSource. diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml index 6baa966ce1..2bfed41364 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachmentaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaypeeringattachmentaccepters.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml index bca829fd55..b07716d0e5 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypeeringattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaypeeringattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -333,42 +333,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -467,10 +431,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: peerRegion is a required parameter + - message: spec.forProvider.peerRegion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.peerRegion) - || has(self.initProvider.peerRegion)' + || (has(self.initProvider) && has(self.initProvider.peerRegion))' status: description: TransitGatewayPeeringAttachmentStatus defines the observed state of TransitGatewayPeeringAttachment. diff --git a/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml b/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml index 614d56f910..6d094e015d 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewaypolicytables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewaypolicytables.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -241,42 +241,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml index 2e6205ac1b..54610748da 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayprefixlistreferences.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayprefixlistreferences.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -395,42 +395,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml index 79dc2f3680..8fc701e809 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayroutes.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -324,42 +324,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -458,10 +422,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destinationCidrBlock is a required parameter + - message: spec.forProvider.destinationCidrBlock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) - || has(self.initProvider.destinationCidrBlock)' + || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))' status: description: TransitGatewayRouteStatus defines the observed state of TransitGatewayRoute. properties: diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml index afae5f66d1..d9957a47a0 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetableassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayroutetableassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml index e894bc852d..66d4b14f3e 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetablepropagations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayroutetablepropagations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml index b26d21686d..d385fc1171 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayroutetables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayroutetables.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgateways.yaml b/package/crds/ec2.aws.upbound.io_transitgateways.yaml index a9b6615068..41d2122b34 100644 --- a/package/crds/ec2.aws.upbound.io_transitgateways.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml index 745f24c6cb..10d3db1044 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachmentaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayvpcattachmentaccepters.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -261,42 +261,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml index 2bc1166baa..c45d13f475 100644 --- a/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_transitgatewayvpcattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayvpcattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -451,42 +451,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_volumeattachments.yaml b/package/crds/ec2.aws.upbound.io_volumeattachments.yaml index 6400031a9f..06b01f4ddf 100644 --- a/package/crds/ec2.aws.upbound.io_volumeattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_volumeattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: volumeattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -344,42 +344,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -478,10 +442,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: deviceName is a required parameter + - message: spec.forProvider.deviceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.deviceName) - || has(self.initProvider.deviceName)' + || (has(self.initProvider) && has(self.initProvider.deviceName))' status: description: VolumeAttachmentStatus defines the observed state of VolumeAttachment. properties: diff --git a/package/crds/ec2.aws.upbound.io_vpcdhcpoptions.yaml b/package/crds/ec2.aws.upbound.io_vpcdhcpoptions.yaml index c6781a616c..61ecac1b00 100644 --- a/package/crds/ec2.aws.upbound.io_vpcdhcpoptions.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcdhcpoptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcdhcpoptions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -218,42 +218,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml index 4bf5aec8f8..0a26546914 100644 --- a/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcdhcpoptionsassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcdhcpoptionsassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml index 5da6c504cc..a4e436e36d 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointconnectionnotifications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointconnectionnotifications.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -328,42 +328,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -462,10 +426,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: connectionEvents is a required parameter + - message: spec.forProvider.connectionEvents is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.connectionEvents) - || has(self.initProvider.connectionEvents)' + || (has(self.initProvider) && has(self.initProvider.connectionEvents))' status: description: VPCEndpointConnectionNotificationStatus defines the observed state of VPCEndpointConnectionNotification. diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml index c47577ff06..c856312821 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointroutetableassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointroutetableassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml b/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml index 35b3019817..8024b3cc37 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpoints.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -387,42 +387,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml index 7e18e47c39..fbbc34cda5 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointsecuritygroupassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointsecuritygroupassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -322,42 +322,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml index 57d9d633ee..af8ecfe550 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointserviceallowedprincipals.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointserviceallowedprincipals.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: principalArn is a required parameter + - message: spec.forProvider.principalArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principalArn) - || has(self.initProvider.principalArn)' + || (has(self.initProvider) && has(self.initProvider.principalArn))' status: description: VPCEndpointServiceAllowedPrincipalStatus defines the observed state of VPCEndpointServiceAllowedPrincipal. diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointservices.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointservices.yaml index 6e2d16fa9c..2d04a6899a 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointservices.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointservices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointservices.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -348,10 +312,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: acceptanceRequired is a required parameter + - message: spec.forProvider.acceptanceRequired is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.acceptanceRequired) - || has(self.initProvider.acceptanceRequired)' + || (has(self.initProvider) && has(self.initProvider.acceptanceRequired))' status: description: VPCEndpointServiceStatus defines the observed state of VPCEndpointService. properties: diff --git a/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml index 650950f166..3b6a1efd7b 100644 --- a/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcendpointsubnetassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcendpointsubnetassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -307,42 +307,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml index cc2b79e724..de3451c057 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrallocations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipampoolcidrallocations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml index 9a8a16694c..c66c16d1a1 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampoolcidrs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipampoolcidrs.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -281,42 +281,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcipampools.yaml b/package/crds/ec2.aws.upbound.io_vpcipampools.yaml index 615ec01be0..d767d8e6bd 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipampools.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipampools.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipampools.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -438,42 +438,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -572,10 +536,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addressFamily is a required parameter + - message: spec.forProvider.addressFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addressFamily) - || has(self.initProvider.addressFamily)' + || (has(self.initProvider) && has(self.initProvider.addressFamily))' status: description: VPCIpamPoolStatus defines the observed state of VPCIpamPool. properties: diff --git a/package/crds/ec2.aws.upbound.io_vpcipams.yaml b/package/crds/ec2.aws.upbound.io_vpcipams.yaml index c8c84e1857..c0a5897391 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipams.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipams.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -210,42 +210,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -344,10 +308,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: operatingRegions is a required parameter + - message: spec.forProvider.operatingRegions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.operatingRegions) - || has(self.initProvider.operatingRegions)' + || (has(self.initProvider) && has(self.initProvider.operatingRegions))' status: description: VPCIpamStatus defines the observed state of VPCIpam. properties: diff --git a/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml b/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml index a9fb2c7178..cd54633396 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipamscopes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipamscopes.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -245,42 +245,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml b/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml index 0df1138877..39fbc658f6 100644 --- a/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcipv4cidrblockassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcipv4cidrblockassociations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -261,42 +261,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml index 1837f195a5..00cd888cb0 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcpeeringconnectionaccepters.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -341,42 +341,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml index 353c58d4f2..965f62ad12 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnectionoptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcpeeringconnectionoptions.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -343,42 +343,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml b/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml index 716176bdd0..131eb308d5 100644 --- a/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcpeeringconnections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcpeeringconnections.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -343,42 +343,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpcs.yaml b/package/crds/ec2.aws.upbound.io_vpcs.yaml index a24b55c040..61b107c052 100644 --- a/package/crds/ec2.aws.upbound.io_vpcs.yaml +++ b/package/crds/ec2.aws.upbound.io_vpcs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcs.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -376,42 +376,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml b/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml index 85fe73285d..682ae5b519 100644 --- a/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml +++ b/package/crds/ec2.aws.upbound.io_vpnconnectionroutes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpnconnectionroutes.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destinationCidrBlock is a required parameter + - message: spec.forProvider.destinationCidrBlock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationCidrBlock) - || has(self.initProvider.destinationCidrBlock)' + || (has(self.initProvider) && has(self.initProvider.destinationCidrBlock))' status: description: VPNConnectionRouteStatus defines the observed state of VPNConnectionRoute. properties: diff --git a/package/crds/ec2.aws.upbound.io_vpnconnections.yaml b/package/crds/ec2.aws.upbound.io_vpnconnections.yaml index 094778aee0..d96950b798 100644 --- a/package/crds/ec2.aws.upbound.io_vpnconnections.yaml +++ b/package/crds/ec2.aws.upbound.io_vpnconnections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpnconnections.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -1133,42 +1133,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml b/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml index 94a9d1300b..9e7caa7217 100644 --- a/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngatewayattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpngatewayattachments.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml b/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml index 3551e1da8b..b2474c233e 100644 --- a/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngatewayroutepropagations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpngatewayroutepropagations.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -307,42 +307,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ec2.aws.upbound.io_vpngateways.yaml b/package/crds/ec2.aws.upbound.io_vpngateways.yaml index 49653e2030..ecf43c5032 100644 --- a/package/crds/ec2.aws.upbound.io_vpngateways.yaml +++ b/package/crds/ec2.aws.upbound.io_vpngateways.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpngateways.ec2.aws.upbound.io spec: group: ec2.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml b/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml index 0b66286e71..971740e877 100644 --- a/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml +++ b/package/crds/ecr.aws.upbound.io_lifecyclepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lifecyclepolicies.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: LifecyclePolicyStatus defines the observed state of LifecyclePolicy. properties: diff --git a/package/crds/ecr.aws.upbound.io_pullthroughcacherules.yaml b/package/crds/ecr.aws.upbound.io_pullthroughcacherules.yaml index 55699c9842..148f31727a 100644 --- a/package/crds/ecr.aws.upbound.io_pullthroughcacherules.yaml +++ b/package/crds/ecr.aws.upbound.io_pullthroughcacherules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: pullthroughcacherules.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,14 +266,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ecrRepositoryPrefix is a required parameter + - message: spec.forProvider.ecrRepositoryPrefix is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ecrRepositoryPrefix) - || has(self.initProvider.ecrRepositoryPrefix)' - - message: upstreamRegistryUrl is a required parameter + || (has(self.initProvider) && has(self.initProvider.ecrRepositoryPrefix))' + - message: spec.forProvider.upstreamRegistryUrl is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.upstreamRegistryUrl) - || has(self.initProvider.upstreamRegistryUrl)' + || (has(self.initProvider) && has(self.initProvider.upstreamRegistryUrl))' status: description: PullThroughCacheRuleStatus defines the observed state of PullThroughCacheRule. diff --git a/package/crds/ecr.aws.upbound.io_registrypolicies.yaml b/package/crds/ecr.aws.upbound.io_registrypolicies.yaml index 6a14e97978..180a52a605 100644 --- a/package/crds/ecr.aws.upbound.io_registrypolicies.yaml +++ b/package/crds/ecr.aws.upbound.io_registrypolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: registrypolicies.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: RegistryPolicyStatus defines the observed state of RegistryPolicy. properties: diff --git a/package/crds/ecr.aws.upbound.io_registryscanningconfigurations.yaml b/package/crds/ecr.aws.upbound.io_registryscanningconfigurations.yaml index 7820664432..c6e98ab398 100644 --- a/package/crds/ecr.aws.upbound.io_registryscanningconfigurations.yaml +++ b/package/crds/ecr.aws.upbound.io_registryscanningconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: registryscanningconfigurations.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -209,42 +209,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -343,10 +307,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: scanType is a required parameter + - message: spec.forProvider.scanType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scanType) - || has(self.initProvider.scanType)' + || (has(self.initProvider) && has(self.initProvider.scanType))' status: description: RegistryScanningConfigurationStatus defines the observed state of RegistryScanningConfiguration. diff --git a/package/crds/ecr.aws.upbound.io_replicationconfigurations.yaml b/package/crds/ecr.aws.upbound.io_replicationconfigurations.yaml index bf0e1079af..63cffd7b73 100644 --- a/package/crds/ecr.aws.upbound.io_replicationconfigurations.yaml +++ b/package/crds/ecr.aws.upbound.io_replicationconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationconfigurations.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -242,42 +242,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecr.aws.upbound.io_repositories.yaml b/package/crds/ecr.aws.upbound.io_repositories.yaml index dcf4227030..e7fd6fdaa8 100644 --- a/package/crds/ecr.aws.upbound.io_repositories.yaml +++ b/package/crds/ecr.aws.upbound.io_repositories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: repositories.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -307,42 +307,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml b/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml index 03c432031a..dd19fabc50 100644 --- a/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml +++ b/package/crds/ecr.aws.upbound.io_repositorypolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: repositorypolicies.ecr.aws.upbound.io spec: group: ecr.aws.upbound.io @@ -234,42 +234,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -368,10 +332,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: RepositoryPolicyStatus defines the observed state of RepositoryPolicy. properties: diff --git a/package/crds/ecrpublic.aws.upbound.io_repositories.yaml b/package/crds/ecrpublic.aws.upbound.io_repositories.yaml index 3fa61171cd..efe0cf02ec 100644 --- a/package/crds/ecrpublic.aws.upbound.io_repositories.yaml +++ b/package/crds/ecrpublic.aws.upbound.io_repositories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: repositories.ecrpublic.aws.upbound.io spec: group: ecrpublic.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml b/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml index c8318152da..6cd1e2937e 100644 --- a/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml +++ b/package/crds/ecrpublic.aws.upbound.io_repositorypolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: repositorypolicies.ecrpublic.aws.upbound.io spec: group: ecrpublic.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: RepositoryPolicyStatus defines the observed state of RepositoryPolicy. properties: diff --git a/package/crds/ecs.aws.upbound.io_accountsettingdefaults.yaml b/package/crds/ecs.aws.upbound.io_accountsettingdefaults.yaml index b00559a666..12f6ca5d42 100644 --- a/package/crds/ecs.aws.upbound.io_accountsettingdefaults.yaml +++ b/package/crds/ecs.aws.upbound.io_accountsettingdefaults.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accountsettingdefaults.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,14 +268,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: value is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: AccountSettingDefaultStatus defines the observed state of AccountSettingDefault. diff --git a/package/crds/ecs.aws.upbound.io_capacityproviders.yaml b/package/crds/ecs.aws.upbound.io_capacityproviders.yaml index 09059bfb96..2f65557ba9 100644 --- a/package/crds/ecs.aws.upbound.io_capacityproviders.yaml +++ b/package/crds/ecs.aws.upbound.io_capacityproviders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: capacityproviders.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -327,42 +327,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -461,10 +425,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: autoScalingGroupProvider is a required parameter + - message: spec.forProvider.autoScalingGroupProvider is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.autoScalingGroupProvider) - || has(self.initProvider.autoScalingGroupProvider)' + || (has(self.initProvider) && has(self.initProvider.autoScalingGroupProvider))' status: description: CapacityProviderStatus defines the observed state of CapacityProvider. properties: diff --git a/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml b/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml index 42aa4bf25a..5e402cb720 100644 --- a/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml +++ b/package/crds/ecs.aws.upbound.io_clustercapacityproviders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clustercapacityproviders.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -290,42 +290,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecs.aws.upbound.io_clusters.yaml b/package/crds/ecs.aws.upbound.io_clusters.yaml index 226a97110a..79d4742d65 100644 --- a/package/crds/ecs.aws.upbound.io_clusters.yaml +++ b/package/crds/ecs.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -367,42 +367,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecs.aws.upbound.io_services.yaml b/package/crds/ecs.aws.upbound.io_services.yaml index 91e3fbc141..6ef06c9f62 100644 --- a/package/crds/ecs.aws.upbound.io_services.yaml +++ b/package/crds/ecs.aws.upbound.io_services.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: services.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -1318,42 +1318,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml b/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml index ad96aeacda..068343c551 100644 --- a/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml +++ b/package/crds/ecs.aws.upbound.io_taskdefinitions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: taskdefinitions.ecs.aws.upbound.io spec: group: ecs.aws.upbound.io @@ -799,42 +799,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -933,14 +897,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: containerDefinitions is a required parameter + - message: spec.forProvider.containerDefinitions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.containerDefinitions) - || has(self.initProvider.containerDefinitions)' - - message: family is a required parameter + || (has(self.initProvider) && has(self.initProvider.containerDefinitions))' + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: TaskDefinitionStatus defines the observed state of TaskDefinition. properties: diff --git a/package/crds/efs.aws.upbound.io_accesspoints.yaml b/package/crds/efs.aws.upbound.io_accesspoints.yaml index b474bc7338..740d1c8acb 100644 --- a/package/crds/efs.aws.upbound.io_accesspoints.yaml +++ b/package/crds/efs.aws.upbound.io_accesspoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accesspoints.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -345,42 +345,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/efs.aws.upbound.io_backuppolicies.yaml b/package/crds/efs.aws.upbound.io_backuppolicies.yaml index d3b620524f..a6dbd6b547 100644 --- a/package/crds/efs.aws.upbound.io_backuppolicies.yaml +++ b/package/crds/efs.aws.upbound.io_backuppolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: backuppolicies.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -382,10 +346,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: backupPolicy is a required parameter + - message: spec.forProvider.backupPolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.backupPolicy) - || has(self.initProvider.backupPolicy)' + || (has(self.initProvider) && has(self.initProvider.backupPolicy))' status: description: BackupPolicyStatus defines the observed state of BackupPolicy. properties: diff --git a/package/crds/efs.aws.upbound.io_filesystempolicies.yaml b/package/crds/efs.aws.upbound.io_filesystempolicies.yaml index b6867ccb05..61d6e78872 100644 --- a/package/crds/efs.aws.upbound.io_filesystempolicies.yaml +++ b/package/crds/efs.aws.upbound.io_filesystempolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: filesystempolicies.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -256,42 +256,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -390,10 +354,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: FileSystemPolicyStatus defines the observed state of FileSystemPolicy. properties: diff --git a/package/crds/efs.aws.upbound.io_filesystems.yaml b/package/crds/efs.aws.upbound.io_filesystems.yaml index 9b7b3c9f33..45ea4d0f89 100644 --- a/package/crds/efs.aws.upbound.io_filesystems.yaml +++ b/package/crds/efs.aws.upbound.io_filesystems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: filesystems.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -331,42 +331,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/efs.aws.upbound.io_mounttargets.yaml b/package/crds/efs.aws.upbound.io_mounttargets.yaml index 978ace15cc..caacf61d28 100644 --- a/package/crds/efs.aws.upbound.io_mounttargets.yaml +++ b/package/crds/efs.aws.upbound.io_mounttargets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: mounttargets.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -399,42 +399,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml b/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml index 35e13e2287..31e91c4b7f 100644 --- a/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml +++ b/package/crds/efs.aws.upbound.io_replicationconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationconfigurations.efs.aws.upbound.io spec: group: efs.aws.upbound.io @@ -269,42 +269,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -403,10 +367,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' + || (has(self.initProvider) && has(self.initProvider.destination))' status: description: ReplicationConfigurationStatus defines the observed state of ReplicationConfiguration. diff --git a/package/crds/eks.aws.upbound.io_addons.yaml b/package/crds/eks.aws.upbound.io_addons.yaml index 520d568760..4f82e1d2da 100644 --- a/package/crds/eks.aws.upbound.io_addons.yaml +++ b/package/crds/eks.aws.upbound.io_addons.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: addons.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -368,42 +368,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -502,10 +466,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: addonName is a required parameter + - message: spec.forProvider.addonName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.addonName) - || has(self.initProvider.addonName)' + || (has(self.initProvider) && has(self.initProvider.addonName))' status: description: AddonStatus defines the observed state of Addon. properties: diff --git a/package/crds/eks.aws.upbound.io_clusterauths.yaml b/package/crds/eks.aws.upbound.io_clusterauths.yaml index e0858c7d04..391bdd94ab 100644 --- a/package/crds/eks.aws.upbound.io_clusterauths.yaml +++ b/package/crds/eks.aws.upbound.io_clusterauths.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterauths.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -225,42 +225,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/eks.aws.upbound.io_clusters.yaml b/package/crds/eks.aws.upbound.io_clusters.yaml index a79523f1c6..f1bf26849e 100644 --- a/package/crds/eks.aws.upbound.io_clusters.yaml +++ b/package/crds/eks.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -692,42 +692,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -826,10 +790,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: vpcConfig is a required parameter + - message: spec.forProvider.vpcConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vpcConfig) - || has(self.initProvider.vpcConfig)' + || (has(self.initProvider) && has(self.initProvider.vpcConfig))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/eks.aws.upbound.io_fargateprofiles.yaml b/package/crds/eks.aws.upbound.io_fargateprofiles.yaml index ae0e4e5d3b..697624856b 100644 --- a/package/crds/eks.aws.upbound.io_fargateprofiles.yaml +++ b/package/crds/eks.aws.upbound.io_fargateprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fargateprofiles.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -432,42 +432,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -566,10 +530,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: selector is a required parameter + - message: spec.forProvider.selector is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.selector) - || has(self.initProvider.selector)' + || (has(self.initProvider) && has(self.initProvider.selector))' status: description: FargateProfileStatus defines the observed state of FargateProfile. properties: diff --git a/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml b/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml index a1da63b7aa..28351e6853 100644 --- a/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml +++ b/package/crds/eks.aws.upbound.io_identityproviderconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: identityproviderconfigs.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -310,42 +310,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -444,10 +408,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: oidc is a required parameter + - message: spec.forProvider.oidc is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.oidc) - || has(self.initProvider.oidc)' + || (has(self.initProvider) && has(self.initProvider.oidc))' status: description: IdentityProviderConfigStatus defines the observed state of IdentityProviderConfig. diff --git a/package/crds/eks.aws.upbound.io_nodegroups.yaml b/package/crds/eks.aws.upbound.io_nodegroups.yaml index 44c042678b..b05d89a538 100644 --- a/package/crds/eks.aws.upbound.io_nodegroups.yaml +++ b/package/crds/eks.aws.upbound.io_nodegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: nodegroups.eks.aws.upbound.io spec: group: eks.aws.upbound.io @@ -815,42 +815,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -949,10 +913,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: scalingConfig is a required parameter + - message: spec.forProvider.scalingConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scalingConfig) - || has(self.initProvider.scalingConfig)' + || (has(self.initProvider) && has(self.initProvider.scalingConfig))' status: description: NodeGroupStatus defines the observed state of NodeGroup. properties: diff --git a/package/crds/elasticache.aws.upbound.io_clusters.yaml b/package/crds/elasticache.aws.upbound.io_clusters.yaml index f65054cff7..35f6f11490 100644 --- a/package/crds/elasticache.aws.upbound.io_clusters.yaml +++ b/package/crds/elasticache.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -790,42 +790,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticache.aws.upbound.io_parametergroups.yaml b/package/crds/elasticache.aws.upbound.io_parametergroups.yaml index 4f8b878422..1db4cee974 100644 --- a/package/crds/elasticache.aws.upbound.io_parametergroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -204,42 +204,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -338,14 +302,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.family))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ParameterGroupStatus defines the observed state of ParameterGroup. properties: diff --git a/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml b/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml index f4bb7bfe18..d59ca102a3 100644 --- a/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_replicationgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicationgroups.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -854,42 +854,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml b/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml index c56cc835c3..a1f9bf6fb9 100644 --- a/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticache.aws.upbound.io_usergroups.yaml b/package/crds/elasticache.aws.upbound.io_usergroups.yaml index abf5e7273a..73ce1c1fff 100644 --- a/package/crds/elasticache.aws.upbound.io_usergroups.yaml +++ b/package/crds/elasticache.aws.upbound.io_usergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usergroups.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -249,42 +249,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -383,10 +347,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: engine is a required parameter + - message: spec.forProvider.engine is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engine) - || has(self.initProvider.engine)' + || (has(self.initProvider) && has(self.initProvider.engine))' status: description: UserGroupStatus defines the observed state of UserGroup. properties: diff --git a/package/crds/elasticache.aws.upbound.io_users.yaml b/package/crds/elasticache.aws.upbound.io_users.yaml index f2b4432e1d..4520d43533 100644 --- a/package/crds/elasticache.aws.upbound.io_users.yaml +++ b/package/crds/elasticache.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.elasticache.aws.upbound.io spec: group: elasticache.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -388,18 +352,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accessString is a required parameter + - message: spec.forProvider.accessString is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accessString) - || has(self.initProvider.accessString)' - - message: engine is a required parameter + || (has(self.initProvider) && has(self.initProvider.accessString))' + - message: spec.forProvider.engine is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engine) - || has(self.initProvider.engine)' - - message: userName is a required parameter + || (has(self.initProvider) && has(self.initProvider.engine))' + - message: spec.forProvider.userName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.userName) - || has(self.initProvider.userName)' + || (has(self.initProvider) && has(self.initProvider.userName))' status: description: UserStatus defines the observed state of User. properties: diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml index a95d98b282..2da2950bbf 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.elasticbeanstalk.aws.upbound.io spec: group: elasticbeanstalk.aws.upbound.io @@ -287,42 +287,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml index 26742a5328..3eb1c47fa6 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_applicationversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applicationversions.elasticbeanstalk.aws.upbound.io spec: group: elasticbeanstalk.aws.upbound.io @@ -338,42 +338,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -472,10 +436,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: application is a required parameter + - message: spec.forProvider.application is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.application) - || has(self.initProvider.application)' + || (has(self.initProvider) && has(self.initProvider.application))' status: description: ApplicationVersionStatus defines the observed state of ApplicationVersion. properties: diff --git a/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml b/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml index 2fd46ed2eb..53dbe63b14 100644 --- a/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml +++ b/package/crds/elasticbeanstalk.aws.upbound.io_configurationtemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationtemplates.elasticbeanstalk.aws.upbound.io spec: group: elasticbeanstalk.aws.upbound.io @@ -295,42 +295,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml b/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml index 385c04cfca..deda998608 100644 --- a/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml +++ b/package/crds/elasticsearch.aws.upbound.io_domainpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainpolicies.elasticsearch.aws.upbound.io spec: group: elasticsearch.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accessPolicies is a required parameter + - message: spec.forProvider.accessPolicies is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accessPolicies) - || has(self.initProvider.accessPolicies)' + || (has(self.initProvider) && has(self.initProvider.accessPolicies))' status: description: DomainPolicyStatus defines the observed state of DomainPolicy. properties: diff --git a/package/crds/elasticsearch.aws.upbound.io_domains.yaml b/package/crds/elasticsearch.aws.upbound.io_domains.yaml index 899c1d5c93..e919ec0981 100644 --- a/package/crds/elasticsearch.aws.upbound.io_domains.yaml +++ b/package/crds/elasticsearch.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.elasticsearch.aws.upbound.io spec: group: elasticsearch.aws.upbound.io @@ -909,42 +909,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elasticsearch.aws.upbound.io_domainsamloptions.yaml b/package/crds/elasticsearch.aws.upbound.io_domainsamloptions.yaml index a2a16b8632..e2b68e6ad6 100644 --- a/package/crds/elasticsearch.aws.upbound.io_domainsamloptions.yaml +++ b/package/crds/elasticsearch.aws.upbound.io_domainsamloptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainsamloptions.elasticsearch.aws.upbound.io spec: group: elasticsearch.aws.upbound.io @@ -256,42 +256,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml b/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml index 5d51ee8c28..238e5aebbe 100644 --- a/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml +++ b/package/crds/elastictranscoder.aws.upbound.io_pipelines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: pipelines.elastictranscoder.aws.upbound.io spec: group: elastictranscoder.aws.upbound.io @@ -692,42 +692,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elastictranscoder.aws.upbound.io_presets.yaml b/package/crds/elastictranscoder.aws.upbound.io_presets.yaml index 2b2b4cd1ce..b40a08d687 100644 --- a/package/crds/elastictranscoder.aws.upbound.io_presets.yaml +++ b/package/crds/elastictranscoder.aws.upbound.io_presets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: presets.elastictranscoder.aws.upbound.io spec: group: elastictranscoder.aws.upbound.io @@ -698,42 +698,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -832,10 +796,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: container is a required parameter + - message: spec.forProvider.container is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.container) - || has(self.initProvider.container)' + || (has(self.initProvider) && has(self.initProvider.container))' status: description: PresetStatus defines the observed state of Preset. properties: diff --git a/package/crds/elb.aws.upbound.io_appcookiestickinesspolicies.yaml b/package/crds/elb.aws.upbound.io_appcookiestickinesspolicies.yaml index 3a5eb2ce1b..e723c4cfde 100644 --- a/package/crds/elb.aws.upbound.io_appcookiestickinesspolicies.yaml +++ b/package/crds/elb.aws.upbound.io_appcookiestickinesspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: appcookiestickinesspolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -244,42 +244,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -378,10 +342,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cookieName is a required parameter + - message: spec.forProvider.cookieName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cookieName) - || has(self.initProvider.cookieName)' + || (has(self.initProvider) && has(self.initProvider.cookieName))' status: description: AppCookieStickinessPolicyStatus defines the observed state of AppCookieStickinessPolicy. diff --git a/package/crds/elb.aws.upbound.io_attachments.yaml b/package/crds/elb.aws.upbound.io_attachments.yaml index 5b21b048c4..b86e7471ac 100644 --- a/package/crds/elb.aws.upbound.io_attachments.yaml +++ b/package/crds/elb.aws.upbound.io_attachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: attachments.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml b/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml index 76ff559e29..0c36cec14d 100644 --- a/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_backendserverpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: backendserverpolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -244,42 +244,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -378,10 +342,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instancePort is a required parameter + - message: spec.forProvider.instancePort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instancePort) - || has(self.initProvider.instancePort)' + || (has(self.initProvider) && has(self.initProvider.instancePort))' status: description: BackendServerPolicyStatus defines the observed state of BackendServerPolicy. properties: diff --git a/package/crds/elb.aws.upbound.io_elbs.yaml b/package/crds/elb.aws.upbound.io_elbs.yaml index 17d974a780..24105b524f 100644 --- a/package/crds/elb.aws.upbound.io_elbs.yaml +++ b/package/crds/elb.aws.upbound.io_elbs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: elbs.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -546,42 +546,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -680,10 +644,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: listener is a required parameter + - message: spec.forProvider.listener is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.listener) - || has(self.initProvider.listener)' + || (has(self.initProvider) && has(self.initProvider.listener))' status: description: ELBStatus defines the observed state of ELB. properties: diff --git a/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml b/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml index 7155488ca2..430d40b153 100644 --- a/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml +++ b/package/crds/elb.aws.upbound.io_lbcookiestickinesspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbcookiestickinesspolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,14 +350,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: lbPort is a required parameter + - message: spec.forProvider.lbPort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.lbPort) - || has(self.initProvider.lbPort)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.lbPort))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: LBCookieStickinessPolicyStatus defines the observed state of LBCookieStickinessPolicy. diff --git a/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml b/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml index cf7f715f9d..1322c1248e 100644 --- a/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_lbsslnegotiationpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbsslnegotiationpolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -282,42 +282,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -416,14 +380,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: lbPort is a required parameter + - message: spec.forProvider.lbPort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.lbPort) - || has(self.initProvider.lbPort)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.lbPort))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: LBSSLNegotiationPolicyStatus defines the observed state of LBSSLNegotiationPolicy. diff --git a/package/crds/elb.aws.upbound.io_listenerpolicies.yaml b/package/crds/elb.aws.upbound.io_listenerpolicies.yaml index 2d000bed57..1b6f3a9bb4 100644 --- a/package/crds/elb.aws.upbound.io_listenerpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_listenerpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: listenerpolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -258,42 +258,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -392,10 +356,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: loadBalancerPort is a required parameter + - message: spec.forProvider.loadBalancerPort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.loadBalancerPort) - || has(self.initProvider.loadBalancerPort)' + || (has(self.initProvider) && has(self.initProvider.loadBalancerPort))' status: description: ListenerPolicyStatus defines the observed state of ListenerPolicy. properties: diff --git a/package/crds/elb.aws.upbound.io_policies.yaml b/package/crds/elb.aws.upbound.io_policies.yaml index 37a21604f5..b7daabf27a 100644 --- a/package/crds/elb.aws.upbound.io_policies.yaml +++ b/package/crds/elb.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -334,42 +334,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -468,14 +432,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policyName is a required parameter + - message: spec.forProvider.policyName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policyName) - || has(self.initProvider.policyName)' - - message: policyTypeName is a required parameter + || (has(self.initProvider) && has(self.initProvider.policyName))' + - message: spec.forProvider.policyTypeName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policyTypeName) - || has(self.initProvider.policyTypeName)' + || (has(self.initProvider) && has(self.initProvider.policyTypeName))' status: description: PolicyStatus defines the observed state of Policy. properties: diff --git a/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml b/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml index bb8fb6709d..51fac2fa0d 100644 --- a/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml +++ b/package/crds/elb.aws.upbound.io_proxyprotocolpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: proxyprotocolpolicies.elb.aws.upbound.io spec: group: elb.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -377,10 +341,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instancePorts is a required parameter + - message: spec.forProvider.instancePorts is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instancePorts) - || has(self.initProvider.instancePorts)' + || (has(self.initProvider) && has(self.initProvider.instancePorts))' status: description: ProxyProtocolPolicyStatus defines the observed state of ProxyProtocolPolicy. properties: diff --git a/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml b/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml index e1fdacc00e..9082ed567c 100644 --- a/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml +++ b/package/crds/elbv2.aws.upbound.io_lblistenerrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lblistenerrules.elbv2.aws.upbound.io spec: group: elbv2.aws.upbound.io @@ -1359,42 +1359,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1493,14 +1457,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: condition is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.condition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.condition) - || has(self.initProvider.condition)' + || (has(self.initProvider) && has(self.initProvider.condition))' status: description: LBListenerRuleStatus defines the observed state of LBListenerRule. properties: diff --git a/package/crds/elbv2.aws.upbound.io_lblisteners.yaml b/package/crds/elbv2.aws.upbound.io_lblisteners.yaml index 124af85e5d..545e689813 100644 --- a/package/crds/elbv2.aws.upbound.io_lblisteners.yaml +++ b/package/crds/elbv2.aws.upbound.io_lblisteners.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lblisteners.elbv2.aws.upbound.io spec: group: elbv2.aws.upbound.io @@ -870,42 +870,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1004,10 +968,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: defaultAction is a required parameter + - message: spec.forProvider.defaultAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultAction) - || has(self.initProvider.defaultAction)' + || (has(self.initProvider) && has(self.initProvider.defaultAction))' status: description: LBListenerStatus defines the observed state of LBListener. properties: diff --git a/package/crds/elbv2.aws.upbound.io_lbs.yaml b/package/crds/elbv2.aws.upbound.io_lbs.yaml index ac5ac94957..5dbb5c8460 100644 --- a/package/crds/elbv2.aws.upbound.io_lbs.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbs.elbv2.aws.upbound.io spec: group: elbv2.aws.upbound.io @@ -725,42 +725,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml b/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml index 951235d90a..4c3df1060d 100644 --- a/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbtargetgroupattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbtargetgroupattachments.elbv2.aws.upbound.io spec: group: elbv2.aws.upbound.io @@ -261,42 +261,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -395,10 +359,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetId is a required parameter + - message: spec.forProvider.targetId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetId) - || has(self.initProvider.targetId)' + || (has(self.initProvider) && has(self.initProvider.targetId))' status: description: LBTargetGroupAttachmentStatus defines the observed state of LBTargetGroupAttachment. diff --git a/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml b/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml index f32d182d16..a6b3a99c4a 100644 --- a/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml +++ b/package/crds/elbv2.aws.upbound.io_lbtargetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbtargetgroups.elbv2.aws.upbound.io spec: group: elbv2.aws.upbound.io @@ -604,42 +604,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -738,10 +702,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: LBTargetGroupStatus defines the observed state of LBTargetGroup. properties: diff --git a/package/crds/emr.aws.upbound.io_securityconfigurations.yaml b/package/crds/emr.aws.upbound.io_securityconfigurations.yaml index 9b3ddbf952..d392912e08 100644 --- a/package/crds/emr.aws.upbound.io_securityconfigurations.yaml +++ b/package/crds/emr.aws.upbound.io_securityconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: securityconfigurations.emr.aws.upbound.io spec: group: emr.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: configuration is a required parameter + - message: spec.forProvider.configuration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.configuration) - || has(self.initProvider.configuration)' + || (has(self.initProvider) && has(self.initProvider.configuration))' status: description: SecurityConfigurationStatus defines the observed state of SecurityConfiguration. diff --git a/package/crds/emrserverless.aws.upbound.io_applications.yaml b/package/crds/emrserverless.aws.upbound.io_applications.yaml index 7979ba4c7c..ecec75dd77 100644 --- a/package/crds/emrserverless.aws.upbound.io_applications.yaml +++ b/package/crds/emrserverless.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.emrserverless.aws.upbound.io spec: group: emrserverless.aws.upbound.io @@ -420,42 +420,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -554,18 +518,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: releaseLabel is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.releaseLabel is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.releaseLabel) - || has(self.initProvider.releaseLabel)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.releaseLabel))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: ApplicationStatus defines the observed state of Application. properties: diff --git a/package/crds/evidently.aws.upbound.io_features.yaml b/package/crds/evidently.aws.upbound.io_features.yaml index 64afec3b5a..de6a27a777 100644 --- a/package/crds/evidently.aws.upbound.io_features.yaml +++ b/package/crds/evidently.aws.upbound.io_features.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: features.evidently.aws.upbound.io spec: group: evidently.aws.upbound.io @@ -369,42 +369,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -503,10 +467,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: variations is a required parameter + - message: spec.forProvider.variations is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.variations) - || has(self.initProvider.variations)' + || (has(self.initProvider) && has(self.initProvider.variations))' status: description: FeatureStatus defines the observed state of Feature. properties: diff --git a/package/crds/evidently.aws.upbound.io_projects.yaml b/package/crds/evidently.aws.upbound.io_projects.yaml index 1ec40b9773..b9ecf31bbc 100644 --- a/package/crds/evidently.aws.upbound.io_projects.yaml +++ b/package/crds/evidently.aws.upbound.io_projects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: projects.evidently.aws.upbound.io spec: group: evidently.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ProjectStatus defines the observed state of Project. properties: diff --git a/package/crds/evidently.aws.upbound.io_segments.yaml b/package/crds/evidently.aws.upbound.io_segments.yaml index 8db768eb70..8d0cb2a4a2 100644 --- a/package/crds/evidently.aws.upbound.io_segments.yaml +++ b/package/crds/evidently.aws.upbound.io_segments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: segments.evidently.aws.upbound.io spec: group: evidently.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -310,10 +274,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: pattern is a required parameter + - message: spec.forProvider.pattern is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.pattern) - || has(self.initProvider.pattern)' + || (has(self.initProvider) && has(self.initProvider.pattern))' status: description: SegmentStatus defines the observed state of Segment. properties: diff --git a/package/crds/firehose.aws.upbound.io_deliverystreams.yaml b/package/crds/firehose.aws.upbound.io_deliverystreams.yaml index 7015c9bcc5..da55e0e283 100644 --- a/package/crds/firehose.aws.upbound.io_deliverystreams.yaml +++ b/package/crds/firehose.aws.upbound.io_deliverystreams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: deliverystreams.firehose.aws.upbound.io spec: group: firehose.aws.upbound.io @@ -4125,42 +4125,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -4259,14 +4223,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.destination))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: DeliveryStreamStatus defines the observed state of DeliveryStream. properties: diff --git a/package/crds/fis.aws.upbound.io_experimenttemplates.yaml b/package/crds/fis.aws.upbound.io_experimenttemplates.yaml index 49631da8b0..ec8570acf1 100644 --- a/package/crds/fis.aws.upbound.io_experimenttemplates.yaml +++ b/package/crds/fis.aws.upbound.io_experimenttemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: experimenttemplates.fis.aws.upbound.io spec: group: fis.aws.upbound.io @@ -485,42 +485,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -619,18 +583,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: description is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: stopCondition is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.stopCondition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.stopCondition) - || has(self.initProvider.stopCondition)' + || (has(self.initProvider) && has(self.initProvider.stopCondition))' status: description: ExperimentTemplateStatus defines the observed state of ExperimentTemplate. properties: diff --git a/package/crds/fsx.aws.upbound.io_backups.yaml b/package/crds/fsx.aws.upbound.io_backups.yaml index 9223dd7fcb..55e1f63c11 100644 --- a/package/crds/fsx.aws.upbound.io_backups.yaml +++ b/package/crds/fsx.aws.upbound.io_backups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: backups.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml b/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml index 778ad09d9b..4a390325b5 100644 --- a/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml +++ b/package/crds/fsx.aws.upbound.io_datarepositoryassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datarepositoryassociations.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -408,42 +408,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -542,14 +506,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dataRepositoryPath is a required parameter + - message: spec.forProvider.dataRepositoryPath is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataRepositoryPath) - || has(self.initProvider.dataRepositoryPath)' - - message: fileSystemPath is a required parameter + || (has(self.initProvider) && has(self.initProvider.dataRepositoryPath))' + - message: spec.forProvider.fileSystemPath is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.fileSystemPath) - || has(self.initProvider.fileSystemPath)' + || (has(self.initProvider) && has(self.initProvider.fileSystemPath))' status: description: DataRepositoryAssociationStatus defines the observed state of DataRepositoryAssociation. diff --git a/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml b/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml index 01f9ffd70e..f998579c34 100644 --- a/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_lustrefilesystems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lustrefilesystems.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -705,42 +705,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml b/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml index a20883348f..ec7867de14 100644 --- a/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_ontapfilesystems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ontapfilesystems.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -626,42 +626,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -760,14 +724,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: deploymentType is a required parameter + - message: spec.forProvider.deploymentType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.deploymentType) - || has(self.initProvider.deploymentType)' - - message: throughputCapacity is a required parameter + || (has(self.initProvider) && has(self.initProvider.deploymentType))' + - message: spec.forProvider.throughputCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.throughputCapacity) - || has(self.initProvider.throughputCapacity)' + || (has(self.initProvider) && has(self.initProvider.throughputCapacity))' status: description: OntapFileSystemStatus defines the observed state of OntapFileSystem. properties: diff --git a/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml b/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml index e6c806492c..51221c1953 100644 --- a/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml +++ b/package/crds/fsx.aws.upbound.io_ontapstoragevirtualmachines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ontapstoragevirtualmachines.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -409,42 +409,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -543,10 +507,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: OntapStorageVirtualMachineStatus defines the observed state of OntapStorageVirtualMachine. diff --git a/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml b/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml index a127cb430c..6ca5bb687f 100644 --- a/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml +++ b/package/crds/fsx.aws.upbound.io_windowsfilesystems.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: windowsfilesystems.fsx.aws.upbound.io spec: group: fsx.aws.upbound.io @@ -782,42 +782,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -916,10 +880,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: throughputCapacity is a required parameter + - message: spec.forProvider.throughputCapacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.throughputCapacity) - || has(self.initProvider.throughputCapacity)' + || (has(self.initProvider) && has(self.initProvider.throughputCapacity))' status: description: WindowsFileSystemStatus defines the observed state of WindowsFileSystem. properties: diff --git a/package/crds/gamelift.aws.upbound.io_aliases.yaml b/package/crds/gamelift.aws.upbound.io_aliases.yaml index 64163adbbd..9fd3e03cd1 100644 --- a/package/crds/gamelift.aws.upbound.io_aliases.yaml +++ b/package/crds/gamelift.aws.upbound.io_aliases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: aliases.gamelift.aws.upbound.io spec: group: gamelift.aws.upbound.io @@ -210,42 +210,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -344,14 +308,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: routingStrategy is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.routingStrategy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.routingStrategy) - || has(self.initProvider.routingStrategy)' + || (has(self.initProvider) && has(self.initProvider.routingStrategy))' status: description: AliasStatus defines the observed state of Alias. properties: diff --git a/package/crds/gamelift.aws.upbound.io_builds.yaml b/package/crds/gamelift.aws.upbound.io_builds.yaml index c9dc14936a..e7373c8fee 100644 --- a/package/crds/gamelift.aws.upbound.io_builds.yaml +++ b/package/crds/gamelift.aws.upbound.io_builds.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: builds.gamelift.aws.upbound.io spec: group: gamelift.aws.upbound.io @@ -443,42 +443,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -577,18 +541,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: operatingSystem is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.operatingSystem is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.operatingSystem) - || has(self.initProvider.operatingSystem)' - - message: storageLocation is a required parameter + || (has(self.initProvider) && has(self.initProvider.operatingSystem))' + - message: spec.forProvider.storageLocation is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.storageLocation) - || has(self.initProvider.storageLocation)' + || (has(self.initProvider) && has(self.initProvider.storageLocation))' status: description: BuildStatus defines the observed state of Build. properties: diff --git a/package/crds/gamelift.aws.upbound.io_fleet.yaml b/package/crds/gamelift.aws.upbound.io_fleet.yaml index f191fe3bca..b8e6472bfc 100644 --- a/package/crds/gamelift.aws.upbound.io_fleet.yaml +++ b/package/crds/gamelift.aws.upbound.io_fleet.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: fleet.gamelift.aws.upbound.io spec: group: gamelift.aws.upbound.io @@ -551,42 +551,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -685,14 +649,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ec2InstanceType is a required parameter + - message: spec.forProvider.ec2InstanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ec2InstanceType) - || has(self.initProvider.ec2InstanceType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.ec2InstanceType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: FleetStatus defines the observed state of Fleet. properties: diff --git a/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml b/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml index 4e5b93078f..3eb01ad550 100644 --- a/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml +++ b/package/crds/gamelift.aws.upbound.io_gamesessionqueues.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: gamesessionqueues.gamelift.aws.upbound.io spec: group: gamelift.aws.upbound.io @@ -301,42 +301,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/gamelift.aws.upbound.io_scripts.yaml b/package/crds/gamelift.aws.upbound.io_scripts.yaml index de6f8c7951..9c2dd032df 100644 --- a/package/crds/gamelift.aws.upbound.io_scripts.yaml +++ b/package/crds/gamelift.aws.upbound.io_scripts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: scripts.gamelift.aws.upbound.io spec: group: gamelift.aws.upbound.io @@ -445,42 +445,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -579,10 +543,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ScriptStatus defines the observed state of Script. properties: diff --git a/package/crds/glacier.aws.upbound.io_vaultlocks.yaml b/package/crds/glacier.aws.upbound.io_vaultlocks.yaml index f110cc39b8..0bc69c7190 100644 --- a/package/crds/glacier.aws.upbound.io_vaultlocks.yaml +++ b/package/crds/glacier.aws.upbound.io_vaultlocks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaultlocks.glacier.aws.upbound.io spec: group: glacier.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -396,14 +360,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: completeLock is a required parameter + - message: spec.forProvider.completeLock is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.completeLock) - || has(self.initProvider.completeLock)' - - message: policy is a required parameter + || (has(self.initProvider) && has(self.initProvider.completeLock))' + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: VaultLockStatus defines the observed state of VaultLock. properties: diff --git a/package/crds/glacier.aws.upbound.io_vaults.yaml b/package/crds/glacier.aws.upbound.io_vaults.yaml index f4a53353b5..7517517ffb 100644 --- a/package/crds/glacier.aws.upbound.io_vaults.yaml +++ b/package/crds/glacier.aws.upbound.io_vaults.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vaults.glacier.aws.upbound.io spec: group: glacier.aws.upbound.io @@ -280,42 +280,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/globalaccelerator.aws.upbound.io_accelerators.yaml b/package/crds/globalaccelerator.aws.upbound.io_accelerators.yaml index 27161b9edd..129dafee11 100644 --- a/package/crds/globalaccelerator.aws.upbound.io_accelerators.yaml +++ b/package/crds/globalaccelerator.aws.upbound.io_accelerators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accelerators.globalaccelerator.aws.upbound.io spec: group: globalaccelerator.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AcceleratorStatus defines the observed state of Accelerator. properties: diff --git a/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml b/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml index f235d23b6d..22a39be4dd 100644 --- a/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml +++ b/package/crds/globalaccelerator.aws.upbound.io_endpointgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: endpointgroups.globalaccelerator.aws.upbound.io spec: group: globalaccelerator.aws.upbound.io @@ -384,42 +384,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml b/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml index 523549f7ea..91fe827c7c 100644 --- a/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml +++ b/package/crds/globalaccelerator.aws.upbound.io_listeners.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: listeners.globalaccelerator.aws.upbound.io spec: group: globalaccelerator.aws.upbound.io @@ -280,42 +280,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -414,14 +378,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: portRange is a required parameter + - message: spec.forProvider.portRange is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.portRange) - || has(self.initProvider.portRange)' - - message: protocol is a required parameter + || (has(self.initProvider) && has(self.initProvider.portRange))' + - message: spec.forProvider.protocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocol) - || has(self.initProvider.protocol)' + || (has(self.initProvider) && has(self.initProvider.protocol))' status: description: ListenerStatus defines the observed state of Listener. properties: diff --git a/package/crds/glue.aws.upbound.io_catalogdatabases.yaml b/package/crds/glue.aws.upbound.io_catalogdatabases.yaml index 1a1b5795c5..3c78d65e2c 100644 --- a/package/crds/glue.aws.upbound.io_catalogdatabases.yaml +++ b/package/crds/glue.aws.upbound.io_catalogdatabases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: catalogdatabases.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -263,42 +263,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_catalogtables.yaml b/package/crds/glue.aws.upbound.io_catalogtables.yaml index b2eee61b89..cbc86d3c77 100644 --- a/package/crds/glue.aws.upbound.io_catalogtables.yaml +++ b/package/crds/glue.aws.upbound.io_catalogtables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: catalogtables.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -713,42 +713,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_classifiers.yaml b/package/crds/glue.aws.upbound.io_classifiers.yaml index 3b961859e5..f79b31fc24 100644 --- a/package/crds/glue.aws.upbound.io_classifiers.yaml +++ b/package/crds/glue.aws.upbound.io_classifiers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: classifiers.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -332,42 +332,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_connections.yaml b/package/crds/glue.aws.upbound.io_connections.yaml index 52804f5ce2..b556d5b8e0 100644 --- a/package/crds/glue.aws.upbound.io_connections.yaml +++ b/package/crds/glue.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -393,42 +393,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_crawlers.yaml b/package/crds/glue.aws.upbound.io_crawlers.yaml index 894925121e..2a5032ab5b 100644 --- a/package/crds/glue.aws.upbound.io_crawlers.yaml +++ b/package/crds/glue.aws.upbound.io_crawlers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: crawlers.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -1012,42 +1012,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml b/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml index dc1c5d0bef..094814e922 100644 --- a/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml +++ b/package/crds/glue.aws.upbound.io_datacatalogencryptionsettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datacatalogencryptionsettings.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -407,42 +407,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -541,10 +505,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dataCatalogEncryptionSettings is a required parameter + - message: spec.forProvider.dataCatalogEncryptionSettings is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataCatalogEncryptionSettings) - || has(self.initProvider.dataCatalogEncryptionSettings)' + || (has(self.initProvider) && has(self.initProvider.dataCatalogEncryptionSettings))' status: description: DataCatalogEncryptionSettingsStatus defines the observed state of DataCatalogEncryptionSettings. diff --git a/package/crds/glue.aws.upbound.io_jobs.yaml b/package/crds/glue.aws.upbound.io_jobs.yaml index af713da4b7..bca620dec2 100644 --- a/package/crds/glue.aws.upbound.io_jobs.yaml +++ b/package/crds/glue.aws.upbound.io_jobs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: jobs.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -443,42 +443,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -577,10 +541,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: command is a required parameter + - message: spec.forProvider.command is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.command) - || has(self.initProvider.command)' + || (has(self.initProvider) && has(self.initProvider.command))' status: description: JobStatus defines the observed state of Job. properties: diff --git a/package/crds/glue.aws.upbound.io_registries.yaml b/package/crds/glue.aws.upbound.io_registries.yaml index dd8e7b930f..ceff0521e8 100644 --- a/package/crds/glue.aws.upbound.io_registries.yaml +++ b/package/crds/glue.aws.upbound.io_registries.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: registries.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/glue.aws.upbound.io_resourcepolicies.yaml b/package/crds/glue.aws.upbound.io_resourcepolicies.yaml index d18ebe855d..31cc31571e 100644 --- a/package/crds/glue.aws.upbound.io_resourcepolicies.yaml +++ b/package/crds/glue.aws.upbound.io_resourcepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcepolicies.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -302,10 +266,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: ResourcePolicyStatus defines the observed state of ResourcePolicy. properties: diff --git a/package/crds/glue.aws.upbound.io_schemas.yaml b/package/crds/glue.aws.upbound.io_schemas.yaml index d02818334d..9d6da1d667 100644 --- a/package/crds/glue.aws.upbound.io_schemas.yaml +++ b/package/crds/glue.aws.upbound.io_schemas.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schemas.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -277,42 +277,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -411,22 +375,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: compatibility is a required parameter + - message: spec.forProvider.compatibility is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.compatibility) - || has(self.initProvider.compatibility)' - - message: dataFormat is a required parameter + || (has(self.initProvider) && has(self.initProvider.compatibility))' + - message: spec.forProvider.dataFormat is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataFormat) - || has(self.initProvider.dataFormat)' - - message: schemaDefinition is a required parameter + || (has(self.initProvider) && has(self.initProvider.dataFormat))' + - message: spec.forProvider.schemaDefinition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schemaDefinition) - || has(self.initProvider.schemaDefinition)' - - message: schemaName is a required parameter + || (has(self.initProvider) && has(self.initProvider.schemaDefinition))' + - message: spec.forProvider.schemaName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schemaName) - || has(self.initProvider.schemaName)' + || (has(self.initProvider) && has(self.initProvider.schemaName))' status: description: SchemaStatus defines the observed state of Schema. properties: diff --git a/package/crds/glue.aws.upbound.io_securityconfigurations.yaml b/package/crds/glue.aws.upbound.io_securityconfigurations.yaml index 9de0566b18..6131885a8f 100644 --- a/package/crds/glue.aws.upbound.io_securityconfigurations.yaml +++ b/package/crds/glue.aws.upbound.io_securityconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: securityconfigurations.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -482,42 +482,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -616,10 +580,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: encryptionConfiguration is a required parameter + - message: spec.forProvider.encryptionConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.encryptionConfiguration) - || has(self.initProvider.encryptionConfiguration)' + || (has(self.initProvider) && has(self.initProvider.encryptionConfiguration))' status: description: SecurityConfigurationStatus defines the observed state of SecurityConfiguration. diff --git a/package/crds/glue.aws.upbound.io_triggers.yaml b/package/crds/glue.aws.upbound.io_triggers.yaml index 7858a966fa..632f6fa091 100644 --- a/package/crds/glue.aws.upbound.io_triggers.yaml +++ b/package/crds/glue.aws.upbound.io_triggers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: triggers.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -706,42 +706,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -840,14 +804,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: actions is a required parameter + - message: spec.forProvider.actions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.actions) - || has(self.initProvider.actions)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.actions))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: TriggerStatus defines the observed state of Trigger. properties: diff --git a/package/crds/glue.aws.upbound.io_userdefinedfunctions.yaml b/package/crds/glue.aws.upbound.io_userdefinedfunctions.yaml index e817afb40b..67114caa7c 100644 --- a/package/crds/glue.aws.upbound.io_userdefinedfunctions.yaml +++ b/package/crds/glue.aws.upbound.io_userdefinedfunctions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userdefinedfunctions.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -281,42 +281,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -415,18 +379,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: className is a required parameter + - message: spec.forProvider.className is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.className) - || has(self.initProvider.className)' - - message: ownerName is a required parameter + || (has(self.initProvider) && has(self.initProvider.className))' + - message: spec.forProvider.ownerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ownerName) - || has(self.initProvider.ownerName)' - - message: ownerType is a required parameter + || (has(self.initProvider) && has(self.initProvider.ownerName))' + - message: spec.forProvider.ownerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ownerType) - || has(self.initProvider.ownerType)' + || (has(self.initProvider) && has(self.initProvider.ownerType))' status: description: UserDefinedFunctionStatus defines the observed state of UserDefinedFunction. properties: diff --git a/package/crds/glue.aws.upbound.io_workflows.yaml b/package/crds/glue.aws.upbound.io_workflows.yaml index 9c3eadaa4c..2615dab54f 100644 --- a/package/crds/glue.aws.upbound.io_workflows.yaml +++ b/package/crds/glue.aws.upbound.io_workflows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workflows.glue.aws.upbound.io spec: group: glue.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/grafana.aws.upbound.io_licenseassociations.yaml b/package/crds/grafana.aws.upbound.io_licenseassociations.yaml index c50dfa47f0..fe53c8208c 100644 --- a/package/crds/grafana.aws.upbound.io_licenseassociations.yaml +++ b/package/crds/grafana.aws.upbound.io_licenseassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: licenseassociations.grafana.aws.upbound.io spec: group: grafana.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: licenseType is a required parameter + - message: spec.forProvider.licenseType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.licenseType) - || has(self.initProvider.licenseType)' + || (has(self.initProvider) && has(self.initProvider.licenseType))' status: description: LicenseAssociationStatus defines the observed state of LicenseAssociation. properties: diff --git a/package/crds/grafana.aws.upbound.io_roleassociations.yaml b/package/crds/grafana.aws.upbound.io_roleassociations.yaml index 6d71a99f1c..fab115c16b 100644 --- a/package/crds/grafana.aws.upbound.io_roleassociations.yaml +++ b/package/crds/grafana.aws.upbound.io_roleassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: roleassociations.grafana.aws.upbound.io spec: group: grafana.aws.upbound.io @@ -258,42 +258,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -392,10 +356,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: role is a required parameter + - message: spec.forProvider.role is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.role) - || has(self.initProvider.role)' + || (has(self.initProvider) && has(self.initProvider.role))' status: description: RoleAssociationStatus defines the observed state of RoleAssociation. properties: diff --git a/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml b/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml index ec30637117..599dd23ab5 100644 --- a/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml +++ b/package/crds/grafana.aws.upbound.io_workspaceapikeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workspaceapikeys.grafana.aws.upbound.io spec: group: grafana.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -388,18 +352,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: keyName is a required parameter + - message: spec.forProvider.keyName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.keyName) - || has(self.initProvider.keyName)' - - message: keyRole is a required parameter + || (has(self.initProvider) && has(self.initProvider.keyName))' + - message: spec.forProvider.keyRole is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.keyRole) - || has(self.initProvider.keyRole)' - - message: secondsToLive is a required parameter + || (has(self.initProvider) && has(self.initProvider.keyRole))' + - message: spec.forProvider.secondsToLive is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.secondsToLive) - || has(self.initProvider.secondsToLive)' + || (has(self.initProvider) && has(self.initProvider.secondsToLive))' status: description: WorkspaceAPIKeyStatus defines the observed state of WorkspaceAPIKey. properties: diff --git a/package/crds/grafana.aws.upbound.io_workspaces.yaml b/package/crds/grafana.aws.upbound.io_workspaces.yaml index 4ab9b5d60d..db9dce6f56 100644 --- a/package/crds/grafana.aws.upbound.io_workspaces.yaml +++ b/package/crds/grafana.aws.upbound.io_workspaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workspaces.grafana.aws.upbound.io spec: group: grafana.aws.upbound.io @@ -450,42 +450,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -584,18 +548,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountAccessType is a required parameter + - message: spec.forProvider.accountAccessType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountAccessType) - || has(self.initProvider.accountAccessType)' - - message: authenticationProviders is a required parameter + || (has(self.initProvider) && has(self.initProvider.accountAccessType))' + - message: spec.forProvider.authenticationProviders is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authenticationProviders) - || has(self.initProvider.authenticationProviders)' - - message: permissionType is a required parameter + || (has(self.initProvider) && has(self.initProvider.authenticationProviders))' + - message: spec.forProvider.permissionType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.permissionType) - || has(self.initProvider.permissionType)' + || (has(self.initProvider) && has(self.initProvider.permissionType))' status: description: WorkspaceStatus defines the observed state of Workspace. properties: diff --git a/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml b/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml index 5c5388bfca..a01a4af647 100644 --- a/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml +++ b/package/crds/grafana.aws.upbound.io_workspacesamlconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workspacesamlconfigurations.grafana.aws.upbound.io spec: group: grafana.aws.upbound.io @@ -317,42 +317,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -451,10 +415,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: editorRoleValues is a required parameter + - message: spec.forProvider.editorRoleValues is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.editorRoleValues) - || has(self.initProvider.editorRoleValues)' + || (has(self.initProvider) && has(self.initProvider.editorRoleValues))' status: description: WorkspaceSAMLConfigurationStatus defines the observed state of WorkspaceSAMLConfiguration. diff --git a/package/crds/guardduty.aws.upbound.io_detectors.yaml b/package/crds/guardduty.aws.upbound.io_detectors.yaml index 286bea9c41..67a25ec8be 100644 --- a/package/crds/guardduty.aws.upbound.io_detectors.yaml +++ b/package/crds/guardduty.aws.upbound.io_detectors.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: detectors.guardduty.aws.upbound.io spec: group: guardduty.aws.upbound.io @@ -326,42 +326,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/guardduty.aws.upbound.io_filters.yaml b/package/crds/guardduty.aws.upbound.io_filters.yaml index ec81f17944..bfabef8ec6 100644 --- a/package/crds/guardduty.aws.upbound.io_filters.yaml +++ b/package/crds/guardduty.aws.upbound.io_filters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: filters.guardduty.aws.upbound.io spec: group: guardduty.aws.upbound.io @@ -352,42 +352,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -486,18 +450,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: findingCriteria is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.findingCriteria is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.findingCriteria) - || has(self.initProvider.findingCriteria)' - - message: rank is a required parameter + || (has(self.initProvider) && has(self.initProvider.findingCriteria))' + - message: spec.forProvider.rank is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rank) - || has(self.initProvider.rank)' + || (has(self.initProvider) && has(self.initProvider.rank))' status: description: FilterStatus defines the observed state of Filter. properties: diff --git a/package/crds/guardduty.aws.upbound.io_members.yaml b/package/crds/guardduty.aws.upbound.io_members.yaml index 7b48005e2b..8530ce1a49 100644 --- a/package/crds/guardduty.aws.upbound.io_members.yaml +++ b/package/crds/guardduty.aws.upbound.io_members.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: members.guardduty.aws.upbound.io spec: group: guardduty.aws.upbound.io @@ -337,42 +337,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -471,10 +435,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: email is a required parameter + - message: spec.forProvider.email is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.email) - || has(self.initProvider.email)' + || (has(self.initProvider) && has(self.initProvider.email))' status: description: MemberStatus defines the observed state of Member. properties: diff --git a/package/crds/iam.aws.upbound.io_accesskeys.yaml b/package/crds/iam.aws.upbound.io_accesskeys.yaml index 16265775c4..3cbae53fe0 100644 --- a/package/crds/iam.aws.upbound.io_accesskeys.yaml +++ b/package/crds/iam.aws.upbound.io_accesskeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accesskeys.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -247,42 +247,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_accountaliases.yaml b/package/crds/iam.aws.upbound.io_accountaliases.yaml index 9cc888777b..8f1583b1db 100644 --- a/package/crds/iam.aws.upbound.io_accountaliases.yaml +++ b/package/crds/iam.aws.upbound.io_accountaliases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accountaliases.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -144,42 +144,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_accountpasswordpolicies.yaml b/package/crds/iam.aws.upbound.io_accountpasswordpolicies.yaml index 7b43100d27..d6d733fba0 100644 --- a/package/crds/iam.aws.upbound.io_accountpasswordpolicies.yaml +++ b/package/crds/iam.aws.upbound.io_accountpasswordpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accountpasswordpolicies.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -210,42 +210,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_groupmemberships.yaml b/package/crds/iam.aws.upbound.io_groupmemberships.yaml index f41d9d80b7..4db7d68671 100644 --- a/package/crds/iam.aws.upbound.io_groupmemberships.yaml +++ b/package/crds/iam.aws.upbound.io_groupmemberships.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groupmemberships.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -310,42 +310,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -444,10 +408,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: GroupMembershipStatus defines the observed state of GroupMembership. properties: diff --git a/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml b/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml index e8cf684d76..d04cd88933 100644 --- a/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_grouppolicyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: grouppolicyattachments.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -297,42 +297,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_groups.yaml b/package/crds/iam.aws.upbound.io_groups.yaml index 54b1fbd7b1..b9a4a925b4 100644 --- a/package/crds/iam.aws.upbound.io_groups.yaml +++ b/package/crds/iam.aws.upbound.io_groups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groups.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -151,42 +151,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_instanceprofiles.yaml b/package/crds/iam.aws.upbound.io_instanceprofiles.yaml index 1df7bef91e..ce386cd9ec 100644 --- a/package/crds/iam.aws.upbound.io_instanceprofiles.yaml +++ b/package/crds/iam.aws.upbound.io_instanceprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instanceprofiles.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_openidconnectproviders.yaml b/package/crds/iam.aws.upbound.io_openidconnectproviders.yaml index bb61052e54..5d1c931a04 100644 --- a/package/crds/iam.aws.upbound.io_openidconnectproviders.yaml +++ b/package/crds/iam.aws.upbound.io_openidconnectproviders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: openidconnectproviders.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -194,42 +194,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -328,18 +292,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: clientIdList is a required parameter + - message: spec.forProvider.clientIdList is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.clientIdList) - || has(self.initProvider.clientIdList)' - - message: thumbprintList is a required parameter + || (has(self.initProvider) && has(self.initProvider.clientIdList))' + - message: spec.forProvider.thumbprintList is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.thumbprintList) - || has(self.initProvider.thumbprintList)' - - message: url is a required parameter + || (has(self.initProvider) && has(self.initProvider.thumbprintList))' + - message: spec.forProvider.url is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.url) - || has(self.initProvider.url)' + || (has(self.initProvider) && has(self.initProvider.url))' status: description: OpenIDConnectProviderStatus defines the observed state of OpenIDConnectProvider. diff --git a/package/crds/iam.aws.upbound.io_policies.yaml b/package/crds/iam.aws.upbound.io_policies.yaml index 307e226407..104daa0bdd 100644 --- a/package/crds/iam.aws.upbound.io_policies.yaml +++ b/package/crds/iam.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -175,42 +175,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -309,10 +273,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: PolicyStatus defines the observed state of Policy. properties: diff --git a/package/crds/iam.aws.upbound.io_rolepolicies.yaml b/package/crds/iam.aws.upbound.io_rolepolicies.yaml index 4621556d8c..5d6f6b680b 100644 --- a/package/crds/iam.aws.upbound.io_rolepolicies.yaml +++ b/package/crds/iam.aws.upbound.io_rolepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rolepolicies.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -230,42 +230,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -364,10 +328,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: RolePolicyStatus defines the observed state of RolePolicy. properties: diff --git a/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml b/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml index 23f2d474f7..7029dd4406 100644 --- a/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_rolepolicyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rolepolicyattachments.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -298,42 +298,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_roles.yaml b/package/crds/iam.aws.upbound.io_roles.yaml index 26ebcc7b17..dc2ae12807 100644 --- a/package/crds/iam.aws.upbound.io_roles.yaml +++ b/package/crds/iam.aws.upbound.io_roles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: roles.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -261,42 +261,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -395,10 +359,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: assumeRolePolicy is a required parameter + - message: spec.forProvider.assumeRolePolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.assumeRolePolicy) - || has(self.initProvider.assumeRolePolicy)' + || (has(self.initProvider) && has(self.initProvider.assumeRolePolicy))' status: description: RoleStatus defines the observed state of Role. properties: diff --git a/package/crds/iam.aws.upbound.io_samlproviders.yaml b/package/crds/iam.aws.upbound.io_samlproviders.yaml index 9e2be6795a..983f8cfdb9 100644 --- a/package/crds/iam.aws.upbound.io_samlproviders.yaml +++ b/package/crds/iam.aws.upbound.io_samlproviders.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: samlproviders.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -164,42 +164,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -298,10 +262,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: samlMetadataDocument is a required parameter + - message: spec.forProvider.samlMetadataDocument is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.samlMetadataDocument) - || has(self.initProvider.samlMetadataDocument)' + || (has(self.initProvider) && has(self.initProvider.samlMetadataDocument))' status: description: SAMLProviderStatus defines the observed state of SAMLProvider. properties: diff --git a/package/crds/iam.aws.upbound.io_servercertificates.yaml b/package/crds/iam.aws.upbound.io_servercertificates.yaml index db69743ea6..c066011dc7 100644 --- a/package/crds/iam.aws.upbound.io_servercertificates.yaml +++ b/package/crds/iam.aws.upbound.io_servercertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servercertificates.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -197,42 +197,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -331,11 +295,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: certificateBody is a required parameter + - message: spec.forProvider.certificateBody is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.certificateBody) - || has(self.initProvider.certificateBody)' - - message: privateKeySecretRef is a required parameter + || (has(self.initProvider) && has(self.initProvider.certificateBody))' + - message: spec.forProvider.privateKeySecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.privateKeySecretRef)' status: diff --git a/package/crds/iam.aws.upbound.io_servicelinkedroles.yaml b/package/crds/iam.aws.upbound.io_servicelinkedroles.yaml index 6db596f734..ec136ac236 100644 --- a/package/crds/iam.aws.upbound.io_servicelinkedroles.yaml +++ b/package/crds/iam.aws.upbound.io_servicelinkedroles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servicelinkedroles.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -184,42 +184,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -318,10 +282,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: awsServiceName is a required parameter + - message: spec.forProvider.awsServiceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.awsServiceName) - || has(self.initProvider.awsServiceName)' + || (has(self.initProvider) && has(self.initProvider.awsServiceName))' status: description: ServiceLinkedRoleStatus defines the observed state of ServiceLinkedRole. properties: diff --git a/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml b/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml index 95e9eecaf2..e47aee1f48 100644 --- a/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml +++ b/package/crds/iam.aws.upbound.io_servicespecificcredentials.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servicespecificcredentials.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: serviceName is a required parameter + - message: spec.forProvider.serviceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceName) - || has(self.initProvider.serviceName)' + || (has(self.initProvider) && has(self.initProvider.serviceName))' status: description: ServiceSpecificCredentialStatus defines the observed state of ServiceSpecificCredential. diff --git a/package/crds/iam.aws.upbound.io_signingcertificates.yaml b/package/crds/iam.aws.upbound.io_signingcertificates.yaml index 65138352e1..25a8897a12 100644 --- a/package/crds/iam.aws.upbound.io_signingcertificates.yaml +++ b/package/crds/iam.aws.upbound.io_signingcertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: signingcertificates.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -172,42 +172,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -306,14 +270,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: certificateBody is a required parameter + - message: spec.forProvider.certificateBody is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.certificateBody) - || has(self.initProvider.certificateBody)' - - message: userName is a required parameter + || (has(self.initProvider) && has(self.initProvider.certificateBody))' + - message: spec.forProvider.userName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.userName) - || has(self.initProvider.userName)' + || (has(self.initProvider) && has(self.initProvider.userName))' status: description: SigningCertificateStatus defines the observed state of SigningCertificate. properties: diff --git a/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml b/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml index 764f4f46a1..ec30f80cc3 100644 --- a/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml +++ b/package/crds/iam.aws.upbound.io_usergroupmemberships.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usergroupmemberships.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_userloginprofiles.yaml b/package/crds/iam.aws.upbound.io_userloginprofiles.yaml index f73ffe6151..60e2b7fb75 100644 --- a/package/crds/iam.aws.upbound.io_userloginprofiles.yaml +++ b/package/crds/iam.aws.upbound.io_userloginprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userloginprofiles.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml b/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml index c91a6f93f3..6911466535 100644 --- a/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml +++ b/package/crds/iam.aws.upbound.io_userpolicyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userpolicyattachments.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -297,42 +297,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_users.yaml b/package/crds/iam.aws.upbound.io_users.yaml index 248dabc8f3..589935f4ac 100644 --- a/package/crds/iam.aws.upbound.io_users.yaml +++ b/package/crds/iam.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -187,42 +187,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iam.aws.upbound.io_usersshkeys.yaml b/package/crds/iam.aws.upbound.io_usersshkeys.yaml index bef0919574..c1a9ffec69 100644 --- a/package/crds/iam.aws.upbound.io_usersshkeys.yaml +++ b/package/crds/iam.aws.upbound.io_usersshkeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usersshkeys.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -253,42 +253,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -387,14 +351,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: encoding is a required parameter + - message: spec.forProvider.encoding is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.encoding) - || has(self.initProvider.encoding)' - - message: publicKey is a required parameter + || (has(self.initProvider) && has(self.initProvider.encoding))' + - message: spec.forProvider.publicKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.publicKey) - || has(self.initProvider.publicKey)' + || (has(self.initProvider) && has(self.initProvider.publicKey))' status: description: UserSSHKeyStatus defines the observed state of UserSSHKey. properties: diff --git a/package/crds/iam.aws.upbound.io_virtualmfadevices.yaml b/package/crds/iam.aws.upbound.io_virtualmfadevices.yaml index d4f2c84b04..9ad264b3ba 100644 --- a/package/crds/iam.aws.upbound.io_virtualmfadevices.yaml +++ b/package/crds/iam.aws.upbound.io_virtualmfadevices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: virtualmfadevices.iam.aws.upbound.io spec: group: iam.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,10 +268,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: virtualMfaDeviceName is a required parameter + - message: spec.forProvider.virtualMfaDeviceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.virtualMfaDeviceName) - || has(self.initProvider.virtualMfaDeviceName)' + || (has(self.initProvider) && has(self.initProvider.virtualMfaDeviceName))' status: description: VirtualMfaDeviceStatus defines the observed state of VirtualMfaDevice. properties: diff --git a/package/crds/imagebuilder.aws.upbound.io_components.yaml b/package/crds/imagebuilder.aws.upbound.io_components.yaml index fa2698426c..acf9424fa4 100644 --- a/package/crds/imagebuilder.aws.upbound.io_components.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_components.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: components.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -437,18 +401,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: platform is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.platform is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.platform) - || has(self.initProvider.platform)' - - message: version is a required parameter + || (has(self.initProvider) && has(self.initProvider.platform))' + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: ComponentStatus defines the observed state of Component. properties: diff --git a/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml b/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml index fd26217747..e029db7114 100644 --- a/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_containerrecipes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: containerrecipes.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -675,42 +675,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -809,30 +773,30 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: component is a required parameter + - message: spec.forProvider.component is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.component) - || has(self.initProvider.component)' - - message: containerType is a required parameter + || (has(self.initProvider) && has(self.initProvider.component))' + - message: spec.forProvider.containerType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.containerType) - || has(self.initProvider.containerType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.containerType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: parentImage is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.parentImage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parentImage) - || has(self.initProvider.parentImage)' - - message: targetRepository is a required parameter + || (has(self.initProvider) && has(self.initProvider.parentImage))' + - message: spec.forProvider.targetRepository is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetRepository) - || has(self.initProvider.targetRepository)' - - message: version is a required parameter + || (has(self.initProvider) && has(self.initProvider.targetRepository))' + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: ContainerRecipeStatus defines the observed state of ContainerRecipe. properties: diff --git a/package/crds/imagebuilder.aws.upbound.io_distributionconfigurations.yaml b/package/crds/imagebuilder.aws.upbound.io_distributionconfigurations.yaml index 23cfa3762f..5a5c36d381 100644 --- a/package/crds/imagebuilder.aws.upbound.io_distributionconfigurations.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_distributionconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: distributionconfigurations.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -554,42 +554,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -688,14 +652,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: distribution is a required parameter + - message: spec.forProvider.distribution is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.distribution) - || has(self.initProvider.distribution)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.distribution))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: DistributionConfigurationStatus defines the observed state of DistributionConfiguration. diff --git a/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml b/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml index 257d62258e..7cb57c1a4b 100644 --- a/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_imagepipelines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: imagepipelines.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -445,42 +445,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -579,10 +543,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ImagePipelineStatus defines the observed state of ImagePipeline. properties: diff --git a/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml b/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml index 08695afd18..17ac6865b2 100644 --- a/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_imagerecipes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: imagerecipes.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -472,42 +472,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -606,22 +570,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: component is a required parameter + - message: spec.forProvider.component is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.component) - || has(self.initProvider.component)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.component))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: parentImage is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.parentImage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parentImage) - || has(self.initProvider.parentImage)' - - message: version is a required parameter + || (has(self.initProvider) && has(self.initProvider.parentImage))' + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: ImageRecipeStatus defines the observed state of ImageRecipe. properties: diff --git a/package/crds/imagebuilder.aws.upbound.io_images.yaml b/package/crds/imagebuilder.aws.upbound.io_images.yaml index db79a4fbd2..35b885b5a1 100644 --- a/package/crds/imagebuilder.aws.upbound.io_images.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_images.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: images.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -442,42 +442,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml b/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml index 9e57c469ab..b3a08c40b0 100644 --- a/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml +++ b/package/crds/imagebuilder.aws.upbound.io_infrastructureconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: infrastructureconfigurations.imagebuilder.aws.upbound.io spec: group: imagebuilder.aws.upbound.io @@ -745,42 +745,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -879,10 +843,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: InfrastructureConfigurationStatus defines the observed state of InfrastructureConfiguration. diff --git a/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml b/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml index c4f7de988f..8195aed0e8 100644 --- a/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml +++ b/package/crds/inspector.aws.upbound.io_assessmenttargets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: assessmenttargets.inspector.aws.upbound.io spec: group: inspector.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AssessmentTargetStatus defines the observed state of AssessmentTarget. properties: diff --git a/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml b/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml index 9f5266120c..b4035882e9 100644 --- a/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml +++ b/package/crds/inspector.aws.upbound.io_assessmenttemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: assessmenttemplates.inspector.aws.upbound.io spec: group: inspector.aws.upbound.io @@ -371,42 +371,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -505,18 +469,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: duration is a required parameter + - message: spec.forProvider.duration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.duration) - || has(self.initProvider.duration)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.duration))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: rulesPackageArns is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.rulesPackageArns is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rulesPackageArns) - || has(self.initProvider.rulesPackageArns)' + || (has(self.initProvider) && has(self.initProvider.rulesPackageArns))' status: description: AssessmentTemplateStatus defines the observed state of AssessmentTemplate. properties: diff --git a/package/crds/inspector.aws.upbound.io_resourcegroups.yaml b/package/crds/inspector.aws.upbound.io_resourcegroups.yaml index dce6b3311c..1515cf01a5 100644 --- a/package/crds/inspector.aws.upbound.io_resourcegroups.yaml +++ b/package/crds/inspector.aws.upbound.io_resourcegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcegroups.inspector.aws.upbound.io spec: group: inspector.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -296,10 +260,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: tags is a required parameter + - message: spec.forProvider.tags is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.tags) - || has(self.initProvider.tags)' + || (has(self.initProvider) && has(self.initProvider.tags))' status: description: ResourceGroupStatus defines the observed state of ResourceGroup. properties: diff --git a/package/crds/inspector2.aws.upbound.io_enablers.yaml b/package/crds/inspector2.aws.upbound.io_enablers.yaml index 77955a3c15..2ef9c8a7b7 100644 --- a/package/crds/inspector2.aws.upbound.io_enablers.yaml +++ b/package/crds/inspector2.aws.upbound.io_enablers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: enablers.inspector2.aws.upbound.io spec: group: inspector2.aws.upbound.io @@ -175,42 +175,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -309,14 +273,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountIds is a required parameter + - message: spec.forProvider.accountIds is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountIds) - || has(self.initProvider.accountIds)' - - message: resourceTypes is a required parameter + || (has(self.initProvider) && has(self.initProvider.accountIds))' + - message: spec.forProvider.resourceTypes is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceTypes) - || has(self.initProvider.resourceTypes)' + || (has(self.initProvider) && has(self.initProvider.resourceTypes))' status: description: EnablerStatus defines the observed state of Enabler. properties: diff --git a/package/crds/iot.aws.upbound.io_certificates.yaml b/package/crds/iot.aws.upbound.io_certificates.yaml index 241d637a06..e12a75c88a 100644 --- a/package/crds/iot.aws.upbound.io_certificates.yaml +++ b/package/crds/iot.aws.upbound.io_certificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificates.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -212,42 +212,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -346,10 +310,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: active is a required parameter + - message: spec.forProvider.active is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.active) - || has(self.initProvider.active)' + || (has(self.initProvider) && has(self.initProvider.active))' status: description: CertificateStatus defines the observed state of Certificate. properties: diff --git a/package/crds/iot.aws.upbound.io_indexingconfigurations.yaml b/package/crds/iot.aws.upbound.io_indexingconfigurations.yaml index 2714d08b24..07804277cf 100644 --- a/package/crds/iot.aws.upbound.io_indexingconfigurations.yaml +++ b/package/crds/iot.aws.upbound.io_indexingconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: indexingconfigurations.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -332,42 +332,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iot.aws.upbound.io_loggingoptions.yaml b/package/crds/iot.aws.upbound.io_loggingoptions.yaml index 5462020a44..3d56e62c44 100644 --- a/package/crds/iot.aws.upbound.io_loggingoptions.yaml +++ b/package/crds/iot.aws.upbound.io_loggingoptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: loggingoptions.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -377,10 +341,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: defaultLogLevel is a required parameter + - message: spec.forProvider.defaultLogLevel is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultLogLevel) - || has(self.initProvider.defaultLogLevel)' + || (has(self.initProvider) && has(self.initProvider.defaultLogLevel))' status: description: LoggingOptionsStatus defines the observed state of LoggingOptions. properties: diff --git a/package/crds/iot.aws.upbound.io_policies.yaml b/package/crds/iot.aws.upbound.io_policies.yaml index 4c96aa12de..901de8b6a3 100644 --- a/package/crds/iot.aws.upbound.io_policies.yaml +++ b/package/crds/iot.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -159,42 +159,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -293,10 +257,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: PolicyStatus defines the observed state of Policy. properties: diff --git a/package/crds/iot.aws.upbound.io_policyattachments.yaml b/package/crds/iot.aws.upbound.io_policyattachments.yaml index ca9bf0c50b..c7c7042c80 100644 --- a/package/crds/iot.aws.upbound.io_policyattachments.yaml +++ b/package/crds/iot.aws.upbound.io_policyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policyattachments.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml b/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml index 8a48f3d2de..432b0a1502 100644 --- a/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml +++ b/package/crds/iot.aws.upbound.io_provisioningtemplates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: provisioningtemplates.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -292,42 +292,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -426,10 +390,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: templateBody is a required parameter + - message: spec.forProvider.templateBody is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.templateBody) - || has(self.initProvider.templateBody)' + || (has(self.initProvider) && has(self.initProvider.templateBody))' status: description: ProvisioningTemplateStatus defines the observed state of ProvisioningTemplate. diff --git a/package/crds/iot.aws.upbound.io_rolealiases.yaml b/package/crds/iot.aws.upbound.io_rolealiases.yaml index bf9df9fb79..33a4f04677 100644 --- a/package/crds/iot.aws.upbound.io_rolealiases.yaml +++ b/package/crds/iot.aws.upbound.io_rolealiases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rolealiases.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: alias is a required parameter + - message: spec.forProvider.alias is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.alias) - || has(self.initProvider.alias)' + || (has(self.initProvider) && has(self.initProvider.alias))' status: description: RoleAliasStatus defines the observed state of RoleAlias. properties: diff --git a/package/crds/iot.aws.upbound.io_thinggroupmemberships.yaml b/package/crds/iot.aws.upbound.io_thinggroupmemberships.yaml index da1411ac81..1c8969c087 100644 --- a/package/crds/iot.aws.upbound.io_thinggroupmemberships.yaml +++ b/package/crds/iot.aws.upbound.io_thinggroupmemberships.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: thinggroupmemberships.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,14 +276,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: thingGroupName is a required parameter + - message: spec.forProvider.thingGroupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.thingGroupName) - || has(self.initProvider.thingGroupName)' - - message: thingName is a required parameter + || (has(self.initProvider) && has(self.initProvider.thingGroupName))' + - message: spec.forProvider.thingName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.thingName) - || has(self.initProvider.thingName)' + || (has(self.initProvider) && has(self.initProvider.thingName))' status: description: ThingGroupMembershipStatus defines the observed state of ThingGroupMembership. diff --git a/package/crds/iot.aws.upbound.io_thinggroups.yaml b/package/crds/iot.aws.upbound.io_thinggroups.yaml index 07cf04bd11..66c0c581b8 100644 --- a/package/crds/iot.aws.upbound.io_thinggroups.yaml +++ b/package/crds/iot.aws.upbound.io_thinggroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: thinggroups.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -278,42 +278,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml b/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml index d2db8460ee..ec8a741df7 100644 --- a/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml +++ b/package/crds/iot.aws.upbound.io_thingprincipalattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: thingprincipalattachments.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iot.aws.upbound.io_things.yaml b/package/crds/iot.aws.upbound.io_things.yaml index 564ba1e722..9ac84adce4 100644 --- a/package/crds/iot.aws.upbound.io_things.yaml +++ b/package/crds/iot.aws.upbound.io_things.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: things.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/iot.aws.upbound.io_thingtypes.yaml b/package/crds/iot.aws.upbound.io_thingtypes.yaml index 9c9a4ca31c..c5dfc6b453 100644 --- a/package/crds/iot.aws.upbound.io_thingtypes.yaml +++ b/package/crds/iot.aws.upbound.io_thingtypes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: thingtypes.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -206,42 +206,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -340,10 +304,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ThingTypeStatus defines the observed state of ThingType. properties: diff --git a/package/crds/iot.aws.upbound.io_topicrules.yaml b/package/crds/iot.aws.upbound.io_topicrules.yaml index 99dc8d20ea..de14e32cec 100644 --- a/package/crds/iot.aws.upbound.io_topicrules.yaml +++ b/package/crds/iot.aws.upbound.io_topicrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: topicrules.iot.aws.upbound.io spec: group: iot.aws.upbound.io @@ -2124,42 +2124,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2258,18 +2222,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: enabled is a required parameter + - message: spec.forProvider.enabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.enabled) - || has(self.initProvider.enabled)' - - message: sql is a required parameter + || (has(self.initProvider) && has(self.initProvider.enabled))' + - message: spec.forProvider.sql is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sql) - || has(self.initProvider.sql)' - - message: sqlVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.sql))' + - message: spec.forProvider.sqlVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sqlVersion) - || has(self.initProvider.sqlVersion)' + || (has(self.initProvider) && has(self.initProvider.sqlVersion))' status: description: TopicRuleStatus defines the observed state of TopicRule. properties: diff --git a/package/crds/ivs.aws.upbound.io_channels.yaml b/package/crds/ivs.aws.upbound.io_channels.yaml index 7f1b4564e4..d31fda459d 100644 --- a/package/crds/ivs.aws.upbound.io_channels.yaml +++ b/package/crds/ivs.aws.upbound.io_channels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: channels.ivs.aws.upbound.io spec: group: ivs.aws.upbound.io @@ -195,42 +195,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ivs.aws.upbound.io_recordingconfigurations.yaml b/package/crds/ivs.aws.upbound.io_recordingconfigurations.yaml index d1ee5901b1..b81640fafe 100644 --- a/package/crds/ivs.aws.upbound.io_recordingconfigurations.yaml +++ b/package/crds/ivs.aws.upbound.io_recordingconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: recordingconfigurations.ivs.aws.upbound.io spec: group: ivs.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destinationConfiguration is a required parameter + - message: spec.forProvider.destinationConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinationConfiguration) - || has(self.initProvider.destinationConfiguration)' + || (has(self.initProvider) && has(self.initProvider.destinationConfiguration))' status: description: RecordingConfigurationStatus defines the observed state of RecordingConfiguration. diff --git a/package/crds/kafka.aws.upbound.io_clusters.yaml b/package/crds/kafka.aws.upbound.io_clusters.yaml index 28eb1280fc..5a5906dc54 100644 --- a/package/crds/kafka.aws.upbound.io_clusters.yaml +++ b/package/crds/kafka.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.kafka.aws.upbound.io spec: group: kafka.aws.upbound.io @@ -1275,42 +1275,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1409,22 +1373,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: brokerNodeGroupInfo is a required parameter + - message: spec.forProvider.brokerNodeGroupInfo is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.brokerNodeGroupInfo) - || has(self.initProvider.brokerNodeGroupInfo)' - - message: clusterName is a required parameter + || (has(self.initProvider) && has(self.initProvider.brokerNodeGroupInfo))' + - message: spec.forProvider.clusterName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.clusterName) - || has(self.initProvider.clusterName)' - - message: kafkaVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.clusterName))' + - message: spec.forProvider.kafkaVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.kafkaVersion) - || has(self.initProvider.kafkaVersion)' - - message: numberOfBrokerNodes is a required parameter + || (has(self.initProvider) && has(self.initProvider.kafkaVersion))' + - message: spec.forProvider.numberOfBrokerNodes is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.numberOfBrokerNodes) - || has(self.initProvider.numberOfBrokerNodes)' + || (has(self.initProvider) && has(self.initProvider.numberOfBrokerNodes))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/kafka.aws.upbound.io_configurations.yaml b/package/crds/kafka.aws.upbound.io_configurations.yaml index c2aa4a1a23..ccb5c6f11a 100644 --- a/package/crds/kafka.aws.upbound.io_configurations.yaml +++ b/package/crds/kafka.aws.upbound.io_configurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurations.kafka.aws.upbound.io spec: group: kafka.aws.upbound.io @@ -185,42 +185,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -319,14 +283,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: serverProperties is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.serverProperties is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serverProperties) - || has(self.initProvider.serverProperties)' + || (has(self.initProvider) && has(self.initProvider.serverProperties))' status: description: ConfigurationStatus defines the observed state of Configuration. properties: diff --git a/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml b/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml index ec338443a8..c3e0a2f251 100644 --- a/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml +++ b/package/crds/kafka.aws.upbound.io_scramsecretassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: scramsecretassociations.kafka.aws.upbound.io spec: group: kafka.aws.upbound.io @@ -312,42 +312,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kendra.aws.upbound.io_datasources.yaml b/package/crds/kendra.aws.upbound.io_datasources.yaml index 159cb904b0..d438bc03dd 100644 --- a/package/crds/kendra.aws.upbound.io_datasources.yaml +++ b/package/crds/kendra.aws.upbound.io_datasources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datasources.kendra.aws.upbound.io spec: group: kendra.aws.upbound.io @@ -1773,42 +1773,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1907,14 +1871,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: DataSourceStatus defines the observed state of DataSource. properties: diff --git a/package/crds/kendra.aws.upbound.io_experiences.yaml b/package/crds/kendra.aws.upbound.io_experiences.yaml index 76dc72c2c8..d3b4daf54d 100644 --- a/package/crds/kendra.aws.upbound.io_experiences.yaml +++ b/package/crds/kendra.aws.upbound.io_experiences.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: experiences.kendra.aws.upbound.io spec: group: kendra.aws.upbound.io @@ -409,42 +409,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -543,10 +507,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ExperienceStatus defines the observed state of Experience. properties: diff --git a/package/crds/kendra.aws.upbound.io_indices.yaml b/package/crds/kendra.aws.upbound.io_indices.yaml index 9e0fc651e2..f2a5c3e55a 100644 --- a/package/crds/kendra.aws.upbound.io_indices.yaml +++ b/package/crds/kendra.aws.upbound.io_indices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: indices.kendra.aws.upbound.io spec: group: kendra.aws.upbound.io @@ -670,42 +670,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -804,10 +768,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: IndexStatus defines the observed state of Index. properties: diff --git a/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml b/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml index 3a65611abf..c7c8808413 100644 --- a/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml +++ b/package/crds/kendra.aws.upbound.io_querysuggestionsblocklists.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: querysuggestionsblocklists.kendra.aws.upbound.io spec: group: kendra.aws.upbound.io @@ -433,42 +433,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -567,14 +531,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: sourceS3Path is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.sourceS3Path is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceS3Path) - || has(self.initProvider.sourceS3Path)' + || (has(self.initProvider) && has(self.initProvider.sourceS3Path))' status: description: QuerySuggestionsBlockListStatus defines the observed state of QuerySuggestionsBlockList. diff --git a/package/crds/kendra.aws.upbound.io_thesaurus.yaml b/package/crds/kendra.aws.upbound.io_thesaurus.yaml index cc23690a2a..7546a090c7 100644 --- a/package/crds/kendra.aws.upbound.io_thesaurus.yaml +++ b/package/crds/kendra.aws.upbound.io_thesaurus.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: thesaurus.kendra.aws.upbound.io spec: group: kendra.aws.upbound.io @@ -502,42 +502,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -636,14 +600,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: sourceS3Path is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.sourceS3Path is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sourceS3Path) - || has(self.initProvider.sourceS3Path)' + || (has(self.initProvider) && has(self.initProvider.sourceS3Path))' status: description: ThesaurusStatus defines the observed state of Thesaurus. properties: diff --git a/package/crds/keyspaces.aws.upbound.io_keyspaces.yaml b/package/crds/keyspaces.aws.upbound.io_keyspaces.yaml index afef588914..3373908d15 100644 --- a/package/crds/keyspaces.aws.upbound.io_keyspaces.yaml +++ b/package/crds/keyspaces.aws.upbound.io_keyspaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keyspaces.keyspaces.aws.upbound.io spec: group: keyspaces.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/keyspaces.aws.upbound.io_tables.yaml b/package/crds/keyspaces.aws.upbound.io_tables.yaml index 961792eb3a..5b4089a935 100644 --- a/package/crds/keyspaces.aws.upbound.io_tables.yaml +++ b/package/crds/keyspaces.aws.upbound.io_tables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tables.keyspaces.aws.upbound.io spec: group: keyspaces.aws.upbound.io @@ -503,42 +503,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -637,14 +601,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: schemaDefinition is a required parameter + - message: spec.forProvider.schemaDefinition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schemaDefinition) - || has(self.initProvider.schemaDefinition)' - - message: tableName is a required parameter + || (has(self.initProvider) && has(self.initProvider.schemaDefinition))' + - message: spec.forProvider.tableName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.tableName) - || has(self.initProvider.tableName)' + || (has(self.initProvider) && has(self.initProvider.tableName))' status: description: TableStatus defines the observed state of Table. properties: diff --git a/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml b/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml index 6bad6732e7..91baf97f6f 100644 --- a/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml +++ b/package/crds/kinesis.aws.upbound.io_streamconsumers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: streamconsumers.kinesis.aws.upbound.io spec: group: kinesis.aws.upbound.io @@ -235,42 +235,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -369,10 +333,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StreamConsumerStatus defines the observed state of StreamConsumer. properties: diff --git a/package/crds/kinesis.aws.upbound.io_streams.yaml b/package/crds/kinesis.aws.upbound.io_streams.yaml index ba6e2e796c..e35e176266 100644 --- a/package/crds/kinesis.aws.upbound.io_streams.yaml +++ b/package/crds/kinesis.aws.upbound.io_streams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: streams.kinesis.aws.upbound.io spec: group: kinesis.aws.upbound.io @@ -322,42 +322,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml b/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml index b90e891f87..90b29d3914 100644 --- a/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml +++ b/package/crds/kinesisanalytics.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.kinesisanalytics.aws.upbound.io spec: group: kinesisanalytics.aws.upbound.io @@ -1302,42 +1302,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml b/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml index ce65920dc3..297da90200 100644 --- a/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml +++ b/package/crds/kinesisanalyticsv2.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.kinesisanalyticsv2.aws.upbound.io spec: group: kinesisanalyticsv2.aws.upbound.io @@ -2072,42 +2072,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -2206,10 +2170,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: runtimeEnvironment is a required parameter + - message: spec.forProvider.runtimeEnvironment is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.runtimeEnvironment) - || has(self.initProvider.runtimeEnvironment)' + || (has(self.initProvider) && has(self.initProvider.runtimeEnvironment))' status: description: ApplicationStatus defines the observed state of Application. properties: diff --git a/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml b/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml index d48acdc652..3de7de5c0a 100644 --- a/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml +++ b/package/crds/kinesisanalyticsv2.aws.upbound.io_applicationsnapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applicationsnapshots.kinesisanalyticsv2.aws.upbound.io spec: group: kinesisanalyticsv2.aws.upbound.io @@ -231,42 +231,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kinesisvideo.aws.upbound.io_streams.yaml b/package/crds/kinesisvideo.aws.upbound.io_streams.yaml index ebb2d2b67e..126c5c17d6 100644 --- a/package/crds/kinesisvideo.aws.upbound.io_streams.yaml +++ b/package/crds/kinesisvideo.aws.upbound.io_streams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: streams.kinesisvideo.aws.upbound.io spec: group: kinesisvideo.aws.upbound.io @@ -283,42 +283,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -417,10 +381,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StreamStatus defines the observed state of Stream. properties: diff --git a/package/crds/kms.aws.upbound.io_aliases.yaml b/package/crds/kms.aws.upbound.io_aliases.yaml index 3c21ff03ad..a71bcf202d 100644 --- a/package/crds/kms.aws.upbound.io_aliases.yaml +++ b/package/crds/kms.aws.upbound.io_aliases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: aliases.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kms.aws.upbound.io_ciphertexts.yaml b/package/crds/kms.aws.upbound.io_ciphertexts.yaml index 307b6f2427..a12ddba983 100644 --- a/package/crds/kms.aws.upbound.io_ciphertexts.yaml +++ b/package/crds/kms.aws.upbound.io_ciphertexts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ciphertexts.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -258,42 +258,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -392,7 +356,7 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: plaintextSecretRef is a required parameter + - message: spec.forProvider.plaintextSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.plaintextSecretRef)' status: diff --git a/package/crds/kms.aws.upbound.io_externalkeys.yaml b/package/crds/kms.aws.upbound.io_externalkeys.yaml index 70232722d5..926f51d812 100644 --- a/package/crds/kms.aws.upbound.io_externalkeys.yaml +++ b/package/crds/kms.aws.upbound.io_externalkeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: externalkeys.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kms.aws.upbound.io_grants.yaml b/package/crds/kms.aws.upbound.io_grants.yaml index a37ea14d93..d2af4fd0f5 100644 --- a/package/crds/kms.aws.upbound.io_grants.yaml +++ b/package/crds/kms.aws.upbound.io_grants.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: grants.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -424,42 +424,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -558,10 +522,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: operations is a required parameter + - message: spec.forProvider.operations is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.operations) - || has(self.initProvider.operations)' + || (has(self.initProvider) && has(self.initProvider.operations))' status: description: GrantStatus defines the observed state of Grant. properties: diff --git a/package/crds/kms.aws.upbound.io_keys.yaml b/package/crds/kms.aws.upbound.io_keys.yaml index 4f514a0ac4..3fd5c26631 100644 --- a/package/crds/kms.aws.upbound.io_keys.yaml +++ b/package/crds/kms.aws.upbound.io_keys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keys.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -274,42 +274,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml b/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml index f46cbabb06..421f4d5cc6 100644 --- a/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml +++ b/package/crds/kms.aws.upbound.io_replicaexternalkeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicaexternalkeys.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -331,42 +331,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/kms.aws.upbound.io_replicakeys.yaml b/package/crds/kms.aws.upbound.io_replicakeys.yaml index 79834a5b0a..7e58d080af 100644 --- a/package/crds/kms.aws.upbound.io_replicakeys.yaml +++ b/package/crds/kms.aws.upbound.io_replicakeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: replicakeys.kms.aws.upbound.io spec: group: kms.aws.upbound.io @@ -297,42 +297,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lakeformation.aws.upbound.io_datalakesettings.yaml b/package/crds/lakeformation.aws.upbound.io_datalakesettings.yaml index f13dfdde7b..e07c28831f 100644 --- a/package/crds/lakeformation.aws.upbound.io_datalakesettings.yaml +++ b/package/crds/lakeformation.aws.upbound.io_datalakesettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: datalakesettings.lakeformation.aws.upbound.io spec: group: lakeformation.aws.upbound.io @@ -302,42 +302,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lakeformation.aws.upbound.io_permissions.yaml b/package/crds/lakeformation.aws.upbound.io_permissions.yaml index 99052675b2..6984ed5941 100644 --- a/package/crds/lakeformation.aws.upbound.io_permissions.yaml +++ b/package/crds/lakeformation.aws.upbound.io_permissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissions.lakeformation.aws.upbound.io spec: group: lakeformation.aws.upbound.io @@ -702,42 +702,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -836,14 +800,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: permissions is a required parameter + - message: spec.forProvider.permissions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.permissions) - || has(self.initProvider.permissions)' - - message: principal is a required parameter + || (has(self.initProvider) && has(self.initProvider.permissions))' + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' + || (has(self.initProvider) && has(self.initProvider.principal))' status: description: PermissionsStatus defines the observed state of Permissions. properties: diff --git a/package/crds/lakeformation.aws.upbound.io_resources.yaml b/package/crds/lakeformation.aws.upbound.io_resources.yaml index 32ba31bf6b..20cdcb9b60 100644 --- a/package/crds/lakeformation.aws.upbound.io_resources.yaml +++ b/package/crds/lakeformation.aws.upbound.io_resources.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resources.lakeformation.aws.upbound.io spec: group: lakeformation.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: arn is a required parameter + - message: spec.forProvider.arn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.arn) - || has(self.initProvider.arn)' + || (has(self.initProvider) && has(self.initProvider.arn))' status: description: ResourceStatus defines the observed state of Resource. properties: diff --git a/package/crds/lambda.aws.upbound.io_aliases.yaml b/package/crds/lambda.aws.upbound.io_aliases.yaml index db10dfbf8f..fcdfd79641 100644 --- a/package/crds/lambda.aws.upbound.io_aliases.yaml +++ b/package/crds/lambda.aws.upbound.io_aliases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: aliases.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -270,42 +270,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -404,10 +368,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: functionVersion is a required parameter + - message: spec.forProvider.functionVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.functionVersion) - || has(self.initProvider.functionVersion)' + || (has(self.initProvider) && has(self.initProvider.functionVersion))' status: description: AliasStatus defines the observed state of Alias. properties: diff --git a/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml b/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml index eaed36b6e4..8d1048cb04 100644 --- a/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml +++ b/package/crds/lambda.aws.upbound.io_codesigningconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: codesigningconfigs.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -292,42 +292,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -426,10 +390,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: allowedPublishers is a required parameter + - message: spec.forProvider.allowedPublishers is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.allowedPublishers) - || has(self.initProvider.allowedPublishers)' + || (has(self.initProvider) && has(self.initProvider.allowedPublishers))' status: description: CodeSigningConfigStatus defines the observed state of CodeSigningConfig. properties: diff --git a/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml b/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml index c7db0b3751..398bb41de2 100644 --- a/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml +++ b/package/crds/lambda.aws.upbound.io_eventsourcemappings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsourcemappings.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -695,42 +695,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml b/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml index 859dd587f8..4424f6e928 100644 --- a/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml +++ b/package/crds/lambda.aws.upbound.io_functioneventinvokeconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: functioneventinvokeconfigs.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -400,42 +400,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -534,10 +498,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: functionName is a required parameter + - message: spec.forProvider.functionName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.functionName) - || has(self.initProvider.functionName)' + || (has(self.initProvider) && has(self.initProvider.functionName))' status: description: FunctionEventInvokeConfigStatus defines the observed state of FunctionEventInvokeConfig. diff --git a/package/crds/lambda.aws.upbound.io_functions.yaml b/package/crds/lambda.aws.upbound.io_functions.yaml index b6b94c2c17..69758f1e80 100644 --- a/package/crds/lambda.aws.upbound.io_functions.yaml +++ b/package/crds/lambda.aws.upbound.io_functions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: functions.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -1118,42 +1118,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lambda.aws.upbound.io_functionurls.yaml b/package/crds/lambda.aws.upbound.io_functionurls.yaml index 9622501e79..1bafdcb25b 100644 --- a/package/crds/lambda.aws.upbound.io_functionurls.yaml +++ b/package/crds/lambda.aws.upbound.io_functionurls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: functionurls.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -348,42 +348,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -482,10 +446,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authorizationType is a required parameter + - message: spec.forProvider.authorizationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authorizationType) - || has(self.initProvider.authorizationType)' + || (has(self.initProvider) && has(self.initProvider.authorizationType))' status: description: FunctionURLStatus defines the observed state of FunctionURL. properties: diff --git a/package/crds/lambda.aws.upbound.io_invocations.yaml b/package/crds/lambda.aws.upbound.io_invocations.yaml index 41fdbf0aff..d7de8019cb 100644 --- a/package/crds/lambda.aws.upbound.io_invocations.yaml +++ b/package/crds/lambda.aws.upbound.io_invocations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: invocations.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -388,10 +352,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: input is a required parameter + - message: spec.forProvider.input is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.input) - || has(self.initProvider.input)' + || (has(self.initProvider) && has(self.initProvider.input))' status: description: InvocationStatus defines the observed state of Invocation. properties: diff --git a/package/crds/lambda.aws.upbound.io_layerversionpermissions.yaml b/package/crds/lambda.aws.upbound.io_layerversionpermissions.yaml index fc2b5ae79a..a25577dc96 100644 --- a/package/crds/lambda.aws.upbound.io_layerversionpermissions.yaml +++ b/package/crds/lambda.aws.upbound.io_layerversionpermissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: layerversionpermissions.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -208,42 +208,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -342,26 +306,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: layerName is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.layerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.layerName) - || has(self.initProvider.layerName)' - - message: principal is a required parameter + || (has(self.initProvider) && has(self.initProvider.layerName))' + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' - - message: statementId is a required parameter + || (has(self.initProvider) && has(self.initProvider.principal))' + - message: spec.forProvider.statementId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.statementId) - || has(self.initProvider.statementId)' - - message: versionNumber is a required parameter + || (has(self.initProvider) && has(self.initProvider.statementId))' + - message: spec.forProvider.versionNumber is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.versionNumber) - || has(self.initProvider.versionNumber)' + || (has(self.initProvider) && has(self.initProvider.versionNumber))' status: description: LayerVersionPermissionStatus defines the observed state of LayerVersionPermission. diff --git a/package/crds/lambda.aws.upbound.io_layerversions.yaml b/package/crds/lambda.aws.upbound.io_layerversions.yaml index 68fb479b01..c9c8ebc118 100644 --- a/package/crds/lambda.aws.upbound.io_layerversions.yaml +++ b/package/crds/lambda.aws.upbound.io_layerversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: layerversions.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -259,42 +259,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -393,10 +357,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: layerName is a required parameter + - message: spec.forProvider.layerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.layerName) - || has(self.initProvider.layerName)' + || (has(self.initProvider) && has(self.initProvider.layerName))' status: description: LayerVersionStatus defines the observed state of LayerVersion. properties: diff --git a/package/crds/lambda.aws.upbound.io_permissions.yaml b/package/crds/lambda.aws.upbound.io_permissions.yaml index d6c6f160f1..3e9566ec5d 100644 --- a/package/crds/lambda.aws.upbound.io_permissions.yaml +++ b/package/crds/lambda.aws.upbound.io_permissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissions.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -395,42 +395,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -529,14 +493,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: principal is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' + || (has(self.initProvider) && has(self.initProvider.principal))' status: description: PermissionStatus defines the observed state of Permission. properties: diff --git a/package/crds/lambda.aws.upbound.io_provisionedconcurrencyconfigs.yaml b/package/crds/lambda.aws.upbound.io_provisionedconcurrencyconfigs.yaml index ee1dcc95ca..c0f4f885a0 100644 --- a/package/crds/lambda.aws.upbound.io_provisionedconcurrencyconfigs.yaml +++ b/package/crds/lambda.aws.upbound.io_provisionedconcurrencyconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: provisionedconcurrencyconfigs.lambda.aws.upbound.io spec: group: lambda.aws.upbound.io @@ -175,42 +175,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -309,18 +273,19 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: functionName is a required parameter + - message: spec.forProvider.functionName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.functionName) - || has(self.initProvider.functionName)' - - message: provisionedConcurrentExecutions is a required parameter + || (has(self.initProvider) && has(self.initProvider.functionName))' + - message: spec.forProvider.provisionedConcurrentExecutions is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.provisionedConcurrentExecutions) - || has(self.initProvider.provisionedConcurrentExecutions)' - - message: qualifier is a required parameter + || (has(self.initProvider) && has(self.initProvider.provisionedConcurrentExecutions))' + - message: spec.forProvider.qualifier is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.qualifier) - || has(self.initProvider.qualifier)' + || (has(self.initProvider) && has(self.initProvider.qualifier))' status: description: ProvisionedConcurrencyConfigStatus defines the observed state of ProvisionedConcurrencyConfig. diff --git a/package/crds/lexmodels.aws.upbound.io_botaliases.yaml b/package/crds/lexmodels.aws.upbound.io_botaliases.yaml index 17dfdba1c5..84c3852a2a 100644 --- a/package/crds/lexmodels.aws.upbound.io_botaliases.yaml +++ b/package/crds/lexmodels.aws.upbound.io_botaliases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: botaliases.lexmodels.aws.upbound.io spec: group: lexmodels.aws.upbound.io @@ -254,42 +254,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -388,14 +352,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: botName is a required parameter + - message: spec.forProvider.botName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.botName) - || has(self.initProvider.botName)' - - message: botVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.botName))' + - message: spec.forProvider.botVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.botVersion) - || has(self.initProvider.botVersion)' + || (has(self.initProvider) && has(self.initProvider.botVersion))' status: description: BotAliasStatus defines the observed state of BotAlias. properties: diff --git a/package/crds/lexmodels.aws.upbound.io_bots.yaml b/package/crds/lexmodels.aws.upbound.io_bots.yaml index 7e1f3cd810..9c835244b3 100644 --- a/package/crds/lexmodels.aws.upbound.io_bots.yaml +++ b/package/crds/lexmodels.aws.upbound.io_bots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bots.lexmodels.aws.upbound.io spec: group: lexmodels.aws.upbound.io @@ -454,42 +454,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -588,18 +552,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: abortStatement is a required parameter + - message: spec.forProvider.abortStatement is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.abortStatement) - || has(self.initProvider.abortStatement)' - - message: childDirected is a required parameter + || (has(self.initProvider) && has(self.initProvider.abortStatement))' + - message: spec.forProvider.childDirected is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.childDirected) - || has(self.initProvider.childDirected)' - - message: intent is a required parameter + || (has(self.initProvider) && has(self.initProvider.childDirected))' + - message: spec.forProvider.intent is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.intent) - || has(self.initProvider.intent)' + || (has(self.initProvider) && has(self.initProvider.intent))' status: description: BotStatus defines the observed state of Bot. properties: diff --git a/package/crds/lexmodels.aws.upbound.io_intents.yaml b/package/crds/lexmodels.aws.upbound.io_intents.yaml index 6d5f3776c2..1f2e6e4e39 100644 --- a/package/crds/lexmodels.aws.upbound.io_intents.yaml +++ b/package/crds/lexmodels.aws.upbound.io_intents.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: intents.lexmodels.aws.upbound.io spec: group: lexmodels.aws.upbound.io @@ -946,42 +946,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1080,10 +1044,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: fulfillmentActivity is a required parameter + - message: spec.forProvider.fulfillmentActivity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.fulfillmentActivity) - || has(self.initProvider.fulfillmentActivity)' + || (has(self.initProvider) && has(self.initProvider.fulfillmentActivity))' status: description: IntentStatus defines the observed state of Intent. properties: diff --git a/package/crds/lexmodels.aws.upbound.io_slottypes.yaml b/package/crds/lexmodels.aws.upbound.io_slottypes.yaml index d6c5f86288..b2103d2f7e 100644 --- a/package/crds/lexmodels.aws.upbound.io_slottypes.yaml +++ b/package/crds/lexmodels.aws.upbound.io_slottypes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: slottypes.lexmodels.aws.upbound.io spec: group: lexmodels.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -362,10 +326,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: enumerationValue is a required parameter + - message: spec.forProvider.enumerationValue is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.enumerationValue) - || has(self.initProvider.enumerationValue)' + || (has(self.initProvider) && has(self.initProvider.enumerationValue))' status: description: SlotTypeStatus defines the observed state of SlotType. properties: diff --git a/package/crds/licensemanager.aws.upbound.io_associations.yaml b/package/crds/licensemanager.aws.upbound.io_associations.yaml index 31cced06f5..8ecb8139fc 100644 --- a/package/crds/licensemanager.aws.upbound.io_associations.yaml +++ b/package/crds/licensemanager.aws.upbound.io_associations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: associations.licensemanager.aws.upbound.io spec: group: licensemanager.aws.upbound.io @@ -303,42 +303,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/licensemanager.aws.upbound.io_licenseconfigurations.yaml b/package/crds/licensemanager.aws.upbound.io_licenseconfigurations.yaml index bf045142a8..611394231e 100644 --- a/package/crds/licensemanager.aws.upbound.io_licenseconfigurations.yaml +++ b/package/crds/licensemanager.aws.upbound.io_licenseconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: licenseconfigurations.licensemanager.aws.upbound.io spec: group: licensemanager.aws.upbound.io @@ -204,42 +204,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -338,14 +302,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: licenseCountingType is a required parameter + - message: spec.forProvider.licenseCountingType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.licenseCountingType) - || has(self.initProvider.licenseCountingType)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.licenseCountingType))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: LicenseConfigurationStatus defines the observed state of LicenseConfiguration. diff --git a/package/crds/lightsail.aws.upbound.io_buckets.yaml b/package/crds/lightsail.aws.upbound.io_buckets.yaml index 3bda7b3c2b..42fae5248b 100644 --- a/package/crds/lightsail.aws.upbound.io_buckets.yaml +++ b/package/crds/lightsail.aws.upbound.io_buckets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: buckets.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,10 +272,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bundleId is a required parameter + - message: spec.forProvider.bundleId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bundleId) - || has(self.initProvider.bundleId)' + || (has(self.initProvider) && has(self.initProvider.bundleId))' status: description: BucketStatus defines the observed state of Bucket. properties: diff --git a/package/crds/lightsail.aws.upbound.io_certificates.yaml b/package/crds/lightsail.aws.upbound.io_certificates.yaml index 0c95186380..e02b0ddba0 100644 --- a/package/crds/lightsail.aws.upbound.io_certificates.yaml +++ b/package/crds/lightsail.aws.upbound.io_certificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: certificates.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -184,42 +184,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lightsail.aws.upbound.io_containerservices.yaml b/package/crds/lightsail.aws.upbound.io_containerservices.yaml index 7d00a2c1a2..250e225b4f 100644 --- a/package/crds/lightsail.aws.upbound.io_containerservices.yaml +++ b/package/crds/lightsail.aws.upbound.io_containerservices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: containerservices.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -292,42 +292,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -426,14 +390,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: power is a required parameter + - message: spec.forProvider.power is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.power) - || has(self.initProvider.power)' - - message: scale is a required parameter + || (has(self.initProvider) && has(self.initProvider.power))' + - message: spec.forProvider.scale is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scale) - || has(self.initProvider.scale)' + || (has(self.initProvider) && has(self.initProvider.scale))' status: description: ContainerServiceStatus defines the observed state of ContainerService. properties: diff --git a/package/crds/lightsail.aws.upbound.io_diskattachments.yaml b/package/crds/lightsail.aws.upbound.io_diskattachments.yaml index 4c0fc173ec..af8c354f57 100644 --- a/package/crds/lightsail.aws.upbound.io_diskattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_diskattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: diskattachments.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -312,42 +312,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -446,10 +410,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: diskPath is a required parameter + - message: spec.forProvider.diskPath is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.diskPath) - || has(self.initProvider.diskPath)' + || (has(self.initProvider) && has(self.initProvider.diskPath))' status: description: DiskAttachmentStatus defines the observed state of DiskAttachment. properties: diff --git a/package/crds/lightsail.aws.upbound.io_disks.yaml b/package/crds/lightsail.aws.upbound.io_disks.yaml index 0326391777..a0c549ca7e 100644 --- a/package/crds/lightsail.aws.upbound.io_disks.yaml +++ b/package/crds/lightsail.aws.upbound.io_disks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: disks.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,14 +272,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' - - message: sizeInGb is a required parameter + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' + - message: spec.forProvider.sizeInGb is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sizeInGb) - || has(self.initProvider.sizeInGb)' + || (has(self.initProvider) && has(self.initProvider.sizeInGb))' status: description: DiskStatus defines the observed state of Disk. properties: diff --git a/package/crds/lightsail.aws.upbound.io_domainentries.yaml b/package/crds/lightsail.aws.upbound.io_domainentries.yaml index 4e6fe3a310..0df0aca127 100644 --- a/package/crds/lightsail.aws.upbound.io_domainentries.yaml +++ b/package/crds/lightsail.aws.upbound.io_domainentries.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainentries.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -245,42 +245,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -379,10 +343,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: target is a required parameter + - message: spec.forProvider.target is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.target) - || has(self.initProvider.target)' + || (has(self.initProvider) && has(self.initProvider.target))' status: description: DomainEntryStatus defines the observed state of DomainEntry. properties: diff --git a/package/crds/lightsail.aws.upbound.io_domains.yaml b/package/crds/lightsail.aws.upbound.io_domains.yaml index c910a4724e..0ced9c896a 100644 --- a/package/crds/lightsail.aws.upbound.io_domains.yaml +++ b/package/crds/lightsail.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domainName is a required parameter + - message: spec.forProvider.domainName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainName) - || has(self.initProvider.domainName)' + || (has(self.initProvider) && has(self.initProvider.domainName))' status: description: DomainStatus defines the observed state of Domain. properties: diff --git a/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml b/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml index d717dcfcb5..1fa7a1ad04 100644 --- a/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml +++ b/package/crds/lightsail.aws.upbound.io_instancepublicports.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instancepublicports.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -430,10 +394,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: portInfo is a required parameter + - message: spec.forProvider.portInfo is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.portInfo) - || has(self.initProvider.portInfo)' + || (has(self.initProvider) && has(self.initProvider.portInfo))' status: description: InstancePublicPortsStatus defines the observed state of InstancePublicPorts. properties: diff --git a/package/crds/lightsail.aws.upbound.io_instances.yaml b/package/crds/lightsail.aws.upbound.io_instances.yaml index a8cb8ffe3e..ddf78e1abd 100644 --- a/package/crds/lightsail.aws.upbound.io_instances.yaml +++ b/package/crds/lightsail.aws.upbound.io_instances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instances.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -256,42 +256,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -390,18 +354,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZone is a required parameter + - message: spec.forProvider.availabilityZone is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZone) - || has(self.initProvider.availabilityZone)' - - message: blueprintId is a required parameter + || (has(self.initProvider) && has(self.initProvider.availabilityZone))' + - message: spec.forProvider.blueprintId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.blueprintId) - || has(self.initProvider.blueprintId)' - - message: bundleId is a required parameter + || (has(self.initProvider) && has(self.initProvider.blueprintId))' + - message: spec.forProvider.bundleId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bundleId) - || has(self.initProvider.bundleId)' + || (has(self.initProvider) && has(self.initProvider.bundleId))' status: description: InstanceStatus defines the observed state of Instance. properties: diff --git a/package/crds/lightsail.aws.upbound.io_keypairs.yaml b/package/crds/lightsail.aws.upbound.io_keypairs.yaml index 89751b065a..63b8468f58 100644 --- a/package/crds/lightsail.aws.upbound.io_keypairs.yaml +++ b/package/crds/lightsail.aws.upbound.io_keypairs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: keypairs.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lightsail.aws.upbound.io_lbattachments.yaml b/package/crds/lightsail.aws.upbound.io_lbattachments.yaml index e5408e8c76..87143e62a2 100644 --- a/package/crds/lightsail.aws.upbound.io_lbattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_lbattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbattachments.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lightsail.aws.upbound.io_lbcertificates.yaml b/package/crds/lightsail.aws.upbound.io_lbcertificates.yaml index 8e7da9309e..01e7b1aad3 100644 --- a/package/crds/lightsail.aws.upbound.io_lbcertificates.yaml +++ b/package/crds/lightsail.aws.upbound.io_lbcertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbcertificates.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -251,42 +251,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lightsail.aws.upbound.io_lbs.yaml b/package/crds/lightsail.aws.upbound.io_lbs.yaml index 38a8f6499b..1aa3568eab 100644 --- a/package/crds/lightsail.aws.upbound.io_lbs.yaml +++ b/package/crds/lightsail.aws.upbound.io_lbs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbs.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -179,42 +179,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -313,10 +277,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instancePort is a required parameter + - message: spec.forProvider.instancePort is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instancePort) - || has(self.initProvider.instancePort)' + || (has(self.initProvider) && has(self.initProvider.instancePort))' status: description: LBStatus defines the observed state of LB. properties: diff --git a/package/crds/lightsail.aws.upbound.io_lbstickinesspolicies.yaml b/package/crds/lightsail.aws.upbound.io_lbstickinesspolicies.yaml index f9496e8275..96ba6265be 100644 --- a/package/crds/lightsail.aws.upbound.io_lbstickinesspolicies.yaml +++ b/package/crds/lightsail.aws.upbound.io_lbstickinesspolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: lbstickinesspolicies.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,14 +268,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cookieDuration is a required parameter + - message: spec.forProvider.cookieDuration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cookieDuration) - || has(self.initProvider.cookieDuration)' - - message: enabled is a required parameter + || (has(self.initProvider) && has(self.initProvider.cookieDuration))' + - message: spec.forProvider.enabled is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.enabled) - || has(self.initProvider.enabled)' + || (has(self.initProvider) && has(self.initProvider.enabled))' status: description: LBStickinessPolicyStatus defines the observed state of LBStickinessPolicy. properties: diff --git a/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml b/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml index cc92f6d229..b09cda2fe7 100644 --- a/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml +++ b/package/crds/lightsail.aws.upbound.io_staticipattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: staticipattachments.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/lightsail.aws.upbound.io_staticips.yaml b/package/crds/lightsail.aws.upbound.io_staticips.yaml index 68f017aaba..4c25eff52d 100644 --- a/package/crds/lightsail.aws.upbound.io_staticips.yaml +++ b/package/crds/lightsail.aws.upbound.io_staticips.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: staticips.lightsail.aws.upbound.io spec: group: lightsail.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StaticIPStatus defines the observed state of StaticIP. properties: diff --git a/package/crds/location.aws.upbound.io_geofencecollections.yaml b/package/crds/location.aws.upbound.io_geofencecollections.yaml index 181d89536e..c03f76e081 100644 --- a/package/crds/location.aws.upbound.io_geofencecollections.yaml +++ b/package/crds/location.aws.upbound.io_geofencecollections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: geofencecollections.location.aws.upbound.io spec: group: location.aws.upbound.io @@ -245,42 +245,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/location.aws.upbound.io_placeindices.yaml b/package/crds/location.aws.upbound.io_placeindices.yaml index 11883c9fd6..64df3419e6 100644 --- a/package/crds/location.aws.upbound.io_placeindices.yaml +++ b/package/crds/location.aws.upbound.io_placeindices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: placeindices.location.aws.upbound.io spec: group: location.aws.upbound.io @@ -200,42 +200,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -334,10 +298,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dataSource is a required parameter + - message: spec.forProvider.dataSource is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataSource) - || has(self.initProvider.dataSource)' + || (has(self.initProvider) && has(self.initProvider.dataSource))' status: description: PlaceIndexStatus defines the observed state of PlaceIndex. properties: diff --git a/package/crds/location.aws.upbound.io_routecalculators.yaml b/package/crds/location.aws.upbound.io_routecalculators.yaml index 002a82895e..4aad70203a 100644 --- a/package/crds/location.aws.upbound.io_routecalculators.yaml +++ b/package/crds/location.aws.upbound.io_routecalculators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routecalculators.location.aws.upbound.io spec: group: location.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,10 +276,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dataSource is a required parameter + - message: spec.forProvider.dataSource is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dataSource) - || has(self.initProvider.dataSource)' + || (has(self.initProvider) && has(self.initProvider.dataSource))' status: description: RouteCalculatorStatus defines the observed state of RouteCalculator. properties: diff --git a/package/crds/location.aws.upbound.io_trackerassociations.yaml b/package/crds/location.aws.upbound.io_trackerassociations.yaml index 06a1255d5f..3640d08fb3 100644 --- a/package/crds/location.aws.upbound.io_trackerassociations.yaml +++ b/package/crds/location.aws.upbound.io_trackerassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trackerassociations.location.aws.upbound.io spec: group: location.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/location.aws.upbound.io_trackers.yaml b/package/crds/location.aws.upbound.io_trackers.yaml index add62c3a8a..3ad0e02d1b 100644 --- a/package/crds/location.aws.upbound.io_trackers.yaml +++ b/package/crds/location.aws.upbound.io_trackers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trackers.location.aws.upbound.io spec: group: location.aws.upbound.io @@ -255,42 +255,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/macie2.aws.upbound.io_accounts.yaml b/package/crds/macie2.aws.upbound.io_accounts.yaml index 6f48369581..415947c202 100644 --- a/package/crds/macie2.aws.upbound.io_accounts.yaml +++ b/package/crds/macie2.aws.upbound.io_accounts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accounts.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/macie2.aws.upbound.io_classificationjobs.yaml b/package/crds/macie2.aws.upbound.io_classificationjobs.yaml index baaf40bbb7..fe72a5a8fa 100644 --- a/package/crds/macie2.aws.upbound.io_classificationjobs.yaml +++ b/package/crds/macie2.aws.upbound.io_classificationjobs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: classificationjobs.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -996,42 +996,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1130,14 +1094,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: jobType is a required parameter + - message: spec.forProvider.jobType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.jobType) - || has(self.initProvider.jobType)' - - message: s3JobDefinition is a required parameter + || (has(self.initProvider) && has(self.initProvider.jobType))' + - message: spec.forProvider.s3JobDefinition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.s3JobDefinition) - || has(self.initProvider.s3JobDefinition)' + || (has(self.initProvider) && has(self.initProvider.s3JobDefinition))' status: description: ClassificationJobStatus defines the observed state of ClassificationJob. properties: diff --git a/package/crds/macie2.aws.upbound.io_customdataidentifiers.yaml b/package/crds/macie2.aws.upbound.io_customdataidentifiers.yaml index a1e51f114c..bdcaf6b2fc 100644 --- a/package/crds/macie2.aws.upbound.io_customdataidentifiers.yaml +++ b/package/crds/macie2.aws.upbound.io_customdataidentifiers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: customdataidentifiers.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -240,42 +240,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/macie2.aws.upbound.io_findingsfilters.yaml b/package/crds/macie2.aws.upbound.io_findingsfilters.yaml index 565016d38d..c9644a60e5 100644 --- a/package/crds/macie2.aws.upbound.io_findingsfilters.yaml +++ b/package/crds/macie2.aws.upbound.io_findingsfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: findingsfilters.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -450,14 +414,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: findingCriteria is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.findingCriteria is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.findingCriteria) - || has(self.initProvider.findingCriteria)' + || (has(self.initProvider) && has(self.initProvider.findingCriteria))' status: description: FindingsFilterStatus defines the observed state of FindingsFilter. properties: diff --git a/package/crds/macie2.aws.upbound.io_invitationaccepters.yaml b/package/crds/macie2.aws.upbound.io_invitationaccepters.yaml index 811c684b3c..c97f00fea5 100644 --- a/package/crds/macie2.aws.upbound.io_invitationaccepters.yaml +++ b/package/crds/macie2.aws.upbound.io_invitationaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: invitationaccepters.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -160,42 +160,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -294,10 +258,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: administratorAccountId is a required parameter + - message: spec.forProvider.administratorAccountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.administratorAccountId) - || has(self.initProvider.administratorAccountId)' + || (has(self.initProvider) && has(self.initProvider.administratorAccountId))' status: description: InvitationAccepterStatus defines the observed state of InvitationAccepter. properties: diff --git a/package/crds/macie2.aws.upbound.io_members.yaml b/package/crds/macie2.aws.upbound.io_members.yaml index 4bb37cc5d9..c5350a829c 100644 --- a/package/crds/macie2.aws.upbound.io_members.yaml +++ b/package/crds/macie2.aws.upbound.io_members.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: members.macie2.aws.upbound.io spec: group: macie2.aws.upbound.io @@ -216,42 +216,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -350,14 +314,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountId is a required parameter + - message: spec.forProvider.accountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountId) - || has(self.initProvider.accountId)' - - message: email is a required parameter + || (has(self.initProvider) && has(self.initProvider.accountId))' + - message: spec.forProvider.email is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.email) - || has(self.initProvider.email)' + || (has(self.initProvider) && has(self.initProvider.email))' status: description: MemberStatus defines the observed state of Member. properties: diff --git a/package/crds/mediaconvert.aws.upbound.io_queues.yaml b/package/crds/mediaconvert.aws.upbound.io_queues.yaml index e961bd7ce7..219170c3e1 100644 --- a/package/crds/mediaconvert.aws.upbound.io_queues.yaml +++ b/package/crds/mediaconvert.aws.upbound.io_queues.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queues.mediaconvert.aws.upbound.io spec: group: mediaconvert.aws.upbound.io @@ -224,42 +224,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/medialive.aws.upbound.io_channels.yaml b/package/crds/medialive.aws.upbound.io_channels.yaml index ac8f9b27e6..0f3489a1d4 100644 --- a/package/crds/medialive.aws.upbound.io_channels.yaml +++ b/package/crds/medialive.aws.upbound.io_channels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: channels.medialive.aws.upbound.io spec: group: medialive.aws.upbound.io @@ -5624,42 +5624,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -5758,30 +5722,30 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: channelClass is a required parameter + - message: spec.forProvider.channelClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.channelClass) - || has(self.initProvider.channelClass)' - - message: destinations is a required parameter + || (has(self.initProvider) && has(self.initProvider.channelClass))' + - message: spec.forProvider.destinations is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destinations) - || has(self.initProvider.destinations)' - - message: encoderSettings is a required parameter + || (has(self.initProvider) && has(self.initProvider.destinations))' + - message: spec.forProvider.encoderSettings is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.encoderSettings) - || has(self.initProvider.encoderSettings)' - - message: inputAttachments is a required parameter + || (has(self.initProvider) && has(self.initProvider.encoderSettings))' + - message: spec.forProvider.inputAttachments is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inputAttachments) - || has(self.initProvider.inputAttachments)' - - message: inputSpecification is a required parameter + || (has(self.initProvider) && has(self.initProvider.inputAttachments))' + - message: spec.forProvider.inputSpecification is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inputSpecification) - || has(self.initProvider.inputSpecification)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.inputSpecification))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ChannelStatus defines the observed state of Channel. properties: diff --git a/package/crds/medialive.aws.upbound.io_inputs.yaml b/package/crds/medialive.aws.upbound.io_inputs.yaml index 51a38803ce..5ba98ee4eb 100644 --- a/package/crds/medialive.aws.upbound.io_inputs.yaml +++ b/package/crds/medialive.aws.upbound.io_inputs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: inputs.medialive.aws.upbound.io spec: group: medialive.aws.upbound.io @@ -394,42 +394,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -528,14 +492,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: InputStatus defines the observed state of Input. properties: diff --git a/package/crds/medialive.aws.upbound.io_inputsecuritygroups.yaml b/package/crds/medialive.aws.upbound.io_inputsecuritygroups.yaml index 05b7baa1c7..fe9f0f2003 100644 --- a/package/crds/medialive.aws.upbound.io_inputsecuritygroups.yaml +++ b/package/crds/medialive.aws.upbound.io_inputsecuritygroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: inputsecuritygroups.medialive.aws.upbound.io spec: group: medialive.aws.upbound.io @@ -180,42 +180,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -314,10 +278,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: whitelistRules is a required parameter + - message: spec.forProvider.whitelistRules is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.whitelistRules) - || has(self.initProvider.whitelistRules)' + || (has(self.initProvider) && has(self.initProvider.whitelistRules))' status: description: InputSecurityGroupStatus defines the observed state of InputSecurityGroup. properties: diff --git a/package/crds/medialive.aws.upbound.io_multiplices.yaml b/package/crds/medialive.aws.upbound.io_multiplices.yaml index b600e71c73..66de25df1d 100644 --- a/package/crds/medialive.aws.upbound.io_multiplices.yaml +++ b/package/crds/medialive.aws.upbound.io_multiplices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: multiplices.medialive.aws.upbound.io spec: group: medialive.aws.upbound.io @@ -223,42 +223,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -357,14 +321,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: availabilityZones is a required parameter + - message: spec.forProvider.availabilityZones is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.availabilityZones) - || has(self.initProvider.availabilityZones)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.availabilityZones))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: MultiplexStatus defines the observed state of Multiplex. properties: diff --git a/package/crds/mediapackage.aws.upbound.io_channels.yaml b/package/crds/mediapackage.aws.upbound.io_channels.yaml index 0ef0496d30..db5c5ceebd 100644 --- a/package/crds/mediapackage.aws.upbound.io_channels.yaml +++ b/package/crds/mediapackage.aws.upbound.io_channels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: channels.mediapackage.aws.upbound.io spec: group: mediapackage.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,10 +272,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: channelId is a required parameter + - message: spec.forProvider.channelId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.channelId) - || has(self.initProvider.channelId)' + || (has(self.initProvider) && has(self.initProvider.channelId))' status: description: ChannelStatus defines the observed state of Channel. properties: diff --git a/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml b/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml index 526a58cd46..269bc49ccc 100644 --- a/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml +++ b/package/crds/mediastore.aws.upbound.io_containerpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: containerpolicies.mediastore.aws.upbound.io spec: group: mediastore.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: ContainerPolicyStatus defines the observed state of ContainerPolicy. properties: diff --git a/package/crds/mediastore.aws.upbound.io_containers.yaml b/package/crds/mediastore.aws.upbound.io_containers.yaml index 318c2e0d39..f3e9fea003 100644 --- a/package/crds/mediastore.aws.upbound.io_containers.yaml +++ b/package/crds/mediastore.aws.upbound.io_containers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: containers.mediastore.aws.upbound.io spec: group: mediastore.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/memorydb.aws.upbound.io_acls.yaml b/package/crds/memorydb.aws.upbound.io_acls.yaml index 9cb0bb79ec..b523552744 100644 --- a/package/crds/memorydb.aws.upbound.io_acls.yaml +++ b/package/crds/memorydb.aws.upbound.io_acls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: acls.memorydb.aws.upbound.io spec: group: memorydb.aws.upbound.io @@ -173,42 +173,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/memorydb.aws.upbound.io_clusters.yaml b/package/crds/memorydb.aws.upbound.io_clusters.yaml index 56e1764b26..5bdd90ebab 100644 --- a/package/crds/memorydb.aws.upbound.io_clusters.yaml +++ b/package/crds/memorydb.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.memorydb.aws.upbound.io spec: group: memorydb.aws.upbound.io @@ -565,42 +565,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -699,14 +663,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: aclName is a required parameter + - message: spec.forProvider.aclName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.aclName) - || has(self.initProvider.aclName)' - - message: nodeType is a required parameter + || (has(self.initProvider) && has(self.initProvider.aclName))' + - message: spec.forProvider.nodeType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.nodeType) - || has(self.initProvider.nodeType)' + || (has(self.initProvider) && has(self.initProvider.nodeType))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/memorydb.aws.upbound.io_parametergroups.yaml b/package/crds/memorydb.aws.upbound.io_parametergroups.yaml index 9280bca301..c50d7becc3 100644 --- a/package/crds/memorydb.aws.upbound.io_parametergroups.yaml +++ b/package/crds/memorydb.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.memorydb.aws.upbound.io spec: group: memorydb.aws.upbound.io @@ -204,42 +204,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -338,10 +302,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ParameterGroupStatus defines the observed state of ParameterGroup. properties: diff --git a/package/crds/memorydb.aws.upbound.io_snapshots.yaml b/package/crds/memorydb.aws.upbound.io_snapshots.yaml index 4a5cd2c2e1..998b5ca6ba 100644 --- a/package/crds/memorydb.aws.upbound.io_snapshots.yaml +++ b/package/crds/memorydb.aws.upbound.io_snapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshots.memorydb.aws.upbound.io spec: group: memorydb.aws.upbound.io @@ -315,42 +315,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml b/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml index 8fd0103e4b..d77514b8f9 100644 --- a/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/memorydb.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.memorydb.aws.upbound.io spec: group: memorydb.aws.upbound.io @@ -251,42 +251,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/mq.aws.upbound.io_brokers.yaml b/package/crds/mq.aws.upbound.io_brokers.yaml index d280e82678..62f9ce4b98 100644 --- a/package/crds/mq.aws.upbound.io_brokers.yaml +++ b/package/crds/mq.aws.upbound.io_brokers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: brokers.mq.aws.upbound.io spec: group: mq.aws.upbound.io @@ -807,42 +807,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -941,26 +905,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: brokerName is a required parameter + - message: spec.forProvider.brokerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.brokerName) - || has(self.initProvider.brokerName)' - - message: engineType is a required parameter + || (has(self.initProvider) && has(self.initProvider.brokerName))' + - message: spec.forProvider.engineType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineType) - || has(self.initProvider.engineType)' - - message: engineVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineType))' + - message: spec.forProvider.engineVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineVersion) - || has(self.initProvider.engineVersion)' - - message: hostInstanceType is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineVersion))' + - message: spec.forProvider.hostInstanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hostInstanceType) - || has(self.initProvider.hostInstanceType)' - - message: user is a required parameter + || (has(self.initProvider) && has(self.initProvider.hostInstanceType))' + - message: spec.forProvider.user is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.user) - || has(self.initProvider.user)' + || (has(self.initProvider) && has(self.initProvider.user))' status: description: BrokerStatus defines the observed state of Broker. properties: diff --git a/package/crds/mq.aws.upbound.io_configurations.yaml b/package/crds/mq.aws.upbound.io_configurations.yaml index 8a9410aea6..bb9713cb70 100644 --- a/package/crds/mq.aws.upbound.io_configurations.yaml +++ b/package/crds/mq.aws.upbound.io_configurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurations.mq.aws.upbound.io spec: group: mq.aws.upbound.io @@ -206,42 +206,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -340,22 +304,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: data is a required parameter + - message: spec.forProvider.data is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.data) - || has(self.initProvider.data)' - - message: engineType is a required parameter + || (has(self.initProvider) && has(self.initProvider.data))' + - message: spec.forProvider.engineType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineType) - || has(self.initProvider.engineType)' - - message: engineVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineType))' + - message: spec.forProvider.engineVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineVersion) - || has(self.initProvider.engineVersion)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineVersion))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ConfigurationStatus defines the observed state of Configuration. properties: diff --git a/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml b/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml index 8b61b7b071..3d88949161 100644 --- a/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml +++ b/package/crds/neptune.aws.upbound.io_clusterendpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterendpoints.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -275,42 +275,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -409,10 +373,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: endpointType is a required parameter + - message: spec.forProvider.endpointType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.endpointType) - || has(self.initProvider.endpointType)' + || (has(self.initProvider) && has(self.initProvider.endpointType))' status: description: ClusterEndpointStatus defines the observed state of ClusterEndpoint. properties: diff --git a/package/crds/neptune.aws.upbound.io_clusterinstances.yaml b/package/crds/neptune.aws.upbound.io_clusterinstances.yaml index 9d93dde67d..b3ad64e3ee 100644 --- a/package/crds/neptune.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/neptune.aws.upbound.io_clusterinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterinstances.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -484,42 +484,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -618,10 +582,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceClass is a required parameter + - message: spec.forProvider.instanceClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceClass) - || has(self.initProvider.instanceClass)' + || (has(self.initProvider) && has(self.initProvider.instanceClass))' status: description: ClusterInstanceStatus defines the observed state of ClusterInstance. properties: diff --git a/package/crds/neptune.aws.upbound.io_clusterparametergroups.yaml b/package/crds/neptune.aws.upbound.io_clusterparametergroups.yaml index b999623b0b..f33e28f54d 100644 --- a/package/crds/neptune.aws.upbound.io_clusterparametergroups.yaml +++ b/package/crds/neptune.aws.upbound.io_clusterparametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterparametergroups.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -208,42 +208,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -342,10 +306,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup. diff --git a/package/crds/neptune.aws.upbound.io_clusters.yaml b/package/crds/neptune.aws.upbound.io_clusters.yaml index 5c7089c5ea..7b391cad0a 100644 --- a/package/crds/neptune.aws.upbound.io_clusters.yaml +++ b/package/crds/neptune.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -919,42 +919,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml b/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml index cea71816a5..aab2afb34b 100644 --- a/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/neptune.aws.upbound.io_clustersnapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clustersnapshots.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml b/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml index 83a42b7b9a..38b852d80b 100644 --- a/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/neptune.aws.upbound.io_eventsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsubscriptions.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -288,42 +288,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/neptune.aws.upbound.io_globalclusters.yaml b/package/crds/neptune.aws.upbound.io_globalclusters.yaml index 013714688a..ac183fddfc 100644 --- a/package/crds/neptune.aws.upbound.io_globalclusters.yaml +++ b/package/crds/neptune.aws.upbound.io_globalclusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globalclusters.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -267,42 +267,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/neptune.aws.upbound.io_parametergroups.yaml b/package/crds/neptune.aws.upbound.io_parametergroups.yaml index a242e59b7e..8790c8a2f7 100644 --- a/package/crds/neptune.aws.upbound.io_parametergroups.yaml +++ b/package/crds/neptune.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -208,42 +208,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -342,10 +306,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ParameterGroupStatus defines the observed state of ParameterGroup. properties: diff --git a/package/crds/neptune.aws.upbound.io_subnetgroups.yaml b/package/crds/neptune.aws.upbound.io_subnetgroups.yaml index 1253863500..7638a85d76 100644 --- a/package/crds/neptune.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/neptune.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.neptune.aws.upbound.io spec: group: neptune.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml b/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml index 1f964e66a0..e172915880 100644 --- a/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_firewallpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: firewallpolicies.networkfirewall.aws.upbound.io spec: group: networkfirewall.aws.upbound.io @@ -658,42 +658,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -792,10 +756,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: firewallPolicy is a required parameter + - message: spec.forProvider.firewallPolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.firewallPolicy) - || has(self.initProvider.firewallPolicy)' + || (has(self.initProvider) && has(self.initProvider.firewallPolicy))' status: description: FirewallPolicyStatus defines the observed state of FirewallPolicy. properties: diff --git a/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml b/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml index df5abdf3b3..d871218a09 100644 --- a/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_firewalls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: firewalls.networkfirewall.aws.upbound.io spec: group: networkfirewall.aws.upbound.io @@ -499,42 +499,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -633,14 +597,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: subnetMapping is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.subnetMapping is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.subnetMapping) - || has(self.initProvider.subnetMapping)' + || (has(self.initProvider) && has(self.initProvider.subnetMapping))' status: description: FirewallStatus defines the observed state of Firewall. properties: diff --git a/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml b/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml index 4ac8befef2..b39712bbb4 100644 --- a/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_loggingconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: loggingconfigurations.networkfirewall.aws.upbound.io spec: group: networkfirewall.aws.upbound.io @@ -299,42 +299,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -433,10 +397,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: loggingConfiguration is a required parameter + - message: spec.forProvider.loggingConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.loggingConfiguration) - || has(self.initProvider.loggingConfiguration)' + || (has(self.initProvider) && has(self.initProvider.loggingConfiguration))' status: description: LoggingConfigurationStatus defines the observed state of LoggingConfiguration. diff --git a/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml b/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml index 608f3042d7..b0e94caef3 100644 --- a/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml +++ b/package/crds/networkfirewall.aws.upbound.io_rulegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rulegroups.networkfirewall.aws.upbound.io spec: group: networkfirewall.aws.upbound.io @@ -1313,42 +1313,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1447,18 +1411,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: capacity is a required parameter + - message: spec.forProvider.capacity is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.capacity) - || has(self.initProvider.capacity)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.capacity))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: RuleGroupStatus defines the observed state of RuleGroup. properties: diff --git a/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml b/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml index 956e4b2b90..fb4de03105 100644 --- a/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml +++ b/package/crds/networkmanager.aws.upbound.io_attachmentaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: attachmentaccepters.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml b/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml index dfb4a3509c..abc44077d9 100644 --- a/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml +++ b/package/crds/networkmanager.aws.upbound.io_connectattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connectattachments.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -410,42 +410,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -544,10 +508,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: options is a required parameter + - message: spec.forProvider.options is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.options) - || has(self.initProvider.options)' + || (has(self.initProvider) && has(self.initProvider.options))' status: description: ConnectAttachmentStatus defines the observed state of ConnectAttachment. properties: diff --git a/package/crds/networkmanager.aws.upbound.io_connections.yaml b/package/crds/networkmanager.aws.upbound.io_connections.yaml index 4c864a7d13..948a6247be 100644 --- a/package/crds/networkmanager.aws.upbound.io_connections.yaml +++ b/package/crds/networkmanager.aws.upbound.io_connections.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: connections.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -414,42 +414,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml b/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml index 41c0abf768..86f1dd7e00 100644 --- a/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml +++ b/package/crds/networkmanager.aws.upbound.io_corenetworks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: corenetworks.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -327,42 +327,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml b/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml index febf95ab0f..42e5d84f54 100644 --- a/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_customergatewayassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: customergatewayassociations.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -394,42 +394,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_devices.yaml b/package/crds/networkmanager.aws.upbound.io_devices.yaml index 3fe725a869..9e2737d764 100644 --- a/package/crds/networkmanager.aws.upbound.io_devices.yaml +++ b/package/crds/networkmanager.aws.upbound.io_devices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: devices.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -408,42 +408,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_globalnetworks.yaml b/package/crds/networkmanager.aws.upbound.io_globalnetworks.yaml index 2501f07f7a..902f52c841 100644 --- a/package/crds/networkmanager.aws.upbound.io_globalnetworks.yaml +++ b/package/crds/networkmanager.aws.upbound.io_globalnetworks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globalnetworks.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_linkassociations.yaml b/package/crds/networkmanager.aws.upbound.io_linkassociations.yaml index 7fafe0c4f5..e62a9bb965 100644 --- a/package/crds/networkmanager.aws.upbound.io_linkassociations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_linkassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: linkassociations.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -383,42 +383,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_links.yaml b/package/crds/networkmanager.aws.upbound.io_links.yaml index 117253b0fd..d2735caaaf 100644 --- a/package/crds/networkmanager.aws.upbound.io_links.yaml +++ b/package/crds/networkmanager.aws.upbound.io_links.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: links.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -359,42 +359,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -493,10 +457,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bandwidth is a required parameter + - message: spec.forProvider.bandwidth is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bandwidth) - || has(self.initProvider.bandwidth)' + || (has(self.initProvider) && has(self.initProvider.bandwidth))' status: description: LinkStatus defines the observed state of Link. properties: diff --git a/package/crds/networkmanager.aws.upbound.io_sites.yaml b/package/crds/networkmanager.aws.upbound.io_sites.yaml index ec633585da..cbfc7e1336 100644 --- a/package/crds/networkmanager.aws.upbound.io_sites.yaml +++ b/package/crds/networkmanager.aws.upbound.io_sites.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sites.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -276,42 +276,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml b/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml index 961563eed1..cca2a4443a 100644 --- a/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_transitgatewayconnectpeerassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayconnectpeerassociations.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -394,42 +394,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_transitgatewayregistrations.yaml b/package/crds/networkmanager.aws.upbound.io_transitgatewayregistrations.yaml index eb20976181..9c0a2c626f 100644 --- a/package/crds/networkmanager.aws.upbound.io_transitgatewayregistrations.yaml +++ b/package/crds/networkmanager.aws.upbound.io_transitgatewayregistrations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: transitgatewayregistrations.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml b/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml index d43490fc09..39f6255b0a 100644 --- a/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml +++ b/package/crds/networkmanager.aws.upbound.io_vpcattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcattachments.networkmanager.aws.upbound.io spec: group: networkmanager.aws.upbound.io @@ -425,42 +425,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml b/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml index afc80d073a..9061eabc51 100644 --- a/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml +++ b/package/crds/opensearch.aws.upbound.io_domainpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainpolicies.opensearch.aws.upbound.io spec: group: opensearch.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accessPolicies is a required parameter + - message: spec.forProvider.accessPolicies is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accessPolicies) - || has(self.initProvider.accessPolicies)' + || (has(self.initProvider) && has(self.initProvider.accessPolicies))' status: description: DomainPolicyStatus defines the observed state of DomainPolicy. properties: diff --git a/package/crds/opensearch.aws.upbound.io_domains.yaml b/package/crds/opensearch.aws.upbound.io_domains.yaml index f4226601aa..db8ab17ca6 100644 --- a/package/crds/opensearch.aws.upbound.io_domains.yaml +++ b/package/crds/opensearch.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.opensearch.aws.upbound.io spec: group: opensearch.aws.upbound.io @@ -921,42 +921,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1055,10 +1019,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domainName is a required parameter + - message: spec.forProvider.domainName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainName) - || has(self.initProvider.domainName)' + || (has(self.initProvider) && has(self.initProvider.domainName))' status: description: DomainStatus defines the observed state of Domain. properties: diff --git a/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml b/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml index 6108cbc3c8..c8a1396669 100644 --- a/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml +++ b/package/crds/opensearch.aws.upbound.io_domainsamloptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainsamloptions.opensearch.aws.upbound.io spec: group: opensearch.aws.upbound.io @@ -328,42 +328,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_applications.yaml b/package/crds/opsworks.aws.upbound.io_applications.yaml index 6072c1e73a..71eda47d43 100644 --- a/package/crds/opsworks.aws.upbound.io_applications.yaml +++ b/package/crds/opsworks.aws.upbound.io_applications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: applications.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -483,42 +483,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -617,14 +581,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: ApplicationStatus defines the observed state of Application. properties: diff --git a/package/crds/opsworks.aws.upbound.io_customlayers.yaml b/package/crds/opsworks.aws.upbound.io_customlayers.yaml index 56357c7baf..edd364487f 100644 --- a/package/crds/opsworks.aws.upbound.io_customlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_customlayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: customlayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -851,42 +851,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -985,14 +949,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: shortName is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.shortName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.shortName) - || has(self.initProvider.shortName)' + || (has(self.initProvider) && has(self.initProvider.shortName))' status: description: CustomLayerStatus defines the observed state of CustomLayer. properties: diff --git a/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml b/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml index 7560452e98..af92983ba9 100644 --- a/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_ecsclusterlayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ecsclusterlayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -749,42 +749,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml b/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml index b2363cc996..3f0bc89d40 100644 --- a/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_ganglialayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ganglialayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -693,42 +693,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -827,10 +791,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: password is a required parameter + - message: spec.forProvider.password is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.password) - || has(self.initProvider.password)' + || (has(self.initProvider) && has(self.initProvider.password))' status: description: GangliaLayerStatus defines the observed state of GangliaLayer. properties: diff --git a/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml b/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml index d466437815..ab52b73300 100644 --- a/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_haproxylayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: haproxylayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -713,42 +713,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -847,10 +811,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: statsPassword is a required parameter + - message: spec.forProvider.statsPassword is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.statsPassword) - || has(self.initProvider.statsPassword)' + || (has(self.initProvider) && has(self.initProvider.statsPassword))' status: description: HAProxyLayerStatus defines the observed state of HAProxyLayer. properties: diff --git a/package/crds/opsworks.aws.upbound.io_instances.yaml b/package/crds/opsworks.aws.upbound.io_instances.yaml index 4dc99e6aa1..0e6d2bf170 100644 --- a/package/crds/opsworks.aws.upbound.io_instances.yaml +++ b/package/crds/opsworks.aws.upbound.io_instances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instances.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -758,42 +758,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml b/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml index 68a578c023..81431b3a94 100644 --- a/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_javaapplayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: javaapplayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -707,42 +707,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml b/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml index 1a530ddcd6..5a5280fa13 100644 --- a/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_memcachedlayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: memcachedlayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -681,42 +681,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml b/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml index 68cd2415b7..054899afd5 100644 --- a/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_mysqllayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: mysqllayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -687,42 +687,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml b/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml index e3f2562bf1..be04e64d53 100644 --- a/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_nodejsapplayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: nodejsapplayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -679,42 +679,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_permissions.yaml b/package/crds/opsworks.aws.upbound.io_permissions.yaml index be824544c6..f2cf51266f 100644 --- a/package/crds/opsworks.aws.upbound.io_permissions.yaml +++ b/package/crds/opsworks.aws.upbound.io_permissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissions.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -322,42 +322,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml b/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml index bf32947aa0..6b65696731 100644 --- a/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_phpapplayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: phpapplayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -673,42 +673,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml b/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml index e5daf2a42d..f66a9f351c 100644 --- a/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_railsapplayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: railsapplayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -711,42 +711,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml b/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml index 05d6df5376..3c2ed1fd47 100644 --- a/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml +++ b/package/crds/opsworks.aws.upbound.io_rdsdbinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rdsdbinstances.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -323,42 +323,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -457,13 +421,13 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dbPasswordSecretRef is a required parameter + - message: spec.forProvider.dbPasswordSecretRef is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dbPasswordSecretRef)' - - message: dbUser is a required parameter + - message: spec.forProvider.dbUser is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dbUser) - || has(self.initProvider.dbUser)' + || (has(self.initProvider) && has(self.initProvider.dbUser))' status: description: RDSDBInstanceStatus defines the observed state of RDSDBInstance. properties: diff --git a/package/crds/opsworks.aws.upbound.io_stacks.yaml b/package/crds/opsworks.aws.upbound.io_stacks.yaml index 30504cddaa..1ef83c86b4 100644 --- a/package/crds/opsworks.aws.upbound.io_stacks.yaml +++ b/package/crds/opsworks.aws.upbound.io_stacks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: stacks.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -669,42 +669,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -803,10 +767,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: StackStatus defines the observed state of Stack. properties: diff --git a/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml b/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml index c98109246d..5203bfdf99 100644 --- a/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml +++ b/package/crds/opsworks.aws.upbound.io_staticweblayers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: staticweblayers.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -671,42 +671,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/opsworks.aws.upbound.io_userprofiles.yaml b/package/crds/opsworks.aws.upbound.io_userprofiles.yaml index 980664c9a5..0f8e6b0b45 100644 --- a/package/crds/opsworks.aws.upbound.io_userprofiles.yaml +++ b/package/crds/opsworks.aws.upbound.io_userprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userprofiles.opsworks.aws.upbound.io spec: group: opsworks.aws.upbound.io @@ -244,42 +244,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -378,10 +342,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: sshUsername is a required parameter + - message: spec.forProvider.sshUsername is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.sshUsername) - || has(self.initProvider.sshUsername)' + || (has(self.initProvider) && has(self.initProvider.sshUsername))' status: description: UserProfileStatus defines the observed state of UserProfile. properties: diff --git a/package/crds/organizations.aws.upbound.io_accounts.yaml b/package/crds/organizations.aws.upbound.io_accounts.yaml index 9094eaec76..424a05d130 100644 --- a/package/crds/organizations.aws.upbound.io_accounts.yaml +++ b/package/crds/organizations.aws.upbound.io_accounts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accounts.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -362,14 +326,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: email is a required parameter + - message: spec.forProvider.email is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.email) - || has(self.initProvider.email)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.email))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AccountStatus defines the observed state of Account. properties: diff --git a/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml b/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml index 337735a6ef..979fb32b2e 100644 --- a/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml +++ b/package/crds/organizations.aws.upbound.io_delegatedadministrators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: delegatedadministrators.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: servicePrincipal is a required parameter + - message: spec.forProvider.servicePrincipal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.servicePrincipal) - || has(self.initProvider.servicePrincipal)' + || (has(self.initProvider) && has(self.initProvider.servicePrincipal))' status: description: DelegatedAdministratorStatus defines the observed state of DelegatedAdministrator. diff --git a/package/crds/organizations.aws.upbound.io_organizationalunits.yaml b/package/crds/organizations.aws.upbound.io_organizationalunits.yaml index e5a20a4182..9a08a862ae 100644 --- a/package/crds/organizations.aws.upbound.io_organizationalunits.yaml +++ b/package/crds/organizations.aws.upbound.io_organizationalunits.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: organizationalunits.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -310,14 +274,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: parentId is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.parentId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parentId) - || has(self.initProvider.parentId)' + || (has(self.initProvider) && has(self.initProvider.parentId))' status: description: OrganizationalUnitStatus defines the observed state of OrganizationalUnit. properties: diff --git a/package/crds/organizations.aws.upbound.io_organizations.yaml b/package/crds/organizations.aws.upbound.io_organizations.yaml index c132e1be9e..79b9a9a122 100644 --- a/package/crds/organizations.aws.upbound.io_organizations.yaml +++ b/package/crds/organizations.aws.upbound.io_organizations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: organizations.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -196,42 +196,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/organizations.aws.upbound.io_policies.yaml b/package/crds/organizations.aws.upbound.io_policies.yaml index 9cdddec76b..eedd330c9a 100644 --- a/package/crds/organizations.aws.upbound.io_policies.yaml +++ b/package/crds/organizations.aws.upbound.io_policies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policies.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -216,42 +216,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -350,14 +314,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: content is a required parameter + - message: spec.forProvider.content is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.content) - || has(self.initProvider.content)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.content))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PolicyStatus defines the observed state of Policy. properties: diff --git a/package/crds/organizations.aws.upbound.io_policyattachments.yaml b/package/crds/organizations.aws.upbound.io_policyattachments.yaml index 1e027a5b21..e2d21961e7 100644 --- a/package/crds/organizations.aws.upbound.io_policyattachments.yaml +++ b/package/crds/organizations.aws.upbound.io_policyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: policyattachments.organizations.aws.upbound.io spec: group: organizations.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,10 +350,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetId is a required parameter + - message: spec.forProvider.targetId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetId) - || has(self.initProvider.targetId)' + || (has(self.initProvider) && has(self.initProvider.targetId))' status: description: PolicyAttachmentStatus defines the observed state of PolicyAttachment. properties: diff --git a/package/crds/pinpoint.aws.upbound.io_apps.yaml b/package/crds/pinpoint.aws.upbound.io_apps.yaml index d4170ffbae..cf91bc7898 100644 --- a/package/crds/pinpoint.aws.upbound.io_apps.yaml +++ b/package/crds/pinpoint.aws.upbound.io_apps.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apps.pinpoint.aws.upbound.io spec: group: pinpoint.aws.upbound.io @@ -293,42 +293,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/pinpoint.aws.upbound.io_smschannels.yaml b/package/crds/pinpoint.aws.upbound.io_smschannels.yaml index 1abe4891e3..0730bcd445 100644 --- a/package/crds/pinpoint.aws.upbound.io_smschannels.yaml +++ b/package/crds/pinpoint.aws.upbound.io_smschannels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: smschannels.pinpoint.aws.upbound.io spec: group: pinpoint.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/qldb.aws.upbound.io_ledgers.yaml b/package/crds/qldb.aws.upbound.io_ledgers.yaml index 549c76fec8..6193b97aff 100644 --- a/package/crds/qldb.aws.upbound.io_ledgers.yaml +++ b/package/crds/qldb.aws.upbound.io_ledgers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ledgers.qldb.aws.upbound.io spec: group: qldb.aws.upbound.io @@ -259,42 +259,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -393,10 +357,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: permissionsMode is a required parameter + - message: spec.forProvider.permissionsMode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.permissionsMode) - || has(self.initProvider.permissionsMode)' + || (has(self.initProvider) && has(self.initProvider.permissionsMode))' status: description: LedgerStatus defines the observed state of Ledger. properties: diff --git a/package/crds/qldb.aws.upbound.io_streams.yaml b/package/crds/qldb.aws.upbound.io_streams.yaml index 06f9a3948d..55a563da24 100644 --- a/package/crds/qldb.aws.upbound.io_streams.yaml +++ b/package/crds/qldb.aws.upbound.io_streams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: streams.qldb.aws.upbound.io spec: group: qldb.aws.upbound.io @@ -470,42 +470,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -604,18 +568,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: inclusiveStartTime is a required parameter + - message: spec.forProvider.inclusiveStartTime is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inclusiveStartTime) - || has(self.initProvider.inclusiveStartTime)' - - message: kinesisConfiguration is a required parameter + || (has(self.initProvider) && has(self.initProvider.inclusiveStartTime))' + - message: spec.forProvider.kinesisConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.kinesisConfiguration) - || has(self.initProvider.kinesisConfiguration)' - - message: streamName is a required parameter + || (has(self.initProvider) && has(self.initProvider.kinesisConfiguration))' + - message: spec.forProvider.streamName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.streamName) - || has(self.initProvider.streamName)' + || (has(self.initProvider) && has(self.initProvider.streamName))' status: description: StreamStatus defines the observed state of Stream. properties: diff --git a/package/crds/quicksight.aws.upbound.io_groups.yaml b/package/crds/quicksight.aws.upbound.io_groups.yaml index 2035c7ec48..240b8403a4 100644 --- a/package/crds/quicksight.aws.upbound.io_groups.yaml +++ b/package/crds/quicksight.aws.upbound.io_groups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groups.quicksight.aws.upbound.io spec: group: quicksight.aws.upbound.io @@ -182,42 +182,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -316,10 +280,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: groupName is a required parameter + - message: spec.forProvider.groupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupName) - || has(self.initProvider.groupName)' + || (has(self.initProvider) && has(self.initProvider.groupName))' status: description: GroupStatus defines the observed state of Group. properties: diff --git a/package/crds/quicksight.aws.upbound.io_users.yaml b/package/crds/quicksight.aws.upbound.io_users.yaml index a3b3b77b72..c1091250a5 100644 --- a/package/crds/quicksight.aws.upbound.io_users.yaml +++ b/package/crds/quicksight.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.quicksight.aws.upbound.io spec: group: quicksight.aws.upbound.io @@ -226,42 +226,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -360,18 +324,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: email is a required parameter + - message: spec.forProvider.email is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.email) - || has(self.initProvider.email)' - - message: identityType is a required parameter + || (has(self.initProvider) && has(self.initProvider.email))' + - message: spec.forProvider.identityType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.identityType) - || has(self.initProvider.identityType)' - - message: userRole is a required parameter + || (has(self.initProvider) && has(self.initProvider.identityType))' + - message: spec.forProvider.userRole is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.userRole) - || has(self.initProvider.userRole)' + || (has(self.initProvider) && has(self.initProvider.userRole))' status: description: UserStatus defines the observed state of User. properties: diff --git a/package/crds/ram.aws.upbound.io_principalassociations.yaml b/package/crds/ram.aws.upbound.io_principalassociations.yaml index 062a3a607b..1102617c15 100644 --- a/package/crds/ram.aws.upbound.io_principalassociations.yaml +++ b/package/crds/ram.aws.upbound.io_principalassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: principalassociations.ram.aws.upbound.io spec: group: ram.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ram.aws.upbound.io_resourceassociations.yaml b/package/crds/ram.aws.upbound.io_resourceassociations.yaml index 9c4086eca8..8f50908abd 100644 --- a/package/crds/ram.aws.upbound.io_resourceassociations.yaml +++ b/package/crds/ram.aws.upbound.io_resourceassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourceassociations.ram.aws.upbound.io spec: group: ram.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceArn is a required parameter + - message: spec.forProvider.resourceArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceArn) - || has(self.initProvider.resourceArn)' + || (has(self.initProvider) && has(self.initProvider.resourceArn))' status: description: ResourceAssociationStatus defines the observed state of ResourceAssociation. properties: diff --git a/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml b/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml index cf3cd5cd24..5ab8c85434 100644 --- a/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml +++ b/package/crds/ram.aws.upbound.io_resourceshareaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourceshareaccepters.ram.aws.upbound.io spec: group: ram.aws.upbound.io @@ -229,42 +229,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ram.aws.upbound.io_resourceshares.yaml b/package/crds/ram.aws.upbound.io_resourceshares.yaml index 3aeed3d31d..d898b3de65 100644 --- a/package/crds/ram.aws.upbound.io_resourceshares.yaml +++ b/package/crds/ram.aws.upbound.io_resourceshares.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourceshares.ram.aws.upbound.io spec: group: ram.aws.upbound.io @@ -196,42 +196,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -330,10 +294,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ResourceShareStatus defines the observed state of ResourceShare. properties: diff --git a/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml b/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml index 6462806687..6a0abb215e 100644 --- a/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml +++ b/package/crds/rds.aws.upbound.io_clusteractivitystreams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusteractivitystreams.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -331,42 +331,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -465,10 +429,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: mode is a required parameter + - message: spec.forProvider.mode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.mode) - || has(self.initProvider.mode)' + || (has(self.initProvider) && has(self.initProvider.mode))' status: description: ClusterActivityStreamStatus defines the observed state of ClusterActivityStream. diff --git a/package/crds/rds.aws.upbound.io_clusterendpoints.yaml b/package/crds/rds.aws.upbound.io_clusterendpoints.yaml index 9a90f651c9..4cb178658a 100644 --- a/package/crds/rds.aws.upbound.io_clusterendpoints.yaml +++ b/package/crds/rds.aws.upbound.io_clusterendpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterendpoints.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -272,42 +272,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -406,10 +370,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: customEndpointType is a required parameter + - message: spec.forProvider.customEndpointType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.customEndpointType) - || has(self.initProvider.customEndpointType)' + || (has(self.initProvider) && has(self.initProvider.customEndpointType))' status: description: ClusterEndpointStatus defines the observed state of ClusterEndpoint. properties: diff --git a/package/crds/rds.aws.upbound.io_clusterinstances.yaml b/package/crds/rds.aws.upbound.io_clusterinstances.yaml index 848064a992..3b3261d64f 100644 --- a/package/crds/rds.aws.upbound.io_clusterinstances.yaml +++ b/package/crds/rds.aws.upbound.io_clusterinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterinstances.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -628,42 +628,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -762,10 +726,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceClass is a required parameter + - message: spec.forProvider.instanceClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceClass) - || has(self.initProvider.instanceClass)' + || (has(self.initProvider) && has(self.initProvider.instanceClass))' status: description: ClusterInstanceStatus defines the observed state of ClusterInstance. properties: diff --git a/package/crds/rds.aws.upbound.io_clusterparametergroups.yaml b/package/crds/rds.aws.upbound.io_clusterparametergroups.yaml index b5124a1bff..37cd8e5781 100644 --- a/package/crds/rds.aws.upbound.io_clusterparametergroups.yaml +++ b/package/crds/rds.aws.upbound.io_clusterparametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterparametergroups.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -348,10 +312,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ClusterParameterGroupStatus defines the observed state of ClusterParameterGroup. diff --git a/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml b/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml index 2423260c8f..d8d3ce2654 100644 --- a/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml +++ b/package/crds/rds.aws.upbound.io_clusterroleassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusterroleassociations.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -317,42 +317,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -451,10 +415,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: featureName is a required parameter + - message: spec.forProvider.featureName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.featureName) - || has(self.initProvider.featureName)' + || (has(self.initProvider) && has(self.initProvider.featureName))' status: description: ClusterRoleAssociationStatus defines the observed state of ClusterRoleAssociation. diff --git a/package/crds/rds.aws.upbound.io_clusters.yaml b/package/crds/rds.aws.upbound.io_clusters.yaml index 9d6f948b9e..e16937ab91 100644 --- a/package/crds/rds.aws.upbound.io_clusters.yaml +++ b/package/crds/rds.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -1253,42 +1253,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_clustersnapshots.yaml b/package/crds/rds.aws.upbound.io_clustersnapshots.yaml index d0aa9ccf0b..b90f5c48b5 100644 --- a/package/crds/rds.aws.upbound.io_clustersnapshots.yaml +++ b/package/crds/rds.aws.upbound.io_clustersnapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clustersnapshots.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -245,42 +245,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -379,10 +343,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: dbClusterSnapshotIdentifier is a required parameter + - message: spec.forProvider.dbClusterSnapshotIdentifier is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.dbClusterSnapshotIdentifier) - || has(self.initProvider.dbClusterSnapshotIdentifier)' + || (has(self.initProvider) && has(self.initProvider.dbClusterSnapshotIdentifier))' status: description: ClusterSnapshotStatus defines the observed state of ClusterSnapshot. properties: diff --git a/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml b/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml index 0bd28e37fb..ea1410e545 100644 --- a/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml +++ b/package/crds/rds.aws.upbound.io_dbinstanceautomatedbackupsreplications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: dbinstanceautomatedbackupsreplications.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -327,42 +327,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml b/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml index 527face9bc..9e7d7c6d24 100644 --- a/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml +++ b/package/crds/rds.aws.upbound.io_dbsnapshotcopies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: dbsnapshotcopies.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -354,42 +354,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -488,10 +452,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetDbSnapshotIdentifier is a required parameter + - message: spec.forProvider.targetDbSnapshotIdentifier is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetDbSnapshotIdentifier) - || has(self.initProvider.targetDbSnapshotIdentifier)' + || (has(self.initProvider) && has(self.initProvider.targetDbSnapshotIdentifier))' status: description: DBSnapshotCopyStatus defines the observed state of DBSnapshotCopy. properties: diff --git a/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml b/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml index 2d4f516900..d0473589fe 100644 --- a/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/rds.aws.upbound.io_eventsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsubscriptions.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -288,42 +288,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_globalclusters.yaml b/package/crds/rds.aws.upbound.io_globalclusters.yaml index 8bfd334bb3..c400c4d493 100644 --- a/package/crds/rds.aws.upbound.io_globalclusters.yaml +++ b/package/crds/rds.aws.upbound.io_globalclusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: globalclusters.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -293,42 +293,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml b/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml index 9f96201c0d..f9e8017240 100644 --- a/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml +++ b/package/crds/rds.aws.upbound.io_instanceroleassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instanceroleassociations.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -319,42 +319,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -453,10 +417,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: featureName is a required parameter + - message: spec.forProvider.featureName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.featureName) - || has(self.initProvider.featureName)' + || (has(self.initProvider) && has(self.initProvider.featureName))' status: description: InstanceRoleAssociationStatus defines the observed state of InstanceRoleAssociation. diff --git a/package/crds/rds.aws.upbound.io_instances.yaml b/package/crds/rds.aws.upbound.io_instances.yaml index 8ca75a2e1a..9798f12252 100644 --- a/package/crds/rds.aws.upbound.io_instances.yaml +++ b/package/crds/rds.aws.upbound.io_instances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: instances.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -1339,42 +1339,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1473,10 +1437,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceClass is a required parameter + - message: spec.forProvider.instanceClass is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceClass) - || has(self.initProvider.instanceClass)' + || (has(self.initProvider) && has(self.initProvider.instanceClass))' status: description: InstanceStatus defines the observed state of Instance. properties: diff --git a/package/crds/rds.aws.upbound.io_optiongroups.yaml b/package/crds/rds.aws.upbound.io_optiongroups.yaml index 6c9b42b73e..31904aa78c 100644 --- a/package/crds/rds.aws.upbound.io_optiongroups.yaml +++ b/package/crds/rds.aws.upbound.io_optiongroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: optiongroups.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -266,42 +266,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -400,14 +364,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: engineName is a required parameter + - message: spec.forProvider.engineName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineName) - || has(self.initProvider.engineName)' - - message: majorEngineVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineName))' + - message: spec.forProvider.majorEngineVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.majorEngineVersion) - || has(self.initProvider.majorEngineVersion)' + || (has(self.initProvider) && has(self.initProvider.majorEngineVersion))' status: description: OptionGroupStatus defines the observed state of OptionGroup. properties: diff --git a/package/crds/rds.aws.upbound.io_parametergroups.yaml b/package/crds/rds.aws.upbound.io_parametergroups.yaml index db17fd85ae..8a31654adf 100644 --- a/package/crds/rds.aws.upbound.io_parametergroups.yaml +++ b/package/crds/rds.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -348,10 +312,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' + || (has(self.initProvider) && has(self.initProvider.family))' status: description: ParameterGroupStatus defines the observed state of ParameterGroup. properties: diff --git a/package/crds/rds.aws.upbound.io_proxies.yaml b/package/crds/rds.aws.upbound.io_proxies.yaml index 9107ecf6fb..d68dfe36f6 100644 --- a/package/crds/rds.aws.upbound.io_proxies.yaml +++ b/package/crds/rds.aws.upbound.io_proxies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: proxies.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -538,42 +538,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -672,18 +636,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: auth is a required parameter + - message: spec.forProvider.auth is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.auth) - || has(self.initProvider.auth)' - - message: engineFamily is a required parameter + || (has(self.initProvider) && has(self.initProvider.auth))' + - message: spec.forProvider.engineFamily is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.engineFamily) - || has(self.initProvider.engineFamily)' - - message: vpcSubnetIds is a required parameter + || (has(self.initProvider) && has(self.initProvider.engineFamily))' + - message: spec.forProvider.vpcSubnetIds is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) - || has(self.initProvider.vpcSubnetIds)' + || (has(self.initProvider) && has(self.initProvider.vpcSubnetIds))' status: description: ProxyStatus defines the observed state of Proxy. properties: diff --git a/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml b/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml index 562557ff13..f7c24d2e02 100644 --- a/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml +++ b/package/crds/rds.aws.upbound.io_proxydefaulttargetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: proxydefaulttargetgroups.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -333,42 +333,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_proxyendpoints.yaml b/package/crds/rds.aws.upbound.io_proxyendpoints.yaml index 33ec0e189b..b4b44b7775 100644 --- a/package/crds/rds.aws.upbound.io_proxyendpoints.yaml +++ b/package/crds/rds.aws.upbound.io_proxyendpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: proxyendpoints.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -344,42 +344,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -478,10 +442,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: vpcSubnetIds is a required parameter + - message: spec.forProvider.vpcSubnetIds is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.vpcSubnetIds) - || has(self.initProvider.vpcSubnetIds)' + || (has(self.initProvider) && has(self.initProvider.vpcSubnetIds))' status: description: ProxyEndpointStatus defines the observed state of ProxyEndpoint. properties: diff --git a/package/crds/rds.aws.upbound.io_proxytargets.yaml b/package/crds/rds.aws.upbound.io_proxytargets.yaml index 7474c02e92..29e9f4fb68 100644 --- a/package/crds/rds.aws.upbound.io_proxytargets.yaml +++ b/package/crds/rds.aws.upbound.io_proxytargets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: proxytargets.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -450,10 +414,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetGroupName is a required parameter + - message: spec.forProvider.targetGroupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetGroupName) - || has(self.initProvider.targetGroupName)' + || (has(self.initProvider) && has(self.initProvider.targetGroupName))' status: description: ProxyTargetStatus defines the observed state of ProxyTarget. properties: diff --git a/package/crds/rds.aws.upbound.io_snapshots.yaml b/package/crds/rds.aws.upbound.io_snapshots.yaml index 23fe769858..5180ec26e9 100644 --- a/package/crds/rds.aws.upbound.io_snapshots.yaml +++ b/package/crds/rds.aws.upbound.io_snapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshots.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -251,42 +251,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rds.aws.upbound.io_subnetgroups.yaml b/package/crds/rds.aws.upbound.io_subnetgroups.yaml index a3b64a3a50..f82a58ff76 100644 --- a/package/crds/rds.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/rds.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.rds.aws.upbound.io spec: group: rds.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshift.aws.upbound.io_authenticationprofiles.yaml b/package/crds/redshift.aws.upbound.io_authenticationprofiles.yaml index e591f63819..abbae58dc8 100644 --- a/package/crds/redshift.aws.upbound.io_authenticationprofiles.yaml +++ b/package/crds/redshift.aws.upbound.io_authenticationprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: authenticationprofiles.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -296,10 +260,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authenticationProfileContent is a required parameter + - message: spec.forProvider.authenticationProfileContent is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authenticationProfileContent) - || has(self.initProvider.authenticationProfileContent)' + || (has(self.initProvider) && has(self.initProvider.authenticationProfileContent))' status: description: AuthenticationProfileStatus defines the observed state of AuthenticationProfile. diff --git a/package/crds/redshift.aws.upbound.io_clusters.yaml b/package/crds/redshift.aws.upbound.io_clusters.yaml index ec659d28bb..c41569a3cf 100644 --- a/package/crds/redshift.aws.upbound.io_clusters.yaml +++ b/package/crds/redshift.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -917,42 +917,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1051,10 +1015,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: nodeType is a required parameter + - message: spec.forProvider.nodeType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.nodeType) - || has(self.initProvider.nodeType)' + || (has(self.initProvider) && has(self.initProvider.nodeType))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml b/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml index 9f7eb68999..2436430338 100644 --- a/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml +++ b/package/crds/redshift.aws.upbound.io_eventsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventsubscriptions.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -298,42 +298,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshift.aws.upbound.io_hsmclientcertificates.yaml b/package/crds/redshift.aws.upbound.io_hsmclientcertificates.yaml index 4d9c8db2a2..1d09058470 100644 --- a/package/crds/redshift.aws.upbound.io_hsmclientcertificates.yaml +++ b/package/crds/redshift.aws.upbound.io_hsmclientcertificates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hsmclientcertificates.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -164,42 +164,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshift.aws.upbound.io_hsmconfigurations.yaml b/package/crds/redshift.aws.upbound.io_hsmconfigurations.yaml index b1514f1bbd..8e805d5556 100644 --- a/package/crds/redshift.aws.upbound.io_hsmconfigurations.yaml +++ b/package/crds/redshift.aws.upbound.io_hsmconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hsmconfigurations.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -213,42 +213,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -347,25 +311,26 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: hsmIpAddress is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.hsmIpAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hsmIpAddress) - || has(self.initProvider.hsmIpAddress)' - - message: hsmPartitionName is a required parameter + || (has(self.initProvider) && has(self.initProvider.hsmIpAddress))' + - message: spec.forProvider.hsmPartitionName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hsmPartitionName) - || has(self.initProvider.hsmPartitionName)' - - message: hsmPartitionPasswordSecretRef is a required parameter + || (has(self.initProvider) && has(self.initProvider.hsmPartitionName))' + - message: spec.forProvider.hsmPartitionPasswordSecretRef is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hsmPartitionPasswordSecretRef)' - - message: hsmServerPublicCertificate is a required parameter + - message: spec.forProvider.hsmServerPublicCertificate is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.hsmServerPublicCertificate) - || has(self.initProvider.hsmServerPublicCertificate)' + || (has(self.initProvider) && has(self.initProvider.hsmServerPublicCertificate))' status: description: HSMConfigurationStatus defines the observed state of HSMConfiguration. properties: diff --git a/package/crds/redshift.aws.upbound.io_parametergroups.yaml b/package/crds/redshift.aws.upbound.io_parametergroups.yaml index e006c9c59a..35707eb059 100644 --- a/package/crds/redshift.aws.upbound.io_parametergroups.yaml +++ b/package/crds/redshift.aws.upbound.io_parametergroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parametergroups.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -204,42 +204,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -338,14 +302,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: family is a required parameter + - message: spec.forProvider.family is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.family) - || has(self.initProvider.family)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.family))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ParameterGroupStatus defines the observed state of ParameterGroup. properties: diff --git a/package/crds/redshift.aws.upbound.io_scheduledactions.yaml b/package/crds/redshift.aws.upbound.io_scheduledactions.yaml index caffb0e990..8dba9e4961 100644 --- a/package/crds/redshift.aws.upbound.io_scheduledactions.yaml +++ b/package/crds/redshift.aws.upbound.io_scheduledactions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: scheduledactions.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -374,42 +374,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -508,14 +472,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: schedule is a required parameter + - message: spec.forProvider.schedule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schedule) - || has(self.initProvider.schedule)' - - message: targetAction is a required parameter + || (has(self.initProvider) && has(self.initProvider.schedule))' + - message: spec.forProvider.targetAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetAction) - || has(self.initProvider.targetAction)' + || (has(self.initProvider) && has(self.initProvider.targetAction))' status: description: ScheduledActionStatus defines the observed state of ScheduledAction. properties: diff --git a/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml b/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml index d86f433da5..a4a60cad85 100644 --- a/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml +++ b/package/crds/redshift.aws.upbound.io_snapshotcopygrants.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshotcopygrants.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -249,42 +249,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -383,10 +347,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: snapshotCopyGrantName is a required parameter + - message: spec.forProvider.snapshotCopyGrantName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.snapshotCopyGrantName) - || has(self.initProvider.snapshotCopyGrantName)' + || (has(self.initProvider) && has(self.initProvider.snapshotCopyGrantName))' status: description: SnapshotCopyGrantStatus defines the observed state of SnapshotCopyGrant. properties: diff --git a/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml b/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml index 67a1db9870..ebf9ea7f43 100644 --- a/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml +++ b/package/crds/redshift.aws.upbound.io_snapshotscheduleassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshotscheduleassociations.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -306,42 +306,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshift.aws.upbound.io_snapshotschedules.yaml b/package/crds/redshift.aws.upbound.io_snapshotschedules.yaml index 975d5d9198..4548568982 100644 --- a/package/crds/redshift.aws.upbound.io_snapshotschedules.yaml +++ b/package/crds/redshift.aws.upbound.io_snapshotschedules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshotschedules.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -326,10 +290,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: definitions is a required parameter + - message: spec.forProvider.definitions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.definitions) - || has(self.initProvider.definitions)' + || (has(self.initProvider) && has(self.initProvider.definitions))' status: description: SnapshotScheduleStatus defines the observed state of SnapshotSchedule. properties: diff --git a/package/crds/redshift.aws.upbound.io_subnetgroups.yaml b/package/crds/redshift.aws.upbound.io_subnetgroups.yaml index ad78b4bcfa..90068d4ecf 100644 --- a/package/crds/redshift.aws.upbound.io_subnetgroups.yaml +++ b/package/crds/redshift.aws.upbound.io_subnetgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: subnetgroups.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshift.aws.upbound.io_usagelimits.yaml b/package/crds/redshift.aws.upbound.io_usagelimits.yaml index 8ce6de7109..b79659e5d0 100644 --- a/package/crds/redshift.aws.upbound.io_usagelimits.yaml +++ b/package/crds/redshift.aws.upbound.io_usagelimits.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usagelimits.redshift.aws.upbound.io spec: group: redshift.aws.upbound.io @@ -293,42 +293,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -427,18 +391,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: amount is a required parameter + - message: spec.forProvider.amount is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.amount) - || has(self.initProvider.amount)' - - message: featureType is a required parameter + || (has(self.initProvider) && has(self.initProvider.amount))' + - message: spec.forProvider.featureType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.featureType) - || has(self.initProvider.featureType)' - - message: limitType is a required parameter + || (has(self.initProvider) && has(self.initProvider.featureType))' + - message: spec.forProvider.limitType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.limitType) - || has(self.initProvider.limitType)' + || (has(self.initProvider) && has(self.initProvider.limitType))' status: description: UsageLimitStatus defines the observed state of UsageLimit. properties: diff --git a/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml b/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml index 1fe35c26bf..25eff53caa 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_endpointaccesses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: endpointaccesses.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -324,42 +324,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -458,10 +422,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: workgroupName is a required parameter + - message: spec.forProvider.workgroupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.workgroupName) - || has(self.initProvider.workgroupName)' + || (has(self.initProvider) && has(self.initProvider.workgroupName))' status: description: EndpointAccessStatus defines the observed state of EndpointAccess. properties: diff --git a/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml b/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml index ebdbaceb8a..a05c973b4b 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_redshiftserverlessnamespaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: redshiftserverlessnamespaces.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -453,42 +453,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml b/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml index 0b7ef693d9..fff26dcb3c 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_resourcepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcepolicies.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: ResourcePolicyStatus defines the observed state of ResourcePolicy. properties: diff --git a/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml b/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml index 421d63d5a2..dc6150ddc5 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_snapshots.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: snapshots.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml b/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml index 58ed3c2a53..a45ca032a7 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_usagelimits.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: usagelimits.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -273,42 +273,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -407,14 +371,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: amount is a required parameter + - message: spec.forProvider.amount is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.amount) - || has(self.initProvider.amount)' - - message: usageType is a required parameter + || (has(self.initProvider) && has(self.initProvider.amount))' + - message: spec.forProvider.usageType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.usageType) - || has(self.initProvider.usageType)' + || (has(self.initProvider) && has(self.initProvider.usageType))' status: description: UsageLimitStatus defines the observed state of UsageLimit. properties: diff --git a/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml b/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml index 6f0322f403..cd5357b2e2 100644 --- a/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml +++ b/package/crds/redshiftserverless.aws.upbound.io_workgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workgroups.redshiftserverless.aws.upbound.io spec: group: redshiftserverless.aws.upbound.io @@ -395,42 +395,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -529,10 +493,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: namespaceName is a required parameter + - message: spec.forProvider.namespaceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.namespaceName) - || has(self.initProvider.namespaceName)' + || (has(self.initProvider) && has(self.initProvider.namespaceName))' status: description: WorkgroupStatus defines the observed state of Workgroup. properties: diff --git a/package/crds/resourcegroups.aws.upbound.io_groups.yaml b/package/crds/resourcegroups.aws.upbound.io_groups.yaml index 4da326c3c9..e4132a7c5f 100644 --- a/package/crds/resourcegroups.aws.upbound.io_groups.yaml +++ b/package/crds/resourcegroups.aws.upbound.io_groups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groups.resourcegroups.aws.upbound.io spec: group: resourcegroups.aws.upbound.io @@ -249,42 +249,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml b/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml index 819c22b9b1..50625f56e0 100644 --- a/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml +++ b/package/crds/rolesanywhere.aws.upbound.io_profiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: profiles.rolesanywhere.aws.upbound.io spec: group: rolesanywhere.aws.upbound.io @@ -291,42 +291,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -425,10 +389,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ProfileStatus defines the observed state of Profile. properties: diff --git a/package/crds/route53.aws.upbound.io_delegationsets.yaml b/package/crds/route53.aws.upbound.io_delegationsets.yaml index 473f3af4fd..8569d563e9 100644 --- a/package/crds/route53.aws.upbound.io_delegationsets.yaml +++ b/package/crds/route53.aws.upbound.io_delegationsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: delegationsets.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -160,42 +160,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53.aws.upbound.io_healthchecks.yaml b/package/crds/route53.aws.upbound.io_healthchecks.yaml index 10ffa15cf3..fa975f68a5 100644 --- a/package/crds/route53.aws.upbound.io_healthchecks.yaml +++ b/package/crds/route53.aws.upbound.io_healthchecks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: healthchecks.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -426,42 +426,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -560,10 +524,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: type is a required parameter + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: HealthCheckStatus defines the observed state of HealthCheck. properties: diff --git a/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml b/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml index 633088a7aa..dfa63997e1 100644 --- a/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml +++ b/package/crds/route53.aws.upbound.io_hostedzonednssecs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: hostedzonednssecs.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53.aws.upbound.io_records.yaml b/package/crds/route53.aws.upbound.io_records.yaml index cb527c5091..00ce623dc5 100644 --- a/package/crds/route53.aws.upbound.io_records.yaml +++ b/package/crds/route53.aws.upbound.io_records.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: records.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -552,42 +552,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -686,14 +650,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: RecordStatus defines the observed state of Record. properties: diff --git a/package/crds/route53.aws.upbound.io_resolverconfigs.yaml b/package/crds/route53.aws.upbound.io_resolverconfigs.yaml index f2e240129b..4a15ba6e56 100644 --- a/package/crds/route53.aws.upbound.io_resolverconfigs.yaml +++ b/package/crds/route53.aws.upbound.io_resolverconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resolverconfigs.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: autodefinedReverseFlag is a required parameter + - message: spec.forProvider.autodefinedReverseFlag is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.autodefinedReverseFlag) - || has(self.initProvider.autodefinedReverseFlag)' + || (has(self.initProvider) && has(self.initProvider.autodefinedReverseFlag))' status: description: ResolverConfigStatus defines the observed state of ResolverConfig. properties: diff --git a/package/crds/route53.aws.upbound.io_trafficpolicies.yaml b/package/crds/route53.aws.upbound.io_trafficpolicies.yaml index c17933a460..fdaa3c909c 100644 --- a/package/crds/route53.aws.upbound.io_trafficpolicies.yaml +++ b/package/crds/route53.aws.upbound.io_trafficpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trafficpolicies.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -308,14 +272,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: document is a required parameter + - message: spec.forProvider.document is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.document) - || has(self.initProvider.document)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.document))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: TrafficPolicyStatus defines the observed state of TrafficPolicy. properties: diff --git a/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml b/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml index 2edb66967e..5092145553 100644 --- a/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml +++ b/package/crds/route53.aws.upbound.io_trafficpolicyinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: trafficpolicyinstances.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -333,42 +333,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -467,18 +431,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: trafficPolicyVersion is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.trafficPolicyVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.trafficPolicyVersion) - || has(self.initProvider.trafficPolicyVersion)' - - message: ttl is a required parameter + || (has(self.initProvider) && has(self.initProvider.trafficPolicyVersion))' + - message: spec.forProvider.ttl is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ttl) - || has(self.initProvider.ttl)' + || (has(self.initProvider) && has(self.initProvider.ttl))' status: description: TrafficPolicyInstanceStatus defines the observed state of TrafficPolicyInstance. diff --git a/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml b/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml index bd8257e314..61320b14ca 100644 --- a/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml +++ b/package/crds/route53.aws.upbound.io_vpcassociationauthorizations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vpcassociationauthorizations.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53.aws.upbound.io_zoneassociations.yaml b/package/crds/route53.aws.upbound.io_zoneassociations.yaml index 3458bb8ff2..bddce653ce 100644 --- a/package/crds/route53.aws.upbound.io_zoneassociations.yaml +++ b/package/crds/route53.aws.upbound.io_zoneassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: zoneassociations.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -312,42 +312,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53.aws.upbound.io_zones.yaml b/package/crds/route53.aws.upbound.io_zones.yaml index 59f1a1723e..3ebfa5b77e 100644 --- a/package/crds/route53.aws.upbound.io_zones.yaml +++ b/package/crds/route53.aws.upbound.io_zones.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: zones.route53.aws.upbound.io spec: group: route53.aws.upbound.io @@ -361,42 +361,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -495,10 +459,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ZoneStatus defines the observed state of Zone. properties: diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_clusters.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_clusters.yaml index 6ccf06221a..439d8a6f89 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_clusters.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_clusters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: clusters.route53recoverycontrolconfig.aws.upbound.io spec: group: route53recoverycontrolconfig.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ClusterStatus defines the observed state of Cluster. properties: diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml index d2b23d2bfc..5dda8cd919 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_controlpanels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: controlpanels.route53recoverycontrolconfig.aws.upbound.io spec: group: route53recoverycontrolconfig.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,10 +335,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ControlPanelStatus defines the observed state of ControlPanel. properties: diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml index 9795b1b977..f17d5341f1 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_routingcontrols.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: routingcontrols.route53recoverycontrolconfig.aws.upbound.io spec: group: route53recoverycontrolconfig.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -450,10 +414,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RoutingControlStatus defines the observed state of RoutingControl. properties: diff --git a/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml b/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml index 620e8167b5..bbd4048795 100644 --- a/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml +++ b/package/crds/route53recoverycontrolconfig.aws.upbound.io_safetyrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: safetyrules.route53recoverycontrolconfig.aws.upbound.io spec: group: route53recoverycontrolconfig.aws.upbound.io @@ -394,42 +394,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -528,18 +492,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: ruleConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.ruleConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleConfig) - || has(self.initProvider.ruleConfig)' - - message: waitPeriodMs is a required parameter + || (has(self.initProvider) && has(self.initProvider.ruleConfig))' + - message: spec.forProvider.waitPeriodMs is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.waitPeriodMs) - || has(self.initProvider.waitPeriodMs)' + || (has(self.initProvider) && has(self.initProvider.waitPeriodMs))' status: description: SafetyRuleStatus defines the observed state of SafetyRule. properties: diff --git a/package/crds/route53recoveryreadiness.aws.upbound.io_cells.yaml b/package/crds/route53recoveryreadiness.aws.upbound.io_cells.yaml index 39c389dd14..24b1b4d303 100644 --- a/package/crds/route53recoveryreadiness.aws.upbound.io_cells.yaml +++ b/package/crds/route53recoveryreadiness.aws.upbound.io_cells.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: cells.route53recoveryreadiness.aws.upbound.io spec: group: route53recoveryreadiness.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53recoveryreadiness.aws.upbound.io_readinesschecks.yaml b/package/crds/route53recoveryreadiness.aws.upbound.io_readinesschecks.yaml index 025e1d13ec..ac32e89bf2 100644 --- a/package/crds/route53recoveryreadiness.aws.upbound.io_readinesschecks.yaml +++ b/package/crds/route53recoveryreadiness.aws.upbound.io_readinesschecks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: readinesschecks.route53recoveryreadiness.aws.upbound.io spec: group: route53recoveryreadiness.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,10 +268,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceSetName is a required parameter + - message: spec.forProvider.resourceSetName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceSetName) - || has(self.initProvider.resourceSetName)' + || (has(self.initProvider) && has(self.initProvider.resourceSetName))' status: description: ReadinessCheckStatus defines the observed state of ReadinessCheck. properties: diff --git a/package/crds/route53recoveryreadiness.aws.upbound.io_recoverygroups.yaml b/package/crds/route53recoveryreadiness.aws.upbound.io_recoverygroups.yaml index 1c4e51e38e..2e0b120bb2 100644 --- a/package/crds/route53recoveryreadiness.aws.upbound.io_recoverygroups.yaml +++ b/package/crds/route53recoveryreadiness.aws.upbound.io_recoverygroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: recoverygroups.route53recoveryreadiness.aws.upbound.io spec: group: route53recoveryreadiness.aws.upbound.io @@ -174,42 +174,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml b/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml index 08a242fa7c..585edce08a 100644 --- a/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml +++ b/package/crds/route53recoveryreadiness.aws.upbound.io_resourcesets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcesets.route53recoveryreadiness.aws.upbound.io spec: group: route53recoveryreadiness.aws.upbound.io @@ -383,42 +383,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -517,14 +481,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceSetType is a required parameter + - message: spec.forProvider.resourceSetType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceSetType) - || has(self.initProvider.resourceSetType)' - - message: resources is a required parameter + || (has(self.initProvider) && has(self.initProvider.resourceSetType))' + - message: spec.forProvider.resources is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resources) - || has(self.initProvider.resources)' + || (has(self.initProvider) && has(self.initProvider.resources))' status: description: ResourceSetStatus defines the observed state of ResourceSet. properties: diff --git a/package/crds/route53resolver.aws.upbound.io_endpoints.yaml b/package/crds/route53resolver.aws.upbound.io_endpoints.yaml index 47e2911881..48318e3461 100644 --- a/package/crds/route53resolver.aws.upbound.io_endpoints.yaml +++ b/package/crds/route53resolver.aws.upbound.io_endpoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: endpoints.route53resolver.aws.upbound.io spec: group: route53resolver.aws.upbound.io @@ -370,42 +370,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -504,14 +468,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: direction is a required parameter + - message: spec.forProvider.direction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.direction) - || has(self.initProvider.direction)' - - message: ipAddress is a required parameter + || (has(self.initProvider) && has(self.initProvider.direction))' + - message: spec.forProvider.ipAddress is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ipAddress) - || has(self.initProvider.ipAddress)' + || (has(self.initProvider) && has(self.initProvider.ipAddress))' status: description: EndpointStatus defines the observed state of Endpoint. properties: diff --git a/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml b/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml index 181480cbef..109b12029c 100644 --- a/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml +++ b/package/crds/route53resolver.aws.upbound.io_ruleassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ruleassociations.route53resolver.aws.upbound.io spec: group: route53resolver.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/route53resolver.aws.upbound.io_rules.yaml b/package/crds/route53resolver.aws.upbound.io_rules.yaml index f87c58a11d..8e88899a99 100644 --- a/package/crds/route53resolver.aws.upbound.io_rules.yaml +++ b/package/crds/route53resolver.aws.upbound.io_rules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rules.route53resolver.aws.upbound.io spec: group: route53resolver.aws.upbound.io @@ -299,42 +299,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -433,14 +397,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domainName is a required parameter + - message: spec.forProvider.domainName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainName) - || has(self.initProvider.domainName)' - - message: ruleType is a required parameter + || (has(self.initProvider) && has(self.initProvider.domainName))' + - message: spec.forProvider.ruleType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleType) - || has(self.initProvider.ruleType)' + || (has(self.initProvider) && has(self.initProvider.ruleType))' status: description: RuleStatus defines the observed state of Rule. properties: diff --git a/package/crds/rum.aws.upbound.io_appmonitors.yaml b/package/crds/rum.aws.upbound.io_appmonitors.yaml index d573f9d829..baf879a58d 100644 --- a/package/crds/rum.aws.upbound.io_appmonitors.yaml +++ b/package/crds/rum.aws.upbound.io_appmonitors.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: appmonitors.rum.aws.upbound.io spec: group: rum.aws.upbound.io @@ -340,42 +340,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -474,10 +438,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: domain is a required parameter + - message: spec.forProvider.domain is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domain) - || has(self.initProvider.domain)' + || (has(self.initProvider) && has(self.initProvider.domain))' status: description: AppMonitorStatus defines the observed state of AppMonitor. properties: diff --git a/package/crds/rum.aws.upbound.io_metricsdestinations.yaml b/package/crds/rum.aws.upbound.io_metricsdestinations.yaml index 83ee1ba19f..f5cff062ad 100644 --- a/package/crds/rum.aws.upbound.io_metricsdestinations.yaml +++ b/package/crds/rum.aws.upbound.io_metricsdestinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: metricsdestinations.rum.aws.upbound.io spec: group: rum.aws.upbound.io @@ -330,42 +330,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -464,10 +428,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' + || (has(self.initProvider) && has(self.initProvider.destination))' status: description: MetricsDestinationStatus defines the observed state of MetricsDestination. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml index 75eb73a1aa..2badde2003 100644 --- a/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketaccelerateconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketaccelerateconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -377,10 +341,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: status is a required parameter + - message: spec.forProvider.status is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.status) - || has(self.initProvider.status)' + || (has(self.initProvider) && has(self.initProvider.status))' status: description: BucketAccelerateConfigurationStatus defines the observed state of BucketAccelerateConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketacls.yaml b/package/crds/s3.aws.upbound.io_bucketacls.yaml index c4b28d6e24..bea3f25d86 100644 --- a/package/crds/s3.aws.upbound.io_bucketacls.yaml +++ b/package/crds/s3.aws.upbound.io_bucketacls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketacls.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -344,42 +344,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml index 8697c08636..4aaf5d904a 100644 --- a/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketanalyticsconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketanalyticsconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -449,42 +449,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -583,10 +547,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: BucketAnalyticsConfigurationStatus defines the observed state of BucketAnalyticsConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml index 89d203ef49..e9cfac11d8 100644 --- a/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketcorsconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketcorsconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -317,42 +317,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -451,10 +415,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: corsRule is a required parameter + - message: spec.forProvider.corsRule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.corsRule) - || has(self.initProvider.corsRule)' + || (has(self.initProvider) && has(self.initProvider.corsRule))' status: description: BucketCorsConfigurationStatus defines the observed state of BucketCorsConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml index f45b3cc59d..cd57fb16c1 100644 --- a/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketintelligenttieringconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketintelligenttieringconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -310,42 +310,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -444,14 +408,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: tiering is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.tiering is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.tiering) - || has(self.initProvider.tiering)' + || (has(self.initProvider) && has(self.initProvider.tiering))' status: description: BucketIntelligentTieringConfigurationStatus defines the observed state of BucketIntelligentTieringConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketinventories.yaml b/package/crds/s3.aws.upbound.io_bucketinventories.yaml index dee68e0c92..a3cb767cf2 100644 --- a/package/crds/s3.aws.upbound.io_bucketinventories.yaml +++ b/package/crds/s3.aws.upbound.io_bucketinventories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketinventories.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -502,42 +502,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -636,22 +600,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' - - message: includedObjectVersions is a required parameter + || (has(self.initProvider) && has(self.initProvider.destination))' + - message: spec.forProvider.includedObjectVersions is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.includedObjectVersions) - || has(self.initProvider.includedObjectVersions)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.includedObjectVersions))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: schedule is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.schedule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schedule) - || has(self.initProvider.schedule)' + || (has(self.initProvider) && has(self.initProvider.schedule))' status: description: BucketInventoryStatus defines the observed state of BucketInventory. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml index ee8e954796..24331be6ad 100644 --- a/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketlifecycleconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketlifecycleconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -620,42 +620,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -754,10 +718,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: rule is a required parameter + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: BucketLifecycleConfigurationStatus defines the observed state of BucketLifecycleConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketloggings.yaml b/package/crds/s3.aws.upbound.io_bucketloggings.yaml index 97158ad06e..571a4154aa 100644 --- a/package/crds/s3.aws.upbound.io_bucketloggings.yaml +++ b/package/crds/s3.aws.upbound.io_bucketloggings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketloggings.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -383,42 +383,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -517,10 +481,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: targetPrefix is a required parameter + - message: spec.forProvider.targetPrefix is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targetPrefix) - || has(self.initProvider.targetPrefix)' + || (has(self.initProvider) && has(self.initProvider.targetPrefix))' status: description: BucketLoggingStatus defines the observed state of BucketLogging. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketmetrics.yaml b/package/crds/s3.aws.upbound.io_bucketmetrics.yaml index 0ca6d1287f..669aeef2c0 100644 --- a/package/crds/s3.aws.upbound.io_bucketmetrics.yaml +++ b/package/crds/s3.aws.upbound.io_bucketmetrics.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketmetrics.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -266,42 +266,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -400,10 +364,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: BucketMetricStatus defines the observed state of BucketMetric. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketnotifications.yaml b/package/crds/s3.aws.upbound.io_bucketnotifications.yaml index 18a9dce83b..d5ad3260a3 100644 --- a/package/crds/s3.aws.upbound.io_bucketnotifications.yaml +++ b/package/crds/s3.aws.upbound.io_bucketnotifications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketnotifications.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -526,42 +526,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml index f64e14dbc9..d667fcaf51 100644 --- a/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketobjectlockconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketobjectlockconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -320,42 +320,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_bucketobjects.yaml b/package/crds/s3.aws.upbound.io_bucketobjects.yaml index 246d2dcb0e..2b87c6ff5d 100644 --- a/package/crds/s3.aws.upbound.io_bucketobjects.yaml +++ b/package/crds/s3.aws.upbound.io_bucketobjects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketobjects.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -509,42 +509,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -643,10 +607,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: key is a required parameter + - message: spec.forProvider.key is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.key) - || has(self.initProvider.key)' + || (has(self.initProvider) && has(self.initProvider.key))' status: description: BucketObjectStatus defines the observed state of BucketObject. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml b/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml index c94571b592..23b7457dfb 100644 --- a/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml +++ b/package/crds/s3.aws.upbound.io_bucketownershipcontrols.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketownershipcontrols.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,10 +350,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: rule is a required parameter + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: BucketOwnershipControlsStatus defines the observed state of BucketOwnershipControls. diff --git a/package/crds/s3.aws.upbound.io_bucketpolicies.yaml b/package/crds/s3.aws.upbound.io_bucketpolicies.yaml index 4b7bcf7556..a7ca2ff730 100644 --- a/package/crds/s3.aws.upbound.io_bucketpolicies.yaml +++ b/package/crds/s3.aws.upbound.io_bucketpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketpolicies.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -240,42 +240,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -374,10 +338,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: BucketPolicyStatus defines the observed state of BucketPolicy. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml b/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml index c072dcf205..0cf52afbb1 100644 --- a/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml +++ b/package/crds/s3.aws.upbound.io_bucketpublicaccessblocks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketpublicaccessblocks.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -284,42 +284,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml index 9a279bc683..f77b6f6278 100644 --- a/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketreplicationconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketreplicationconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -895,42 +895,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1029,10 +993,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: rule is a required parameter + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: BucketReplicationConfigurationStatus defines the observed state of BucketReplicationConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml index b3aeb168a0..bf7691f017 100644 --- a/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketrequestpaymentconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketrequestpaymentconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -243,42 +243,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -377,10 +341,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: payer is a required parameter + - message: spec.forProvider.payer is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.payer) - || has(self.initProvider.payer)' + || (has(self.initProvider) && has(self.initProvider.payer))' status: description: BucketRequestPaymentConfigurationStatus defines the observed state of BucketRequestPaymentConfiguration. diff --git a/package/crds/s3.aws.upbound.io_buckets.yaml b/package/crds/s3.aws.upbound.io_buckets.yaml index c851672042..eed9199953 100644 --- a/package/crds/s3.aws.upbound.io_buckets.yaml +++ b/package/crds/s3.aws.upbound.io_buckets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: buckets.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml index 159b46bdc3..31ffbcf7c9 100644 --- a/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketserversideencryptionconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketserversideencryptionconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -367,42 +367,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -501,10 +465,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: rule is a required parameter + - message: spec.forProvider.rule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rule) - || has(self.initProvider.rule)' + || (has(self.initProvider) && has(self.initProvider.rule))' status: description: BucketServerSideEncryptionConfigurationStatus defines the observed state of BucketServerSideEncryptionConfiguration. diff --git a/package/crds/s3.aws.upbound.io_bucketversionings.yaml b/package/crds/s3.aws.upbound.io_bucketversionings.yaml index fd5dc9f714..8cada367a7 100644 --- a/package/crds/s3.aws.upbound.io_bucketversionings.yaml +++ b/package/crds/s3.aws.upbound.io_bucketversionings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketversionings.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -280,42 +280,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -414,10 +378,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: versioningConfiguration is a required parameter + - message: spec.forProvider.versioningConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.versioningConfiguration) - || has(self.initProvider.versioningConfiguration)' + || (has(self.initProvider) && has(self.initProvider.versioningConfiguration))' status: description: BucketVersioningStatus defines the observed state of BucketVersioning. properties: diff --git a/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml b/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml index 6030fb2445..0d205b3e08 100644 --- a/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml +++ b/package/crds/s3.aws.upbound.io_bucketwebsiteconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bucketwebsiteconfigurations.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -439,42 +439,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3.aws.upbound.io_objectcopies.yaml b/package/crds/s3.aws.upbound.io_objectcopies.yaml index 6ca89e6211..f93e88e29c 100644 --- a/package/crds/s3.aws.upbound.io_objectcopies.yaml +++ b/package/crds/s3.aws.upbound.io_objectcopies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: objectcopies.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -601,42 +601,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -735,18 +699,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: bucket is a required parameter + - message: spec.forProvider.bucket is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.bucket) - || has(self.initProvider.bucket)' - - message: key is a required parameter + || (has(self.initProvider) && has(self.initProvider.bucket))' + - message: spec.forProvider.key is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.key) - || has(self.initProvider.key)' - - message: source is a required parameter + || (has(self.initProvider) && has(self.initProvider.key))' + - message: spec.forProvider.source is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.source) - || has(self.initProvider.source)' + || (has(self.initProvider) && has(self.initProvider.source))' status: description: ObjectCopyStatus defines the observed state of ObjectCopy. properties: diff --git a/package/crds/s3.aws.upbound.io_objects.yaml b/package/crds/s3.aws.upbound.io_objects.yaml index 00b8e506b1..4308e1d9ce 100644 --- a/package/crds/s3.aws.upbound.io_objects.yaml +++ b/package/crds/s3.aws.upbound.io_objects.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: objects.s3.aws.upbound.io spec: group: s3.aws.upbound.io @@ -513,42 +513,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -647,10 +611,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: key is a required parameter + - message: spec.forProvider.key is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.key) - || has(self.initProvider.key)' + || (has(self.initProvider) && has(self.initProvider.key))' status: description: ObjectStatus defines the observed state of Object. properties: diff --git a/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml b/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml index f3b9d4e306..5fca8b94f5 100644 --- a/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml +++ b/package/crds/s3control.aws.upbound.io_accesspointpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accesspointpolicies.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -239,42 +239,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -373,10 +337,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: AccessPointPolicyStatus defines the observed state of AccessPointPolicy. properties: diff --git a/package/crds/s3control.aws.upbound.io_accesspoints.yaml b/package/crds/s3control.aws.upbound.io_accesspoints.yaml index cbd0d61431..3d65c77cea 100644 --- a/package/crds/s3control.aws.upbound.io_accesspoints.yaml +++ b/package/crds/s3control.aws.upbound.io_accesspoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accesspoints.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -437,42 +437,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -571,10 +535,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: AccessPointStatus defines the observed state of AccessPoint. properties: diff --git a/package/crds/s3control.aws.upbound.io_accountpublicaccessblocks.yaml b/package/crds/s3control.aws.upbound.io_accountpublicaccessblocks.yaml index c940c6a219..3231e3a225 100644 --- a/package/crds/s3control.aws.upbound.io_accountpublicaccessblocks.yaml +++ b/package/crds/s3control.aws.upbound.io_accountpublicaccessblocks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accountpublicaccessblocks.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -213,42 +213,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/s3control.aws.upbound.io_multiregionaccesspointpolicies.yaml b/package/crds/s3control.aws.upbound.io_multiregionaccesspointpolicies.yaml index 8e55740e6e..837b40d8d7 100644 --- a/package/crds/s3control.aws.upbound.io_multiregionaccesspointpolicies.yaml +++ b/package/crds/s3control.aws.upbound.io_multiregionaccesspointpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: multiregionaccesspointpolicies.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -198,42 +198,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -332,10 +296,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: details is a required parameter + - message: spec.forProvider.details is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.details) - || has(self.initProvider.details)' + || (has(self.initProvider) && has(self.initProvider.details))' status: description: MultiRegionAccessPointPolicyStatus defines the observed state of MultiRegionAccessPointPolicy. diff --git a/package/crds/s3control.aws.upbound.io_multiregionaccesspoints.yaml b/package/crds/s3control.aws.upbound.io_multiregionaccesspoints.yaml index 519c66c3e5..87387a3f05 100644 --- a/package/crds/s3control.aws.upbound.io_multiregionaccesspoints.yaml +++ b/package/crds/s3control.aws.upbound.io_multiregionaccesspoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: multiregionaccesspoints.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -359,42 +359,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -493,10 +457,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: details is a required parameter + - message: spec.forProvider.details is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.details) - || has(self.initProvider.details)' + || (has(self.initProvider) && has(self.initProvider.details))' status: description: MultiRegionAccessPointStatus defines the observed state of MultiRegionAccessPoint. diff --git a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml index d47b88eba7..d5cdb04e69 100644 --- a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml +++ b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspointpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: objectlambdaaccesspointpolicies.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,10 +344,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: ObjectLambdaAccessPointPolicyStatus defines the observed state of ObjectLambdaAccessPointPolicy. diff --git a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml index 25034359ce..ed291b90f8 100644 --- a/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml +++ b/package/crds/s3control.aws.upbound.io_objectlambdaaccesspoints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: objectlambdaaccesspoints.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -447,42 +447,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -581,14 +545,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: configuration is a required parameter + - message: spec.forProvider.configuration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.configuration) - || has(self.initProvider.configuration)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.configuration))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ObjectLambdaAccessPointStatus defines the observed state of ObjectLambdaAccessPoint. diff --git a/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml b/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml index 3d338cb32e..9c001ef02a 100644 --- a/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml +++ b/package/crds/s3control.aws.upbound.io_storagelensconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: storagelensconfigurations.s3control.aws.upbound.io spec: group: s3control.aws.upbound.io @@ -811,42 +811,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -945,14 +909,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: configId is a required parameter + - message: spec.forProvider.configId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.configId) - || has(self.initProvider.configId)' - - message: storageLensConfiguration is a required parameter + || (has(self.initProvider) && has(self.initProvider.configId))' + - message: spec.forProvider.storageLensConfiguration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.storageLensConfiguration) - || has(self.initProvider.storageLensConfiguration)' + || (has(self.initProvider) && has(self.initProvider.storageLensConfiguration))' status: description: StorageLensConfigurationStatus defines the observed state of StorageLensConfiguration. diff --git a/package/crds/sagemaker.aws.upbound.io_appimageconfigs.yaml b/package/crds/sagemaker.aws.upbound.io_appimageconfigs.yaml index 42ece6f006..1629a6b50a 100644 --- a/package/crds/sagemaker.aws.upbound.io_appimageconfigs.yaml +++ b/package/crds/sagemaker.aws.upbound.io_appimageconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: appimageconfigs.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_apps.yaml b/package/crds/sagemaker.aws.upbound.io_apps.yaml index 47dde66f4e..57711c48bc 100644 --- a/package/crds/sagemaker.aws.upbound.io_apps.yaml +++ b/package/crds/sagemaker.aws.upbound.io_apps.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: apps.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -387,42 +387,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -521,14 +485,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: appName is a required parameter + - message: spec.forProvider.appName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.appName) - || has(self.initProvider.appName)' - - message: appType is a required parameter + || (has(self.initProvider) && has(self.initProvider.appName))' + - message: spec.forProvider.appType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.appType) - || has(self.initProvider.appType)' + || (has(self.initProvider) && has(self.initProvider.appType))' status: description: AppStatus defines the observed state of App. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml b/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml index 4c2fc2fb45..7ce8344ba6 100644 --- a/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml +++ b/package/crds/sagemaker.aws.upbound.io_coderepositories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: coderepositories.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -273,42 +273,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -407,10 +371,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: gitConfig is a required parameter + - message: spec.forProvider.gitConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.gitConfig) - || has(self.initProvider.gitConfig)' + || (has(self.initProvider) && has(self.initProvider.gitConfig))' status: description: CodeRepositoryStatus defines the observed state of CodeRepository. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml b/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml index 28c652275a..f4b9dc6f57 100644 --- a/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml +++ b/package/crds/sagemaker.aws.upbound.io_devicefleet.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: devicefleet.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -289,42 +289,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -423,10 +387,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: outputConfig is a required parameter + - message: spec.forProvider.outputConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.outputConfig) - || has(self.initProvider.outputConfig)' + || (has(self.initProvider) && has(self.initProvider.outputConfig))' status: description: DeviceFleetStatus defines the observed state of DeviceFleet. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_devices.yaml b/package/crds/sagemaker.aws.upbound.io_devices.yaml index 6b87ca3395..29af7d48a6 100644 --- a/package/crds/sagemaker.aws.upbound.io_devices.yaml +++ b/package/crds/sagemaker.aws.upbound.io_devices.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: devices.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -264,42 +264,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -398,10 +362,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: device is a required parameter + - message: spec.forProvider.device is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.device) - || has(self.initProvider.device)' + || (has(self.initProvider) && has(self.initProvider.device))' status: description: DeviceStatus defines the observed state of Device. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_domains.yaml b/package/crds/sagemaker.aws.upbound.io_domains.yaml index f4c96e174b..6f464f2620 100644 --- a/package/crds/sagemaker.aws.upbound.io_domains.yaml +++ b/package/crds/sagemaker.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -1679,42 +1679,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1813,18 +1777,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: authMode is a required parameter + - message: spec.forProvider.authMode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.authMode) - || has(self.initProvider.authMode)' - - message: defaultUserSettings is a required parameter + || (has(self.initProvider) && has(self.initProvider.authMode))' + - message: spec.forProvider.defaultUserSettings is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultUserSettings) - || has(self.initProvider.defaultUserSettings)' - - message: domainName is a required parameter + || (has(self.initProvider) && has(self.initProvider.defaultUserSettings))' + - message: spec.forProvider.domainName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.domainName) - || has(self.initProvider.domainName)' + || (has(self.initProvider) && has(self.initProvider.domainName))' status: description: DomainStatus defines the observed state of Domain. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml b/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml index f93abebec3..a5034d3856 100644 --- a/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml +++ b/package/crds/sagemaker.aws.upbound.io_endpointconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: endpointconfigurations.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -916,42 +916,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1050,10 +1014,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: productionVariants is a required parameter + - message: spec.forProvider.productionVariants is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.productionVariants) - || has(self.initProvider.productionVariants)' + || (has(self.initProvider) && has(self.initProvider.productionVariants))' status: description: EndpointConfigurationStatus defines the observed state of EndpointConfiguration. diff --git a/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml b/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml index 6879f029a7..f3991c59b5 100644 --- a/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml +++ b/package/crds/sagemaker.aws.upbound.io_featuregroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: featuregroups.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -434,42 +434,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -568,18 +532,19 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: eventTimeFeatureName is a required parameter + - message: spec.forProvider.eventTimeFeatureName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventTimeFeatureName) - || has(self.initProvider.eventTimeFeatureName)' - - message: featureDefinition is a required parameter + || (has(self.initProvider) && has(self.initProvider.eventTimeFeatureName))' + - message: spec.forProvider.featureDefinition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.featureDefinition) - || has(self.initProvider.featureDefinition)' - - message: recordIdentifierFeatureName is a required parameter + || (has(self.initProvider) && has(self.initProvider.featureDefinition))' + - message: spec.forProvider.recordIdentifierFeatureName is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.recordIdentifierFeatureName) - || has(self.initProvider.recordIdentifierFeatureName)' + || (has(self.initProvider) && has(self.initProvider.recordIdentifierFeatureName))' status: description: FeatureGroupStatus defines the observed state of FeatureGroup. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_images.yaml b/package/crds/sagemaker.aws.upbound.io_images.yaml index c58d448ca6..0aa19d4737 100644 --- a/package/crds/sagemaker.aws.upbound.io_images.yaml +++ b/package/crds/sagemaker.aws.upbound.io_images.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: images.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -253,42 +253,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_imageversions.yaml b/package/crds/sagemaker.aws.upbound.io_imageversions.yaml index fe33d3b803..bd37f9fc0d 100644 --- a/package/crds/sagemaker.aws.upbound.io_imageversions.yaml +++ b/package/crds/sagemaker.aws.upbound.io_imageversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: imageversions.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: baseImage is a required parameter + - message: spec.forProvider.baseImage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.baseImage) - || has(self.initProvider.baseImage)' + || (has(self.initProvider) && has(self.initProvider.baseImage))' status: description: ImageVersionStatus defines the observed state of ImageVersion. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml b/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml index f934a068bf..9bba6ab23b 100644 --- a/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml +++ b/package/crds/sagemaker.aws.upbound.io_modelpackagegrouppolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: modelpackagegrouppolicies.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -235,42 +235,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -369,10 +333,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourcePolicy is a required parameter + - message: spec.forProvider.resourcePolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourcePolicy) - || has(self.initProvider.resourcePolicy)' + || (has(self.initProvider) && has(self.initProvider.resourcePolicy))' status: description: ModelPackageGroupPolicyStatus defines the observed state of ModelPackageGroupPolicy. diff --git a/package/crds/sagemaker.aws.upbound.io_modelpackagegroups.yaml b/package/crds/sagemaker.aws.upbound.io_modelpackagegroups.yaml index c1afaee36b..31ee643760 100644 --- a/package/crds/sagemaker.aws.upbound.io_modelpackagegroups.yaml +++ b/package/crds/sagemaker.aws.upbound.io_modelpackagegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: modelpackagegroups.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_models.yaml b/package/crds/sagemaker.aws.upbound.io_models.yaml index a7734c352e..c13689b2c1 100644 --- a/package/crds/sagemaker.aws.upbound.io_models.yaml +++ b/package/crds/sagemaker.aws.upbound.io_models.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: models.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -565,42 +565,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_notebookinstancelifecycleconfigurations.yaml b/package/crds/sagemaker.aws.upbound.io_notebookinstancelifecycleconfigurations.yaml index 9abda6fb52..f89f08589f 100644 --- a/package/crds/sagemaker.aws.upbound.io_notebookinstancelifecycleconfigurations.yaml +++ b/package/crds/sagemaker.aws.upbound.io_notebookinstancelifecycleconfigurations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: notebookinstancelifecycleconfigurations.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -172,42 +172,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml b/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml index b31c46224d..f9b8be73d8 100644 --- a/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml +++ b/package/crds/sagemaker.aws.upbound.io_notebookinstances.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: notebookinstances.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -612,42 +612,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -746,10 +710,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceType is a required parameter + - message: spec.forProvider.instanceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceType) - || has(self.initProvider.instanceType)' + || (has(self.initProvider) && has(self.initProvider.instanceType))' status: description: NotebookInstanceStatus defines the observed state of NotebookInstance. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_servicecatalogportfoliostatuses.yaml b/package/crds/sagemaker.aws.upbound.io_servicecatalogportfoliostatuses.yaml index f554803c82..1af63ee199 100644 --- a/package/crds/sagemaker.aws.upbound.io_servicecatalogportfoliostatuses.yaml +++ b/package/crds/sagemaker.aws.upbound.io_servicecatalogportfoliostatuses.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servicecatalogportfoliostatuses.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -296,10 +260,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: status is a required parameter + - message: spec.forProvider.status is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.status) - || has(self.initProvider.status)' + || (has(self.initProvider) && has(self.initProvider.status))' status: description: ServicecatalogPortfolioStatusStatus defines the observed state of ServicecatalogPortfolioStatus. diff --git a/package/crds/sagemaker.aws.upbound.io_spaces.yaml b/package/crds/sagemaker.aws.upbound.io_spaces.yaml index debaa64667..77812f4b20 100644 --- a/package/crds/sagemaker.aws.upbound.io_spaces.yaml +++ b/package/crds/sagemaker.aws.upbound.io_spaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: spaces.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -464,42 +464,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -598,10 +562,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: spaceName is a required parameter + - message: spec.forProvider.spaceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.spaceName) - || has(self.initProvider.spaceName)' + || (has(self.initProvider) && has(self.initProvider.spaceName))' status: description: SpaceStatus defines the observed state of Space. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_studiolifecycleconfigs.yaml b/package/crds/sagemaker.aws.upbound.io_studiolifecycleconfigs.yaml index 20e825aa31..9f012cceac 100644 --- a/package/crds/sagemaker.aws.upbound.io_studiolifecycleconfigs.yaml +++ b/package/crds/sagemaker.aws.upbound.io_studiolifecycleconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: studiolifecycleconfigs.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,14 +276,16 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: studioLifecycleConfigAppType is a required parameter + - message: spec.forProvider.studioLifecycleConfigAppType is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigAppType) - || has(self.initProvider.studioLifecycleConfigAppType)' - - message: studioLifecycleConfigContent is a required parameter + || (has(self.initProvider) && has(self.initProvider.studioLifecycleConfigAppType))' + - message: spec.forProvider.studioLifecycleConfigContent is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.studioLifecycleConfigContent) - || has(self.initProvider.studioLifecycleConfigContent)' + || (has(self.initProvider) && has(self.initProvider.studioLifecycleConfigContent))' status: description: StudioLifecycleConfigStatus defines the observed state of StudioLifecycleConfig. diff --git a/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml b/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml index e0d0dda57d..b2abe2c008 100644 --- a/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml +++ b/package/crds/sagemaker.aws.upbound.io_userprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: userprofiles.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -860,42 +860,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -994,10 +958,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: userProfileName is a required parameter + - message: spec.forProvider.userProfileName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.userProfileName) - || has(self.initProvider.userProfileName)' + || (has(self.initProvider) && has(self.initProvider.userProfileName))' status: description: UserProfileStatus defines the observed state of UserProfile. properties: diff --git a/package/crds/sagemaker.aws.upbound.io_workforces.yaml b/package/crds/sagemaker.aws.upbound.io_workforces.yaml index 17a97363e3..3cfbccd60e 100644 --- a/package/crds/sagemaker.aws.upbound.io_workforces.yaml +++ b/package/crds/sagemaker.aws.upbound.io_workforces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workforces.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -498,42 +498,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sagemaker.aws.upbound.io_workteams.yaml b/package/crds/sagemaker.aws.upbound.io_workteams.yaml index 61b635ece2..6263ffd1ae 100644 --- a/package/crds/sagemaker.aws.upbound.io_workteams.yaml +++ b/package/crds/sagemaker.aws.upbound.io_workteams.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workteams.sagemaker.aws.upbound.io spec: group: sagemaker.aws.upbound.io @@ -595,42 +595,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -729,14 +693,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: memberDefinition is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.memberDefinition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.memberDefinition) - || has(self.initProvider.memberDefinition)' + || (has(self.initProvider) && has(self.initProvider.memberDefinition))' status: description: WorkteamStatus defines the observed state of Workteam. properties: diff --git a/package/crds/scheduler.aws.upbound.io_schedulegroups.yaml b/package/crds/scheduler.aws.upbound.io_schedulegroups.yaml index 5626803ffa..ba7d775023 100644 --- a/package/crds/scheduler.aws.upbound.io_schedulegroups.yaml +++ b/package/crds/scheduler.aws.upbound.io_schedulegroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schedulegroups.scheduler.aws.upbound.io spec: group: scheduler.aws.upbound.io @@ -168,42 +168,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/scheduler.aws.upbound.io_schedules.yaml b/package/crds/scheduler.aws.upbound.io_schedules.yaml index 4c061dcad4..3d91f82dee 100644 --- a/package/crds/scheduler.aws.upbound.io_schedules.yaml +++ b/package/crds/scheduler.aws.upbound.io_schedules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schedules.scheduler.aws.upbound.io spec: group: scheduler.aws.upbound.io @@ -971,42 +971,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1105,18 +1069,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: flexibleTimeWindow is a required parameter + - message: spec.forProvider.flexibleTimeWindow is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.flexibleTimeWindow) - || has(self.initProvider.flexibleTimeWindow)' - - message: scheduleExpression is a required parameter + || (has(self.initProvider) && has(self.initProvider.flexibleTimeWindow))' + - message: spec.forProvider.scheduleExpression is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scheduleExpression) - || has(self.initProvider.scheduleExpression)' - - message: target is a required parameter + || (has(self.initProvider) && has(self.initProvider.scheduleExpression))' + - message: spec.forProvider.target is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.target) - || has(self.initProvider.target)' + || (has(self.initProvider) && has(self.initProvider.target))' status: description: ScheduleStatus defines the observed state of Schedule. properties: diff --git a/package/crds/schemas.aws.upbound.io_discoverers.yaml b/package/crds/schemas.aws.upbound.io_discoverers.yaml index 67d4268f96..cd0a9c5531 100644 --- a/package/crds/schemas.aws.upbound.io_discoverers.yaml +++ b/package/crds/schemas.aws.upbound.io_discoverers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: discoverers.schemas.aws.upbound.io spec: group: schemas.aws.upbound.io @@ -249,42 +249,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/schemas.aws.upbound.io_registries.yaml b/package/crds/schemas.aws.upbound.io_registries.yaml index 144cea54a0..b6b7b1a3eb 100644 --- a/package/crds/schemas.aws.upbound.io_registries.yaml +++ b/package/crds/schemas.aws.upbound.io_registries.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: registries.schemas.aws.upbound.io spec: group: schemas.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/schemas.aws.upbound.io_schemas.yaml b/package/crds/schemas.aws.upbound.io_schemas.yaml index f5267136e1..330e3a2ad0 100644 --- a/package/crds/schemas.aws.upbound.io_schemas.yaml +++ b/package/crds/schemas.aws.upbound.io_schemas.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: schemas.schemas.aws.upbound.io spec: group: schemas.aws.upbound.io @@ -268,42 +268,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -402,18 +366,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: content is a required parameter + - message: spec.forProvider.content is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.content) - || has(self.initProvider.content)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.content))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: SchemaStatus defines the observed state of Schema. properties: diff --git a/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml b/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml index 629e9fcc61..6552d6b2d7 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: secretpolicies.secretsmanager.aws.upbound.io spec: group: secretsmanager.aws.upbound.io @@ -250,42 +250,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -384,10 +348,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: SecretPolicyStatus defines the observed state of SecretPolicy. properties: diff --git a/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml b/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml index c1bd94f9fe..94ef691a21 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretrotations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: secretrotations.secretsmanager.aws.upbound.io spec: group: secretsmanager.aws.upbound.io @@ -352,42 +352,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -486,10 +450,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: rotationRules is a required parameter + - message: spec.forProvider.rotationRules is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rotationRules) - || has(self.initProvider.rotationRules)' + || (has(self.initProvider) && has(self.initProvider.rotationRules))' status: description: SecretRotationStatus defines the observed state of SecretRotation. properties: diff --git a/package/crds/secretsmanager.aws.upbound.io_secrets.yaml b/package/crds/secretsmanager.aws.upbound.io_secrets.yaml index f3189965f4..15e8233ea3 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secrets.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secrets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: secrets.secretsmanager.aws.upbound.io spec: group: secretsmanager.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml b/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml index 56eaf21d9d..a24a31ef75 100644 --- a/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml +++ b/package/crds/secretsmanager.aws.upbound.io_secretversions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: secretversions.secretsmanager.aws.upbound.io spec: group: secretsmanager.aws.upbound.io @@ -296,42 +296,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/securityhub.aws.upbound.io_accounts.yaml b/package/crds/securityhub.aws.upbound.io_accounts.yaml index 692f72cd45..e08124a563 100644 --- a/package/crds/securityhub.aws.upbound.io_accounts.yaml +++ b/package/crds/securityhub.aws.upbound.io_accounts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accounts.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -198,42 +198,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/securityhub.aws.upbound.io_actiontargets.yaml b/package/crds/securityhub.aws.upbound.io_actiontargets.yaml index 51fd0be8e7..f6ff5b3cc7 100644 --- a/package/crds/securityhub.aws.upbound.io_actiontargets.yaml +++ b/package/crds/securityhub.aws.upbound.io_actiontargets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: actiontargets.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -164,42 +164,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -298,14 +262,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: description is a required parameter + - message: spec.forProvider.description is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.description) - || has(self.initProvider.description)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.description))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ActionTargetStatus defines the observed state of ActionTarget. properties: diff --git a/package/crds/securityhub.aws.upbound.io_findingaggregators.yaml b/package/crds/securityhub.aws.upbound.io_findingaggregators.yaml index 623c91ad19..b0229fca5b 100644 --- a/package/crds/securityhub.aws.upbound.io_findingaggregators.yaml +++ b/package/crds/securityhub.aws.upbound.io_findingaggregators.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: findingaggregators.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,10 +276,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: linkingMode is a required parameter + - message: spec.forProvider.linkingMode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.linkingMode) - || has(self.initProvider.linkingMode)' + || (has(self.initProvider) && has(self.initProvider.linkingMode))' status: description: FindingAggregatorStatus defines the observed state of FindingAggregator. properties: diff --git a/package/crds/securityhub.aws.upbound.io_insights.yaml b/package/crds/securityhub.aws.upbound.io_insights.yaml index 0eaf4b6068..80dc4eb17d 100644 --- a/package/crds/securityhub.aws.upbound.io_insights.yaml +++ b/package/crds/securityhub.aws.upbound.io_insights.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: insights.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -3358,42 +3358,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -3492,18 +3456,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: filters is a required parameter + - message: spec.forProvider.filters is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.filters) - || has(self.initProvider.filters)' - - message: groupByAttribute is a required parameter + || (has(self.initProvider) && has(self.initProvider.filters))' + - message: spec.forProvider.groupByAttribute is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupByAttribute) - || has(self.initProvider.groupByAttribute)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.groupByAttribute))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: InsightStatus defines the observed state of Insight. properties: diff --git a/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml b/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml index 39fe034cc3..d88b66afdc 100644 --- a/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml +++ b/package/crds/securityhub.aws.upbound.io_inviteaccepters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: inviteaccepters.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -230,42 +230,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/securityhub.aws.upbound.io_members.yaml b/package/crds/securityhub.aws.upbound.io_members.yaml index 00b1d5f7f6..7bca3d7f65 100644 --- a/package/crds/securityhub.aws.upbound.io_members.yaml +++ b/package/crds/securityhub.aws.upbound.io_members.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: members.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -172,42 +172,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -306,10 +270,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: accountId is a required parameter + - message: spec.forProvider.accountId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.accountId) - || has(self.initProvider.accountId)' + || (has(self.initProvider) && has(self.initProvider.accountId))' status: description: MemberStatus defines the observed state of Member. properties: diff --git a/package/crds/securityhub.aws.upbound.io_productsubscriptions.yaml b/package/crds/securityhub.aws.upbound.io_productsubscriptions.yaml index 89f67ef677..e97e5e66c2 100644 --- a/package/crds/securityhub.aws.upbound.io_productsubscriptions.yaml +++ b/package/crds/securityhub.aws.upbound.io_productsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: productsubscriptions.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -160,42 +160,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -294,10 +258,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: productArn is a required parameter + - message: spec.forProvider.productArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.productArn) - || has(self.initProvider.productArn)' + || (has(self.initProvider) && has(self.initProvider.productArn))' status: description: ProductSubscriptionStatus defines the observed state of ProductSubscription. properties: diff --git a/package/crds/securityhub.aws.upbound.io_standardssubscriptions.yaml b/package/crds/securityhub.aws.upbound.io_standardssubscriptions.yaml index c16001d63f..1fca250570 100644 --- a/package/crds/securityhub.aws.upbound.io_standardssubscriptions.yaml +++ b/package/crds/securityhub.aws.upbound.io_standardssubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: standardssubscriptions.securityhub.aws.upbound.io spec: group: securityhub.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: standardsArn is a required parameter + - message: spec.forProvider.standardsArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.standardsArn) - || has(self.initProvider.standardsArn)' + || (has(self.initProvider) && has(self.initProvider.standardsArn))' status: description: StandardsSubscriptionStatus defines the observed state of StandardsSubscription. diff --git a/package/crds/serverlessrepo.aws.upbound.io_cloudformationstacks.yaml b/package/crds/serverlessrepo.aws.upbound.io_cloudformationstacks.yaml index 535529587e..c3e1c78c4f 100644 --- a/package/crds/serverlessrepo.aws.upbound.io_cloudformationstacks.yaml +++ b/package/crds/serverlessrepo.aws.upbound.io_cloudformationstacks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: cloudformationstacks.serverlessrepo.aws.upbound.io spec: group: serverlessrepo.aws.upbound.io @@ -211,42 +211,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -345,18 +309,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: applicationId is a required parameter + - message: spec.forProvider.applicationId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.applicationId) - || has(self.initProvider.applicationId)' - - message: capabilities is a required parameter + || (has(self.initProvider) && has(self.initProvider.applicationId))' + - message: spec.forProvider.capabilities is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.capabilities) - || has(self.initProvider.capabilities)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.capabilities))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: CloudFormationStackStatus defines the observed state of CloudFormationStack. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml index 8d6e6a3509..23c510aa71 100644 --- a/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_budgetresourceassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: budgetresourceassociations.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -304,42 +304,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/servicecatalog.aws.upbound.io_constraints.yaml b/package/crds/servicecatalog.aws.upbound.io_constraints.yaml index 1666eb9a1b..eb01091599 100644 --- a/package/crds/servicecatalog.aws.upbound.io_constraints.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_constraints.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: constraints.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -338,42 +338,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -472,14 +436,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: parameters is a required parameter + - message: spec.forProvider.parameters is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.parameters) - || has(self.initProvider.parameters)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.parameters))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: ConstraintStatus defines the observed state of Constraint. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_portfolios.yaml b/package/crds/servicecatalog.aws.upbound.io_portfolios.yaml index 7addd6d0e8..43f81851bb 100644 --- a/package/crds/servicecatalog.aws.upbound.io_portfolios.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_portfolios.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: portfolios.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -180,42 +180,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -314,14 +278,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: providerName is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.providerName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.providerName) - || has(self.initProvider.providerName)' + || (has(self.initProvider) && has(self.initProvider.providerName))' status: description: PortfolioStatus defines the observed state of Portfolio. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml b/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml index dbaa08c8e8..3d1a5b3202 100644 --- a/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_portfolioshares.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: portfolioshares.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -286,42 +286,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -420,14 +384,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: principalId is a required parameter + - message: spec.forProvider.principalId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principalId) - || has(self.initProvider.principalId)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.principalId))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: PortfolioShareStatus defines the observed state of PortfolioShare. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml index 377b2416a6..9173ce075e 100644 --- a/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_principalportfolioassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: principalportfolioassociations.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -323,42 +323,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -457,10 +421,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: acceptLanguage is a required parameter + - message: spec.forProvider.acceptLanguage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.acceptLanguage) - || has(self.initProvider.acceptLanguage)' + || (has(self.initProvider) && has(self.initProvider.acceptLanguage))' status: description: PrincipalPortfolioAssociationStatus defines the observed state of PrincipalPortfolioAssociation. diff --git a/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml index fb1f08b99e..23ddc3c80e 100644 --- a/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_productportfolioassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: productportfolioassociations.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -319,42 +319,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -453,10 +417,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: acceptLanguage is a required parameter + - message: spec.forProvider.acceptLanguage is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.acceptLanguage) - || has(self.initProvider.acceptLanguage)' + || (has(self.initProvider) && has(self.initProvider.acceptLanguage))' status: description: ProductPortfolioAssociationStatus defines the observed state of ProductPortfolioAssociation. diff --git a/package/crds/servicecatalog.aws.upbound.io_products.yaml b/package/crds/servicecatalog.aws.upbound.io_products.yaml index d085e49984..60343844b7 100644 --- a/package/crds/servicecatalog.aws.upbound.io_products.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_products.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: products.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -288,42 +288,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -422,22 +386,23 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: owner is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.owner is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.owner) - || has(self.initProvider.owner)' - - message: provisioningArtifactParameters is a required parameter + || (has(self.initProvider) && has(self.initProvider.owner))' + - message: spec.forProvider.provisioningArtifactParameters is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.provisioningArtifactParameters) - || has(self.initProvider.provisioningArtifactParameters)' - - message: type is a required parameter + || (has(self.initProvider) && has(self.initProvider.provisioningArtifactParameters))' + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: ProductStatus defines the observed state of Product. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml b/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml index 371ff497a2..106cce1eeb 100644 --- a/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_provisioningartifacts.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: provisioningartifacts.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -318,42 +318,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/servicecatalog.aws.upbound.io_serviceactions.yaml b/package/crds/servicecatalog.aws.upbound.io_serviceactions.yaml index bc2f9afb58..86261545b6 100644 --- a/package/crds/servicecatalog.aws.upbound.io_serviceactions.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_serviceactions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: serviceactions.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -228,42 +228,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -362,14 +326,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: definition is a required parameter + - message: spec.forProvider.definition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.definition) - || has(self.initProvider.definition)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.definition))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ServiceActionStatus defines the observed state of ServiceAction. properties: diff --git a/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml b/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml index 50f3639a5f..3a79ce90ab 100644 --- a/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_tagoptionresourceassociations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tagoptionresourceassociations.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -304,42 +304,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/servicecatalog.aws.upbound.io_tagoptions.yaml b/package/crds/servicecatalog.aws.upbound.io_tagoptions.yaml index c4dede9a0a..a20db41ecd 100644 --- a/package/crds/servicecatalog.aws.upbound.io_tagoptions.yaml +++ b/package/crds/servicecatalog.aws.upbound.io_tagoptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tagoptions.servicecatalog.aws.upbound.io spec: group: servicecatalog.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,14 +268,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: key is a required parameter + - message: spec.forProvider.key is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.key) - || has(self.initProvider.key)' - - message: value is a required parameter + || (has(self.initProvider) && has(self.initProvider.key))' + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: TagOptionStatus defines the observed state of TagOption. properties: diff --git a/package/crds/servicediscovery.aws.upbound.io_httpnamespaces.yaml b/package/crds/servicediscovery.aws.upbound.io_httpnamespaces.yaml index f8845a44ea..5fa49620cc 100644 --- a/package/crds/servicediscovery.aws.upbound.io_httpnamespaces.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_httpnamespaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: httpnamespaces.servicediscovery.aws.upbound.io spec: group: servicediscovery.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -310,10 +274,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: HTTPNamespaceStatus defines the observed state of HTTPNamespace. properties: diff --git a/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml b/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml index a1bd59cbe2..f98b155ec1 100644 --- a/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_privatednsnamespaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: privatednsnamespaces.servicediscovery.aws.upbound.io spec: group: servicediscovery.aws.upbound.io @@ -253,42 +253,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -387,10 +351,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PrivateDNSNamespaceStatus defines the observed state of PrivateDNSNamespace. properties: diff --git a/package/crds/servicediscovery.aws.upbound.io_publicdnsnamespaces.yaml b/package/crds/servicediscovery.aws.upbound.io_publicdnsnamespaces.yaml index 4c9181be60..bd33d89b1f 100644 --- a/package/crds/servicediscovery.aws.upbound.io_publicdnsnamespaces.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_publicdnsnamespaces.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: publicdnsnamespaces.servicediscovery.aws.upbound.io spec: group: servicediscovery.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -310,10 +274,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PublicDNSNamespaceStatus defines the observed state of PublicDNSNamespace. properties: diff --git a/package/crds/servicediscovery.aws.upbound.io_services.yaml b/package/crds/servicediscovery.aws.upbound.io_services.yaml index ff67e2a410..db69a8ae2f 100644 --- a/package/crds/servicediscovery.aws.upbound.io_services.yaml +++ b/package/crds/servicediscovery.aws.upbound.io_services.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: services.servicediscovery.aws.upbound.io spec: group: servicediscovery.aws.upbound.io @@ -415,42 +415,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -549,10 +513,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ServiceStatus defines the observed state of Service. properties: diff --git a/package/crds/servicequotas.aws.upbound.io_servicequotas.yaml b/package/crds/servicequotas.aws.upbound.io_servicequotas.yaml index c25824abba..4b550d0ad0 100644 --- a/package/crds/servicequotas.aws.upbound.io_servicequotas.yaml +++ b/package/crds/servicequotas.aws.upbound.io_servicequotas.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servicequotas.servicequotas.aws.upbound.io spec: group: servicequotas.aws.upbound.io @@ -186,42 +186,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -320,18 +284,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: quotaCode is a required parameter + - message: spec.forProvider.quotaCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.quotaCode) - || has(self.initProvider.quotaCode)' - - message: serviceCode is a required parameter + || (has(self.initProvider) && has(self.initProvider.quotaCode))' + - message: spec.forProvider.serviceCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceCode) - || has(self.initProvider.serviceCode)' - - message: value is a required parameter + || (has(self.initProvider) && has(self.initProvider.serviceCode))' + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: ServiceQuotaStatus defines the observed state of ServiceQuota. properties: diff --git a/package/crds/ses.aws.upbound.io_activereceiptrulesets.yaml b/package/crds/ses.aws.upbound.io_activereceiptrulesets.yaml index bbcc2e59bd..37ef823b33 100644 --- a/package/crds/ses.aws.upbound.io_activereceiptrulesets.yaml +++ b/package/crds/ses.aws.upbound.io_activereceiptrulesets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: activereceiptrulesets.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ruleSetName is a required parameter + - message: spec.forProvider.ruleSetName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleSetName) - || has(self.initProvider.ruleSetName)' + || (has(self.initProvider) && has(self.initProvider.ruleSetName))' status: description: ActiveReceiptRuleSetStatus defines the observed state of ActiveReceiptRuleSet. diff --git a/package/crds/ses.aws.upbound.io_configurationsets.yaml b/package/crds/ses.aws.upbound.io_configurationsets.yaml index cfe8f32925..eea88ed8c1 100644 --- a/package/crds/ses.aws.upbound.io_configurationsets.yaml +++ b/package/crds/ses.aws.upbound.io_configurationsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationsets.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -226,42 +226,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ses.aws.upbound.io_domaindkims.yaml b/package/crds/ses.aws.upbound.io_domaindkims.yaml index 7c09163749..7ed70e3458 100644 --- a/package/crds/ses.aws.upbound.io_domaindkims.yaml +++ b/package/crds/ses.aws.upbound.io_domaindkims.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domaindkims.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -151,42 +151,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ses.aws.upbound.io_domainidentities.yaml b/package/crds/ses.aws.upbound.io_domainidentities.yaml index b092847520..e8f6f24762 100644 --- a/package/crds/ses.aws.upbound.io_domainidentities.yaml +++ b/package/crds/ses.aws.upbound.io_domainidentities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainidentities.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -151,42 +151,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ses.aws.upbound.io_domainmailfroms.yaml b/package/crds/ses.aws.upbound.io_domainmailfroms.yaml index 6ddcc270ab..3362538570 100644 --- a/package/crds/ses.aws.upbound.io_domainmailfroms.yaml +++ b/package/crds/ses.aws.upbound.io_domainmailfroms.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domainmailfroms.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -251,42 +251,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -385,10 +349,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: mailFromDomain is a required parameter + - message: spec.forProvider.mailFromDomain is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.mailFromDomain) - || has(self.initProvider.mailFromDomain)' + || (has(self.initProvider) && has(self.initProvider.mailFromDomain))' status: description: DomainMailFromStatus defines the observed state of DomainMailFrom. properties: diff --git a/package/crds/ses.aws.upbound.io_emailidentities.yaml b/package/crds/ses.aws.upbound.io_emailidentities.yaml index f1edcfdf0a..592972b2da 100644 --- a/package/crds/ses.aws.upbound.io_emailidentities.yaml +++ b/package/crds/ses.aws.upbound.io_emailidentities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: emailidentities.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: email is a required parameter + - message: spec.forProvider.email is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.email) - || has(self.initProvider.email)' + || (has(self.initProvider) && has(self.initProvider.email))' status: description: EmailIdentityStatus defines the observed state of EmailIdentity. properties: diff --git a/package/crds/ses.aws.upbound.io_eventdestinations.yaml b/package/crds/ses.aws.upbound.io_eventdestinations.yaml index a508fd0525..1878b244c7 100644 --- a/package/crds/ses.aws.upbound.io_eventdestinations.yaml +++ b/package/crds/ses.aws.upbound.io_eventdestinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: eventdestinations.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -542,42 +542,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -676,10 +640,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: matchingTypes is a required parameter + - message: spec.forProvider.matchingTypes is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.matchingTypes) - || has(self.initProvider.matchingTypes)' + || (has(self.initProvider) && has(self.initProvider.matchingTypes))' status: description: EventDestinationStatus defines the observed state of EventDestination. properties: diff --git a/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml b/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml index 37b908320d..64708b2adc 100644 --- a/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml +++ b/package/crds/ses.aws.upbound.io_identitynotificationtopics.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: identitynotificationtopics.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -328,42 +328,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -462,10 +426,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: notificationType is a required parameter + - message: spec.forProvider.notificationType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.notificationType) - || has(self.initProvider.notificationType)' + || (has(self.initProvider) && has(self.initProvider.notificationType))' status: description: IdentityNotificationTopicStatus defines the observed state of IdentityNotificationTopic. diff --git a/package/crds/ses.aws.upbound.io_identitypolicies.yaml b/package/crds/ses.aws.upbound.io_identitypolicies.yaml index 9847b0f78f..070bd47f07 100644 --- a/package/crds/ses.aws.upbound.io_identitypolicies.yaml +++ b/package/crds/ses.aws.upbound.io_identitypolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: identitypolicies.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -242,42 +242,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -376,14 +340,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: policy is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: IdentityPolicyStatus defines the observed state of IdentityPolicy. properties: diff --git a/package/crds/ses.aws.upbound.io_receiptfilters.yaml b/package/crds/ses.aws.upbound.io_receiptfilters.yaml index 58ee7a905b..81a4bb8032 100644 --- a/package/crds/ses.aws.upbound.io_receiptfilters.yaml +++ b/package/crds/ses.aws.upbound.io_receiptfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: receiptfilters.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -166,42 +166,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -300,14 +264,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cidr is a required parameter + - message: spec.forProvider.cidr is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cidr) - || has(self.initProvider.cidr)' - - message: policy is a required parameter + || (has(self.initProvider) && has(self.initProvider.cidr))' + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: ReceiptFilterStatus defines the observed state of ReceiptFilter. properties: diff --git a/package/crds/ses.aws.upbound.io_receiptrules.yaml b/package/crds/ses.aws.upbound.io_receiptrules.yaml index b688a97efc..f2c0a6fdc1 100644 --- a/package/crds/ses.aws.upbound.io_receiptrules.yaml +++ b/package/crds/ses.aws.upbound.io_receiptrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: receiptrules.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -450,42 +450,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -584,14 +548,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: ruleSetName is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.ruleSetName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleSetName) - || has(self.initProvider.ruleSetName)' + || (has(self.initProvider) && has(self.initProvider.ruleSetName))' status: description: ReceiptRuleStatus defines the observed state of ReceiptRule. properties: diff --git a/package/crds/ses.aws.upbound.io_receiptrulesets.yaml b/package/crds/ses.aws.upbound.io_receiptrulesets.yaml index 4ce9f8c584..7233f4849f 100644 --- a/package/crds/ses.aws.upbound.io_receiptrulesets.yaml +++ b/package/crds/ses.aws.upbound.io_receiptrulesets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: receiptrulesets.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -158,42 +158,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -292,10 +256,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ruleSetName is a required parameter + - message: spec.forProvider.ruleSetName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ruleSetName) - || has(self.initProvider.ruleSetName)' + || (has(self.initProvider) && has(self.initProvider.ruleSetName))' status: description: ReceiptRuleSetStatus defines the observed state of ReceiptRuleSet. properties: diff --git a/package/crds/ses.aws.upbound.io_templates.yaml b/package/crds/ses.aws.upbound.io_templates.yaml index f0d6b16c1f..e5f3323d76 100644 --- a/package/crds/ses.aws.upbound.io_templates.yaml +++ b/package/crds/ses.aws.upbound.io_templates.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: templates.ses.aws.upbound.io spec: group: ses.aws.upbound.io @@ -176,42 +176,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml b/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml index ed5008d1a1..c2e674fdbc 100644 --- a/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml +++ b/package/crds/sesv2.aws.upbound.io_configurationseteventdestinations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationseteventdestinations.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -723,42 +723,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -857,14 +821,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: eventDestination is a required parameter + - message: spec.forProvider.eventDestination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventDestination) - || has(self.initProvider.eventDestination)' - - message: eventDestinationName is a required parameter + || (has(self.initProvider) && has(self.initProvider.eventDestination))' + - message: spec.forProvider.eventDestinationName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.eventDestinationName) - || has(self.initProvider.eventDestinationName)' + || (has(self.initProvider) && has(self.initProvider.eventDestinationName))' status: description: ConfigurationSetEventDestinationStatus defines the observed state of ConfigurationSetEventDestination. diff --git a/package/crds/sesv2.aws.upbound.io_configurationsets.yaml b/package/crds/sesv2.aws.upbound.io_configurationsets.yaml index 3fa420d572..de5e60e125 100644 --- a/package/crds/sesv2.aws.upbound.io_configurationsets.yaml +++ b/package/crds/sesv2.aws.upbound.io_configurationsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: configurationsets.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -355,42 +355,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sesv2.aws.upbound.io_dedicatedippools.yaml b/package/crds/sesv2.aws.upbound.io_dedicatedippools.yaml index 96bb59367e..4a96d9e909 100644 --- a/package/crds/sesv2.aws.upbound.io_dedicatedippools.yaml +++ b/package/crds/sesv2.aws.upbound.io_dedicatedippools.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: dedicatedippools.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -169,42 +169,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sesv2.aws.upbound.io_emailidentities.yaml b/package/crds/sesv2.aws.upbound.io_emailidentities.yaml index 72aef8ad31..18f1874f7f 100644 --- a/package/crds/sesv2.aws.upbound.io_emailidentities.yaml +++ b/package/crds/sesv2.aws.upbound.io_emailidentities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: emailidentities.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -287,42 +287,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sesv2.aws.upbound.io_emailidentityfeedbackattributes.yaml b/package/crds/sesv2.aws.upbound.io_emailidentityfeedbackattributes.yaml index 989f315b55..b4b03d4e96 100644 --- a/package/crds/sesv2.aws.upbound.io_emailidentityfeedbackattributes.yaml +++ b/package/crds/sesv2.aws.upbound.io_emailidentityfeedbackattributes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: emailidentityfeedbackattributes.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -161,42 +161,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sesv2.aws.upbound.io_emailidentitymailfromattributes.yaml b/package/crds/sesv2.aws.upbound.io_emailidentitymailfromattributes.yaml index 969a8b45bc..b88b53031a 100644 --- a/package/crds/sesv2.aws.upbound.io_emailidentitymailfromattributes.yaml +++ b/package/crds/sesv2.aws.upbound.io_emailidentitymailfromattributes.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: emailidentitymailfromattributes.sesv2.aws.upbound.io spec: group: sesv2.aws.upbound.io @@ -171,42 +171,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sfn.aws.upbound.io_activities.yaml b/package/crds/sfn.aws.upbound.io_activities.yaml index 1bf09073ac..99b93775a4 100644 --- a/package/crds/sfn.aws.upbound.io_activities.yaml +++ b/package/crds/sfn.aws.upbound.io_activities.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: activities.sfn.aws.upbound.io spec: group: sfn.aws.upbound.io @@ -162,42 +162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sfn.aws.upbound.io_statemachines.yaml b/package/crds/sfn.aws.upbound.io_statemachines.yaml index 5df8536627..e14b199a98 100644 --- a/package/crds/sfn.aws.upbound.io_statemachines.yaml +++ b/package/crds/sfn.aws.upbound.io_statemachines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: statemachines.sfn.aws.upbound.io spec: group: sfn.aws.upbound.io @@ -329,42 +329,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -463,10 +427,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: definition is a required parameter + - message: spec.forProvider.definition is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.definition) - || has(self.initProvider.definition)' + || (has(self.initProvider) && has(self.initProvider.definition))' status: description: StateMachineStatus defines the observed state of StateMachine. properties: diff --git a/package/crds/signer.aws.upbound.io_signingjobs.yaml b/package/crds/signer.aws.upbound.io_signingjobs.yaml index 11c2f6c9d2..906ad73750 100644 --- a/package/crds/signer.aws.upbound.io_signingjobs.yaml +++ b/package/crds/signer.aws.upbound.io_signingjobs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: signingjobs.signer.aws.upbound.io spec: group: signer.aws.upbound.io @@ -332,42 +332,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -466,14 +430,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' - - message: source is a required parameter + || (has(self.initProvider) && has(self.initProvider.destination))' + - message: spec.forProvider.source is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.source) - || has(self.initProvider.source)' + || (has(self.initProvider) && has(self.initProvider.source))' status: description: SigningJobStatus defines the observed state of SigningJob. properties: diff --git a/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml b/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml index db9dd4d4de..2e0a3a5cbd 100644 --- a/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml +++ b/package/crds/signer.aws.upbound.io_signingprofilepermissions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: signingprofilepermissions.signer.aws.upbound.io spec: group: signer.aws.upbound.io @@ -336,42 +336,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -470,14 +434,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: action is a required parameter + - message: spec.forProvider.action is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.action) - || has(self.initProvider.action)' - - message: principal is a required parameter + || (has(self.initProvider) && has(self.initProvider.action))' + - message: spec.forProvider.principal is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.principal) - || has(self.initProvider.principal)' + || (has(self.initProvider) && has(self.initProvider.principal))' status: description: SigningProfilePermissionStatus defines the observed state of SigningProfilePermission. diff --git a/package/crds/signer.aws.upbound.io_signingprofiles.yaml b/package/crds/signer.aws.upbound.io_signingprofiles.yaml index 009cce876e..1b8099215a 100644 --- a/package/crds/signer.aws.upbound.io_signingprofiles.yaml +++ b/package/crds/signer.aws.upbound.io_signingprofiles.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: signingprofiles.signer.aws.upbound.io spec: group: signer.aws.upbound.io @@ -190,42 +190,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -324,10 +288,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: platformId is a required parameter + - message: spec.forProvider.platformId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.platformId) - || has(self.initProvider.platformId)' + || (has(self.initProvider) && has(self.initProvider.platformId))' status: description: SigningProfileStatus defines the observed state of SigningProfile. properties: diff --git a/package/crds/simpledb.aws.upbound.io_domains.yaml b/package/crds/simpledb.aws.upbound.io_domains.yaml index e3c89285cd..812983bc35 100644 --- a/package/crds/simpledb.aws.upbound.io_domains.yaml +++ b/package/crds/simpledb.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.simpledb.aws.upbound.io spec: group: simpledb.aws.upbound.io @@ -151,42 +151,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sns.aws.upbound.io_platformapplications.yaml b/package/crds/sns.aws.upbound.io_platformapplications.yaml index 8b35ee85ce..b5f1a4462f 100644 --- a/package/crds/sns.aws.upbound.io_platformapplications.yaml +++ b/package/crds/sns.aws.upbound.io_platformapplications.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: platformapplications.sns.aws.upbound.io spec: group: sns.aws.upbound.io @@ -412,42 +412,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -546,11 +510,12 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: platform is a required parameter + - message: spec.forProvider.platform is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.platform) - || has(self.initProvider.platform)' - - message: platformCredentialSecretRef is a required parameter + || (has(self.initProvider) && has(self.initProvider.platform))' + - message: spec.forProvider.platformCredentialSecretRef is a required + parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.platformCredentialSecretRef)' status: diff --git a/package/crds/sns.aws.upbound.io_smspreferences.yaml b/package/crds/sns.aws.upbound.io_smspreferences.yaml index 8f1e88be7d..5168d2f2f1 100644 --- a/package/crds/sns.aws.upbound.io_smspreferences.yaml +++ b/package/crds/sns.aws.upbound.io_smspreferences.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: smspreferences.sns.aws.upbound.io spec: group: sns.aws.upbound.io @@ -271,42 +271,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sns.aws.upbound.io_topicpolicies.yaml b/package/crds/sns.aws.upbound.io_topicpolicies.yaml index 9a71c92636..145e7c4353 100644 --- a/package/crds/sns.aws.upbound.io_topicpolicies.yaml +++ b/package/crds/sns.aws.upbound.io_topicpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: topicpolicies.sns.aws.upbound.io spec: group: sns.aws.upbound.io @@ -234,42 +234,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -368,10 +332,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: TopicPolicyStatus defines the observed state of TopicPolicy. properties: diff --git a/package/crds/sns.aws.upbound.io_topics.yaml b/package/crds/sns.aws.upbound.io_topics.yaml index 6e878a14c9..6ca497fdba 100644 --- a/package/crds/sns.aws.upbound.io_topics.yaml +++ b/package/crds/sns.aws.upbound.io_topics.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: topics.sns.aws.upbound.io spec: group: sns.aws.upbound.io @@ -1023,42 +1023,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml b/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml index 7d87064691..60cbe14795 100644 --- a/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml +++ b/package/crds/sns.aws.upbound.io_topicsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: topicsubscriptions.sns.aws.upbound.io spec: group: sns.aws.upbound.io @@ -458,42 +458,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -592,10 +556,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: protocol is a required parameter + - message: spec.forProvider.protocol is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.protocol) - || has(self.initProvider.protocol)' + || (has(self.initProvider) && has(self.initProvider.protocol))' status: description: TopicSubscriptionStatus defines the observed state of TopicSubscription. properties: diff --git a/package/crds/sqs.aws.upbound.io_queuepolicies.yaml b/package/crds/sqs.aws.upbound.io_queuepolicies.yaml index f5e470cfae..0f601be1b5 100644 --- a/package/crds/sqs.aws.upbound.io_queuepolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queuepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queuepolicies.sqs.aws.upbound.io spec: group: sqs.aws.upbound.io @@ -234,42 +234,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -368,10 +332,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: policy is a required parameter + - message: spec.forProvider.policy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.policy) - || has(self.initProvider.policy)' + || (has(self.initProvider) && has(self.initProvider.policy))' status: description: QueuePolicyStatus defines the observed state of QueuePolicy. properties: diff --git a/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml b/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml index b08fe0af13..afbc6165c6 100644 --- a/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queueredriveallowpolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queueredriveallowpolicies.sqs.aws.upbound.io spec: group: sqs.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,10 +335,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: redriveAllowPolicy is a required parameter + - message: spec.forProvider.redriveAllowPolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.redriveAllowPolicy) - || has(self.initProvider.redriveAllowPolicy)' + || (has(self.initProvider) && has(self.initProvider.redriveAllowPolicy))' status: description: QueueRedriveAllowPolicyStatus defines the observed state of QueueRedriveAllowPolicy. diff --git a/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml b/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml index 83b885de4b..73e458b01f 100644 --- a/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml +++ b/package/crds/sqs.aws.upbound.io_queueredrivepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queueredrivepolicies.sqs.aws.upbound.io spec: group: sqs.aws.upbound.io @@ -238,42 +238,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -372,10 +336,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: redrivePolicy is a required parameter + - message: spec.forProvider.redrivePolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.redrivePolicy) - || has(self.initProvider.redrivePolicy)' + || (has(self.initProvider) && has(self.initProvider.redrivePolicy))' status: description: QueueRedrivePolicyStatus defines the observed state of QueueRedrivePolicy. properties: diff --git a/package/crds/sqs.aws.upbound.io_queues.yaml b/package/crds/sqs.aws.upbound.io_queues.yaml index 129c2012d8..ec670b8ed0 100644 --- a/package/crds/sqs.aws.upbound.io_queues.yaml +++ b/package/crds/sqs.aws.upbound.io_queues.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: queues.sqs.aws.upbound.io spec: group: sqs.aws.upbound.io @@ -323,42 +323,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssm.aws.upbound.io_activations.yaml b/package/crds/ssm.aws.upbound.io_activations.yaml index 5edb334f67..a86ae4b763 100644 --- a/package/crds/ssm.aws.upbound.io_activations.yaml +++ b/package/crds/ssm.aws.upbound.io_activations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: activations.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -271,42 +271,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssm.aws.upbound.io_associations.yaml b/package/crds/ssm.aws.upbound.io_associations.yaml index c747f5af92..6ed6f75825 100644 --- a/package/crds/ssm.aws.upbound.io_associations.yaml +++ b/package/crds/ssm.aws.upbound.io_associations.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: associations.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -410,42 +410,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml b/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml index 02a2c56e99..ea1d4ba37d 100644 --- a/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml +++ b/package/crds/ssm.aws.upbound.io_defaultpatchbaselines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: defaultpatchbaselines.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -308,42 +308,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssm.aws.upbound.io_documents.yaml b/package/crds/ssm.aws.upbound.io_documents.yaml index 6dc84313e6..21732dd018 100644 --- a/package/crds/ssm.aws.upbound.io_documents.yaml +++ b/package/crds/ssm.aws.upbound.io_documents.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: documents.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -262,42 +262,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -396,14 +360,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: content is a required parameter + - message: spec.forProvider.content is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.content) - || has(self.initProvider.content)' - - message: documentType is a required parameter + || (has(self.initProvider) && has(self.initProvider.content))' + - message: spec.forProvider.documentType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.documentType) - || has(self.initProvider.documentType)' + || (has(self.initProvider) && has(self.initProvider.documentType))' status: description: DocumentStatus defines the observed state of Document. properties: diff --git a/package/crds/ssm.aws.upbound.io_maintenancewindows.yaml b/package/crds/ssm.aws.upbound.io_maintenancewindows.yaml index 94a87d5b1f..4f1b5074e5 100644 --- a/package/crds/ssm.aws.upbound.io_maintenancewindows.yaml +++ b/package/crds/ssm.aws.upbound.io_maintenancewindows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: maintenancewindows.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -382,22 +346,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: cutoff is a required parameter + - message: spec.forProvider.cutoff is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.cutoff) - || has(self.initProvider.cutoff)' - - message: duration is a required parameter + || (has(self.initProvider) && has(self.initProvider.cutoff))' + - message: spec.forProvider.duration is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.duration) - || has(self.initProvider.duration)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.duration))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: schedule is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.schedule is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.schedule) - || has(self.initProvider.schedule)' + || (has(self.initProvider) && has(self.initProvider.schedule))' status: description: MaintenanceWindowStatus defines the observed state of MaintenanceWindow. properties: diff --git a/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml b/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml index c79f3df433..a36551ba1e 100644 --- a/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml +++ b/package/crds/ssm.aws.upbound.io_maintenancewindowtargets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: maintenancewindowtargets.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -294,42 +294,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -428,14 +392,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: resourceType is a required parameter + - message: spec.forProvider.resourceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceType) - || has(self.initProvider.resourceType)' - - message: targets is a required parameter + || (has(self.initProvider) && has(self.initProvider.resourceType))' + - message: spec.forProvider.targets is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.targets) - || has(self.initProvider.targets)' + || (has(self.initProvider) && has(self.initProvider.targets))' status: description: MaintenanceWindowTargetStatus defines the observed state of MaintenanceWindowTarget. diff --git a/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml b/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml index f541b82d1a..79c60494db 100644 --- a/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml +++ b/package/crds/ssm.aws.upbound.io_maintenancewindowtasks.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: maintenancewindowtasks.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -1067,42 +1067,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1201,10 +1165,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: taskType is a required parameter + - message: spec.forProvider.taskType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.taskType) - || has(self.initProvider.taskType)' + || (has(self.initProvider) && has(self.initProvider.taskType))' status: description: MaintenanceWindowTaskStatus defines the observed state of MaintenanceWindowTask. diff --git a/package/crds/ssm.aws.upbound.io_parameters.yaml b/package/crds/ssm.aws.upbound.io_parameters.yaml index cbb02b884a..3a81448b53 100644 --- a/package/crds/ssm.aws.upbound.io_parameters.yaml +++ b/package/crds/ssm.aws.upbound.io_parameters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: parameters.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -255,42 +255,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -389,10 +353,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: type is a required parameter + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: ParameterStatus defines the observed state of Parameter. properties: diff --git a/package/crds/ssm.aws.upbound.io_patchbaselines.yaml b/package/crds/ssm.aws.upbound.io_patchbaselines.yaml index eaa9ddd037..ef39a819bb 100644 --- a/package/crds/ssm.aws.upbound.io_patchbaselines.yaml +++ b/package/crds/ssm.aws.upbound.io_patchbaselines.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: patchbaselines.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -416,42 +416,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -550,10 +514,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PatchBaselineStatus defines the observed state of PatchBaseline. properties: diff --git a/package/crds/ssm.aws.upbound.io_patchgroups.yaml b/package/crds/ssm.aws.upbound.io_patchgroups.yaml index e53bba6d62..5ccd8d4b66 100644 --- a/package/crds/ssm.aws.upbound.io_patchgroups.yaml +++ b/package/crds/ssm.aws.upbound.io_patchgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: patchgroups.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -237,42 +237,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -371,10 +335,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: patchGroup is a required parameter + - message: spec.forProvider.patchGroup is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.patchGroup) - || has(self.initProvider.patchGroup)' + || (has(self.initProvider) && has(self.initProvider.patchGroup))' status: description: PatchGroupStatus defines the observed state of PatchGroup. properties: diff --git a/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml b/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml index aa18c354df..5ad60dcd22 100644 --- a/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml +++ b/package/crds/ssm.aws.upbound.io_resourcedatasyncs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: resourcedatasyncs.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -347,42 +347,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -481,10 +445,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: s3Destination is a required parameter + - message: spec.forProvider.s3Destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.s3Destination) - || has(self.initProvider.s3Destination)' + || (has(self.initProvider) && has(self.initProvider.s3Destination))' status: description: ResourceDataSyncStatus defines the observed state of ResourceDataSync. properties: diff --git a/package/crds/ssm.aws.upbound.io_servicesettings.yaml b/package/crds/ssm.aws.upbound.io_servicesettings.yaml index 3d327577a4..b064536fe4 100644 --- a/package/crds/ssm.aws.upbound.io_servicesettings.yaml +++ b/package/crds/ssm.aws.upbound.io_servicesettings.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servicesettings.ssm.aws.upbound.io spec: group: ssm.aws.upbound.io @@ -164,42 +164,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -298,14 +262,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: settingId is a required parameter + - message: spec.forProvider.settingId is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.settingId) - || has(self.initProvider.settingId)' - - message: settingValue is a required parameter + || (has(self.initProvider) && has(self.initProvider.settingId))' + - message: spec.forProvider.settingValue is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.settingValue) - || has(self.initProvider.settingValue)' + || (has(self.initProvider) && has(self.initProvider.settingValue))' status: description: ServiceSettingStatus defines the observed state of ServiceSetting. properties: diff --git a/package/crds/ssoadmin.aws.upbound.io_accountassignments.yaml b/package/crds/ssoadmin.aws.upbound.io_accountassignments.yaml index 27d60506de..c9fc33ca11 100644 --- a/package/crds/ssoadmin.aws.upbound.io_accountassignments.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_accountassignments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: accountassignments.ssoadmin.aws.upbound.io spec: group: ssoadmin.aws.upbound.io @@ -179,42 +179,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssoadmin.aws.upbound.io_managedpolicyattachments.yaml b/package/crds/ssoadmin.aws.upbound.io_managedpolicyattachments.yaml index ac14b18f2e..a67763e3b6 100644 --- a/package/crds/ssoadmin.aws.upbound.io_managedpolicyattachments.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_managedpolicyattachments.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: managedpolicyattachments.ssoadmin.aws.upbound.io spec: group: ssoadmin.aws.upbound.io @@ -242,42 +242,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/ssoadmin.aws.upbound.io_permissionsetinlinepolicies.yaml b/package/crds/ssoadmin.aws.upbound.io_permissionsetinlinepolicies.yaml index 8b2d0f2563..5628ba453b 100644 --- a/package/crds/ssoadmin.aws.upbound.io_permissionsetinlinepolicies.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_permissionsetinlinepolicies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissionsetinlinepolicies.ssoadmin.aws.upbound.io spec: group: ssoadmin.aws.upbound.io @@ -244,42 +244,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -378,10 +342,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: inlinePolicy is a required parameter + - message: spec.forProvider.inlinePolicy is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inlinePolicy) - || has(self.initProvider.inlinePolicy)' + || (has(self.initProvider) && has(self.initProvider.inlinePolicy))' status: description: PermissionSetInlinePolicyStatus defines the observed state of PermissionSetInlinePolicy. diff --git a/package/crds/ssoadmin.aws.upbound.io_permissionsets.yaml b/package/crds/ssoadmin.aws.upbound.io_permissionsets.yaml index 924084a019..f490c4999e 100644 --- a/package/crds/ssoadmin.aws.upbound.io_permissionsets.yaml +++ b/package/crds/ssoadmin.aws.upbound.io_permissionsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: permissionsets.ssoadmin.aws.upbound.io spec: group: ssoadmin.aws.upbound.io @@ -198,42 +198,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -332,14 +296,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: instanceArn is a required parameter + - message: spec.forProvider.instanceArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.instanceArn) - || has(self.initProvider.instanceArn)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.instanceArn))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: PermissionSetStatus defines the observed state of PermissionSet. properties: diff --git a/package/crds/swf.aws.upbound.io_domains.yaml b/package/crds/swf.aws.upbound.io_domains.yaml index ea366a23f0..cbf08f3e36 100644 --- a/package/crds/swf.aws.upbound.io_domains.yaml +++ b/package/crds/swf.aws.upbound.io_domains.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: domains.swf.aws.upbound.io spec: group: swf.aws.upbound.io @@ -178,42 +178,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -312,10 +276,11 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: workflowExecutionRetentionPeriodInDays is a required parameter + - message: spec.forProvider.workflowExecutionRetentionPeriodInDays is + a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.workflowExecutionRetentionPeriodInDays) - || has(self.initProvider.workflowExecutionRetentionPeriodInDays)' + || (has(self.initProvider) && has(self.initProvider.workflowExecutionRetentionPeriodInDays))' status: description: DomainStatus defines the observed state of Domain. properties: diff --git a/package/crds/timestreamwrite.aws.upbound.io_databases.yaml b/package/crds/timestreamwrite.aws.upbound.io_databases.yaml index 33aceb9942..7574981c93 100644 --- a/package/crds/timestreamwrite.aws.upbound.io_databases.yaml +++ b/package/crds/timestreamwrite.aws.upbound.io_databases.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: databases.timestreamwrite.aws.upbound.io spec: group: timestreamwrite.aws.upbound.io @@ -242,42 +242,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/timestreamwrite.aws.upbound.io_tables.yaml b/package/crds/timestreamwrite.aws.upbound.io_tables.yaml index 21f9b01314..679a2aa83e 100644 --- a/package/crds/timestreamwrite.aws.upbound.io_tables.yaml +++ b/package/crds/timestreamwrite.aws.upbound.io_tables.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tables.timestreamwrite.aws.upbound.io spec: group: timestreamwrite.aws.upbound.io @@ -380,42 +380,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/transcribe.aws.upbound.io_languagemodels.yaml b/package/crds/transcribe.aws.upbound.io_languagemodels.yaml index 9ca73cfad1..6a4681a874 100644 --- a/package/crds/transcribe.aws.upbound.io_languagemodels.yaml +++ b/package/crds/transcribe.aws.upbound.io_languagemodels.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: languagemodels.transcribe.aws.upbound.io spec: group: transcribe.aws.upbound.io @@ -280,42 +280,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -414,18 +378,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: baseModelName is a required parameter + - message: spec.forProvider.baseModelName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.baseModelName) - || has(self.initProvider.baseModelName)' - - message: inputDataConfig is a required parameter + || (has(self.initProvider) && has(self.initProvider.baseModelName))' + - message: spec.forProvider.inputDataConfig is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.inputDataConfig) - || has(self.initProvider.inputDataConfig)' - - message: languageCode is a required parameter + || (has(self.initProvider) && has(self.initProvider.inputDataConfig))' + - message: spec.forProvider.languageCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.languageCode) - || has(self.initProvider.languageCode)' + || (has(self.initProvider) && has(self.initProvider.languageCode))' status: description: LanguageModelStatus defines the observed state of LanguageModel. properties: diff --git a/package/crds/transcribe.aws.upbound.io_vocabularies.yaml b/package/crds/transcribe.aws.upbound.io_vocabularies.yaml index f1f24d97dc..b5ada7d34f 100644 --- a/package/crds/transcribe.aws.upbound.io_vocabularies.yaml +++ b/package/crds/transcribe.aws.upbound.io_vocabularies.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vocabularies.transcribe.aws.upbound.io spec: group: transcribe.aws.upbound.io @@ -187,42 +187,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -321,10 +285,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: languageCode is a required parameter + - message: spec.forProvider.languageCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.languageCode) - || has(self.initProvider.languageCode)' + || (has(self.initProvider) && has(self.initProvider.languageCode))' status: description: VocabularyStatus defines the observed state of Vocabulary. properties: diff --git a/package/crds/transcribe.aws.upbound.io_vocabularyfilters.yaml b/package/crds/transcribe.aws.upbound.io_vocabularyfilters.yaml index 49b00526ca..2a21b66ecc 100644 --- a/package/crds/transcribe.aws.upbound.io_vocabularyfilters.yaml +++ b/package/crds/transcribe.aws.upbound.io_vocabularyfilters.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: vocabularyfilters.transcribe.aws.upbound.io spec: group: transcribe.aws.upbound.io @@ -191,42 +191,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -325,10 +289,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: languageCode is a required parameter + - message: spec.forProvider.languageCode is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.languageCode) - || has(self.initProvider.languageCode)' + || (has(self.initProvider) && has(self.initProvider.languageCode))' status: description: VocabularyFilterStatus defines the observed state of VocabularyFilter. properties: diff --git a/package/crds/transfer.aws.upbound.io_servers.yaml b/package/crds/transfer.aws.upbound.io_servers.yaml index 53017dcab4..05288a725b 100644 --- a/package/crds/transfer.aws.upbound.io_servers.yaml +++ b/package/crds/transfer.aws.upbound.io_servers.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: servers.transfer.aws.upbound.io spec: group: transfer.aws.upbound.io @@ -799,42 +799,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/transfer.aws.upbound.io_sshkeys.yaml b/package/crds/transfer.aws.upbound.io_sshkeys.yaml index 1b2be20340..7cc8678637 100644 --- a/package/crds/transfer.aws.upbound.io_sshkeys.yaml +++ b/package/crds/transfer.aws.upbound.io_sshkeys.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sshkeys.transfer.aws.upbound.io spec: group: transfer.aws.upbound.io @@ -314,42 +314,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -448,10 +412,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: body is a required parameter + - message: spec.forProvider.body is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.body) - || has(self.initProvider.body)' + || (has(self.initProvider) && has(self.initProvider.body))' status: description: SSHKeyStatus defines the observed state of SSHKey. properties: diff --git a/package/crds/transfer.aws.upbound.io_tags.yaml b/package/crds/transfer.aws.upbound.io_tags.yaml index 509cc4cbaa..7df2764ab0 100644 --- a/package/crds/transfer.aws.upbound.io_tags.yaml +++ b/package/crds/transfer.aws.upbound.io_tags.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: tags.transfer.aws.upbound.io spec: group: transfer.aws.upbound.io @@ -241,42 +241,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -375,14 +339,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: key is a required parameter + - message: spec.forProvider.key is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.key) - || has(self.initProvider.key)' - - message: value is a required parameter + || (has(self.initProvider) && has(self.initProvider.key))' + - message: spec.forProvider.value is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.value) - || has(self.initProvider.value)' + || (has(self.initProvider) && has(self.initProvider.value))' status: description: TagStatus defines the observed state of Tag. properties: diff --git a/package/crds/transfer.aws.upbound.io_users.yaml b/package/crds/transfer.aws.upbound.io_users.yaml index dc1309047a..dc2bcab830 100644 --- a/package/crds/transfer.aws.upbound.io_users.yaml +++ b/package/crds/transfer.aws.upbound.io_users.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: users.transfer.aws.upbound.io spec: group: transfer.aws.upbound.io @@ -432,42 +432,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/transfer.aws.upbound.io_workflows.yaml b/package/crds/transfer.aws.upbound.io_workflows.yaml index b964f4c4e2..d7a940fdd3 100644 --- a/package/crds/transfer.aws.upbound.io_workflows.yaml +++ b/package/crds/transfer.aws.upbound.io_workflows.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: workflows.transfer.aws.upbound.io spec: group: transfer.aws.upbound.io @@ -1162,42 +1162,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -1296,10 +1260,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: steps is a required parameter + - message: spec.forProvider.steps is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.steps) - || has(self.initProvider.steps)' + || (has(self.initProvider) && has(self.initProvider.steps))' status: description: WorkflowStatus defines the observed state of Workflow. properties: diff --git a/package/crds/vpc.aws.upbound.io_networkperformancemetricsubscriptions.yaml b/package/crds/vpc.aws.upbound.io_networkperformancemetricsubscriptions.yaml index ff4bbce852..f05ce43924 100644 --- a/package/crds/vpc.aws.upbound.io_networkperformancemetricsubscriptions.yaml +++ b/package/crds/vpc.aws.upbound.io_networkperformancemetricsubscriptions.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: networkperformancemetricsubscriptions.vpc.aws.upbound.io spec: group: vpc.aws.upbound.io @@ -185,42 +185,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -319,14 +283,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: destination is a required parameter + - message: spec.forProvider.destination is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.destination) - || has(self.initProvider.destination)' - - message: source is a required parameter + || (has(self.initProvider) && has(self.initProvider.destination))' + - message: spec.forProvider.source is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.source) - || has(self.initProvider.source)' + || (has(self.initProvider) && has(self.initProvider.source))' status: description: NetworkPerformanceMetricSubscriptionStatus defines the observed state of NetworkPerformanceMetricSubscription. diff --git a/package/crds/waf.aws.upbound.io_bytematchsets.yaml b/package/crds/waf.aws.upbound.io_bytematchsets.yaml index b29fdbd17f..1d352b5a67 100644 --- a/package/crds/waf.aws.upbound.io_bytematchsets.yaml +++ b/package/crds/waf.aws.upbound.io_bytematchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bytematchsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -252,42 +252,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -386,10 +350,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ByteMatchSetStatus defines the observed state of ByteMatchSet. properties: diff --git a/package/crds/waf.aws.upbound.io_geomatchsets.yaml b/package/crds/waf.aws.upbound.io_geomatchsets.yaml index 41196faf45..c0a192c15f 100644 --- a/package/crds/waf.aws.upbound.io_geomatchsets.yaml +++ b/package/crds/waf.aws.upbound.io_geomatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: geomatchsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -326,10 +290,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: GeoMatchSetStatus defines the observed state of GeoMatchSet. properties: diff --git a/package/crds/waf.aws.upbound.io_ipsets.yaml b/package/crds/waf.aws.upbound.io_ipsets.yaml index 122c1b1d7a..2b644e466c 100644 --- a/package/crds/waf.aws.upbound.io_ipsets.yaml +++ b/package/crds/waf.aws.upbound.io_ipsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ipsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -188,42 +188,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -322,10 +286,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: IPSetStatus defines the observed state of IPSet. properties: diff --git a/package/crds/waf.aws.upbound.io_ratebasedrules.yaml b/package/crds/waf.aws.upbound.io_ratebasedrules.yaml index 774745290f..12add7fd96 100644 --- a/package/crds/waf.aws.upbound.io_ratebasedrules.yaml +++ b/package/crds/waf.aws.upbound.io_ratebasedrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ratebasedrules.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -314,42 +314,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -448,22 +412,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: metricName is a required parameter + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: rateKey is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.rateKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rateKey) - || has(self.initProvider.rateKey)' - - message: rateLimit is a required parameter + || (has(self.initProvider) && has(self.initProvider.rateKey))' + - message: spec.forProvider.rateLimit is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rateLimit) - || has(self.initProvider.rateLimit)' + || (has(self.initProvider) && has(self.initProvider.rateLimit))' status: description: RateBasedRuleStatus defines the observed state of RateBasedRule. properties: diff --git a/package/crds/waf.aws.upbound.io_regexmatchsets.yaml b/package/crds/waf.aws.upbound.io_regexmatchsets.yaml index 1e4b4d54fc..400a086d7a 100644 --- a/package/crds/waf.aws.upbound.io_regexmatchsets.yaml +++ b/package/crds/waf.aws.upbound.io_regexmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regexmatchsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -439,10 +403,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RegexMatchSetStatus defines the observed state of RegexMatchSet. properties: diff --git a/package/crds/waf.aws.upbound.io_regexpatternsets.yaml b/package/crds/waf.aws.upbound.io_regexpatternsets.yaml index 2b73d725b2..0008ca31df 100644 --- a/package/crds/waf.aws.upbound.io_regexpatternsets.yaml +++ b/package/crds/waf.aws.upbound.io_regexpatternsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regexpatternsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,10 +268,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RegexPatternSetStatus defines the observed state of RegexPatternSet. properties: diff --git a/package/crds/waf.aws.upbound.io_rules.yaml b/package/crds/waf.aws.upbound.io_rules.yaml index a75809cba9..5d08a5c151 100644 --- a/package/crds/waf.aws.upbound.io_rules.yaml +++ b/package/crds/waf.aws.upbound.io_rules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rules.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -300,42 +300,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -434,14 +398,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: metricName is a required parameter + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RuleStatus defines the observed state of Rule. properties: diff --git a/package/crds/waf.aws.upbound.io_sizeconstraintsets.yaml b/package/crds/waf.aws.upbound.io_sizeconstraintsets.yaml index 918de3d999..ef8fa82b50 100644 --- a/package/crds/waf.aws.upbound.io_sizeconstraintsets.yaml +++ b/package/crds/waf.aws.upbound.io_sizeconstraintsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sizeconstraintsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -382,10 +346,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SizeConstraintSetStatus defines the observed state of SizeConstraintSet. properties: diff --git a/package/crds/waf.aws.upbound.io_sqlinjectionmatchsets.yaml b/package/crds/waf.aws.upbound.io_sqlinjectionmatchsets.yaml index a93c6d0a8c..c22537747c 100644 --- a/package/crds/waf.aws.upbound.io_sqlinjectionmatchsets.yaml +++ b/package/crds/waf.aws.upbound.io_sqlinjectionmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sqlinjectionmatchsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -230,42 +230,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -364,10 +328,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SQLInjectionMatchSetStatus defines the observed state of SQLInjectionMatchSet. diff --git a/package/crds/waf.aws.upbound.io_webacls.yaml b/package/crds/waf.aws.upbound.io_webacls.yaml index 8403312c5f..eed78a6d7f 100644 --- a/package/crds/waf.aws.upbound.io_webacls.yaml +++ b/package/crds/waf.aws.upbound.io_webacls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: webacls.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -514,42 +514,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -648,18 +612,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: defaultAction is a required parameter + - message: spec.forProvider.defaultAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultAction) - || has(self.initProvider.defaultAction)' - - message: metricName is a required parameter + || (has(self.initProvider) && has(self.initProvider.defaultAction))' + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: WebACLStatus defines the observed state of WebACL. properties: diff --git a/package/crds/waf.aws.upbound.io_xssmatchsets.yaml b/package/crds/waf.aws.upbound.io_xssmatchsets.yaml index ce974d1a10..28f6327723 100644 --- a/package/crds/waf.aws.upbound.io_xssmatchsets.yaml +++ b/package/crds/waf.aws.upbound.io_xssmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: xssmatchsets.waf.aws.upbound.io spec: group: waf.aws.upbound.io @@ -226,42 +226,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -360,10 +324,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: XSSMatchSetStatus defines the observed state of XSSMatchSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_bytematchsets.yaml b/package/crds/wafregional.aws.upbound.io_bytematchsets.yaml index 4c02ce02f8..2ef0eb287d 100644 --- a/package/crds/wafregional.aws.upbound.io_bytematchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_bytematchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: bytematchsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -232,42 +232,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -366,10 +330,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: ByteMatchSetStatus defines the observed state of ByteMatchSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_geomatchsets.yaml b/package/crds/wafregional.aws.upbound.io_geomatchsets.yaml index bb4f71a4ae..a1885e1d8a 100644 --- a/package/crds/wafregional.aws.upbound.io_geomatchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_geomatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: geomatchsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -192,42 +192,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -326,10 +290,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: GeoMatchSetStatus defines the observed state of GeoMatchSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_ipsets.yaml b/package/crds/wafregional.aws.upbound.io_ipsets.yaml index 76ee0d21c5..798ca45adf 100644 --- a/package/crds/wafregional.aws.upbound.io_ipsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_ipsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ipsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -186,42 +186,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -320,10 +284,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: IPSetStatus defines the observed state of IPSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml b/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml index 0a5749df16..379d98ef00 100644 --- a/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml +++ b/package/crds/wafregional.aws.upbound.io_ratebasedrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ratebasedrules.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -316,42 +316,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -450,22 +414,22 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: metricName is a required parameter + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: rateKey is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.rateKey is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rateKey) - || has(self.initProvider.rateKey)' - - message: rateLimit is a required parameter + || (has(self.initProvider) && has(self.initProvider.rateKey))' + - message: spec.forProvider.rateLimit is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.rateLimit) - || has(self.initProvider.rateLimit)' + || (has(self.initProvider) && has(self.initProvider.rateLimit))' status: description: RateBasedRuleStatus defines the observed state of RateBasedRule. properties: diff --git a/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml b/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml index bf9ab92c3e..726009a17c 100644 --- a/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_regexmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regexmatchsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -305,42 +305,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -439,10 +403,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RegexMatchSetStatus defines the observed state of RegexMatchSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_regexpatternsets.yaml b/package/crds/wafregional.aws.upbound.io_regexpatternsets.yaml index 68dfcd0f54..0d2ecd072d 100644 --- a/package/crds/wafregional.aws.upbound.io_regexpatternsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_regexpatternsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regexpatternsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -170,42 +170,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -304,10 +268,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RegexPatternSetStatus defines the observed state of RegexPatternSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_rules.yaml b/package/crds/wafregional.aws.upbound.io_rules.yaml index fbd3c187ce..d2d17a3aca 100644 --- a/package/crds/wafregional.aws.upbound.io_rules.yaml +++ b/package/crds/wafregional.aws.upbound.io_rules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: rules.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -288,42 +288,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -422,14 +386,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: metricName is a required parameter + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: RuleStatus defines the observed state of Rule. properties: diff --git a/package/crds/wafregional.aws.upbound.io_sizeconstraintsets.yaml b/package/crds/wafregional.aws.upbound.io_sizeconstraintsets.yaml index 4c4fe56a41..45488569b6 100644 --- a/package/crds/wafregional.aws.upbound.io_sizeconstraintsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_sizeconstraintsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sizeconstraintsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -248,42 +248,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -382,10 +346,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SizeConstraintSetStatus defines the observed state of SizeConstraintSet. properties: diff --git a/package/crds/wafregional.aws.upbound.io_sqlinjectionmatchsets.yaml b/package/crds/wafregional.aws.upbound.io_sqlinjectionmatchsets.yaml index 44865c0a84..a6b42ad8ca 100644 --- a/package/crds/wafregional.aws.upbound.io_sqlinjectionmatchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_sqlinjectionmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: sqlinjectionmatchsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -229,42 +229,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -363,10 +327,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: SQLInjectionMatchSetStatus defines the observed state of SQLInjectionMatchSet. diff --git a/package/crds/wafregional.aws.upbound.io_webacls.yaml b/package/crds/wafregional.aws.upbound.io_webacls.yaml index 3c8c1c50b1..6adcb17e45 100644 --- a/package/crds/wafregional.aws.upbound.io_webacls.yaml +++ b/package/crds/wafregional.aws.upbound.io_webacls.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: webacls.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -538,42 +538,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -672,18 +636,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: defaultAction is a required parameter + - message: spec.forProvider.defaultAction is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.defaultAction) - || has(self.initProvider.defaultAction)' - - message: metricName is a required parameter + || (has(self.initProvider) && has(self.initProvider.defaultAction))' + - message: spec.forProvider.metricName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.metricName) - || has(self.initProvider.metricName)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.metricName))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: WebACLStatus defines the observed state of WebACL. properties: diff --git a/package/crds/wafregional.aws.upbound.io_xssmatchsets.yaml b/package/crds/wafregional.aws.upbound.io_xssmatchsets.yaml index 7861aef508..0dd2d1ef5e 100644 --- a/package/crds/wafregional.aws.upbound.io_xssmatchsets.yaml +++ b/package/crds/wafregional.aws.upbound.io_xssmatchsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: xssmatchsets.wafregional.aws.upbound.io spec: group: wafregional.aws.upbound.io @@ -218,42 +218,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -352,10 +316,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: XSSMatchSetStatus defines the observed state of XSSMatchSet. properties: diff --git a/package/crds/wafv2.aws.upbound.io_ipsets.yaml b/package/crds/wafv2.aws.upbound.io_ipsets.yaml index 414ce0e0d9..1fd26fc6eb 100644 --- a/package/crds/wafv2.aws.upbound.io_ipsets.yaml +++ b/package/crds/wafv2.aws.upbound.io_ipsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ipsets.wafv2.aws.upbound.io spec: group: wafv2.aws.upbound.io @@ -208,42 +208,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -342,18 +306,18 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: ipAddressVersion is a required parameter + - message: spec.forProvider.ipAddressVersion is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.ipAddressVersion) - || has(self.initProvider.ipAddressVersion)' - - message: name is a required parameter + || (has(self.initProvider) && has(self.initProvider.ipAddressVersion))' + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: scope is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.scope is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scope) - || has(self.initProvider.scope)' + || (has(self.initProvider) && has(self.initProvider.scope))' status: description: IPSetStatus defines the observed state of IPSet. properties: diff --git a/package/crds/wafv2.aws.upbound.io_regexpatternsets.yaml b/package/crds/wafv2.aws.upbound.io_regexpatternsets.yaml index 4326051fd4..a032223528 100644 --- a/package/crds/wafv2.aws.upbound.io_regexpatternsets.yaml +++ b/package/crds/wafv2.aws.upbound.io_regexpatternsets.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: regexpatternsets.wafv2.aws.upbound.io spec: group: wafv2.aws.upbound.io @@ -214,42 +214,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -348,14 +312,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' - - message: scope is a required parameter + || (has(self.initProvider) && has(self.initProvider.name))' + - message: spec.forProvider.scope is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.scope) - || has(self.initProvider.scope)' + || (has(self.initProvider) && has(self.initProvider.scope))' status: description: RegexPatternSetStatus defines the observed state of RegexPatternSet. properties: diff --git a/package/crds/workspaces.aws.upbound.io_directories.yaml b/package/crds/workspaces.aws.upbound.io_directories.yaml index 3dc5445cda..64af09236e 100644 --- a/package/crds/workspaces.aws.upbound.io_directories.yaml +++ b/package/crds/workspaces.aws.upbound.io_directories.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: directories.workspaces.aws.upbound.io spec: group: workspaces.aws.upbound.io @@ -603,42 +603,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret diff --git a/package/crds/workspaces.aws.upbound.io_ipgroups.yaml b/package/crds/workspaces.aws.upbound.io_ipgroups.yaml index 080dcd1595..e64528dd9d 100644 --- a/package/crds/workspaces.aws.upbound.io_ipgroups.yaml +++ b/package/crds/workspaces.aws.upbound.io_ipgroups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: ipgroups.workspaces.aws.upbound.io spec: group: workspaces.aws.upbound.io @@ -202,42 +202,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -336,10 +300,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: name is a required parameter + - message: spec.forProvider.name is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.name) - || has(self.initProvider.name)' + || (has(self.initProvider) && has(self.initProvider.name))' status: description: IPGroupStatus defines the observed state of IPGroup. properties: diff --git a/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml b/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml index 8c18a0fc4b..3e42bae1e3 100644 --- a/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml +++ b/package/crds/xray.aws.upbound.io_encryptionconfigs.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: encryptionconfigs.xray.aws.upbound.io spec: group: xray.aws.upbound.io @@ -236,42 +236,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -370,10 +334,10 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: type is a required parameter + - message: spec.forProvider.type is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.type) - || has(self.initProvider.type)' + || (has(self.initProvider) && has(self.initProvider.type))' status: description: EncryptionConfigStatus defines the observed state of EncryptionConfig. properties: diff --git a/package/crds/xray.aws.upbound.io_groups.yaml b/package/crds/xray.aws.upbound.io_groups.yaml index a0d071db85..ad38877a75 100644 --- a/package/crds/xray.aws.upbound.io_groups.yaml +++ b/package/crds/xray.aws.upbound.io_groups.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: groups.xray.aws.upbound.io spec: group: xray.aws.upbound.io @@ -202,42 +202,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -336,14 +300,14 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: filterExpression is a required parameter + - message: spec.forProvider.filterExpression is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.filterExpression) - || has(self.initProvider.filterExpression)' - - message: groupName is a required parameter + || (has(self.initProvider) && has(self.initProvider.filterExpression))' + - message: spec.forProvider.groupName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.groupName) - || has(self.initProvider.groupName)' + || (has(self.initProvider) && has(self.initProvider.groupName))' status: description: GroupStatus defines the observed state of Group. properties: diff --git a/package/crds/xray.aws.upbound.io_samplingrules.yaml b/package/crds/xray.aws.upbound.io_samplingrules.yaml index 4a71b73b67..726e6a2e53 100644 --- a/package/crds/xray.aws.upbound.io_samplingrules.yaml +++ b/package/crds/xray.aws.upbound.io_samplingrules.yaml @@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1 kind: CustomResourceDefinition metadata: annotations: - controller-gen.kubebuilder.io/version: v0.12.1 + controller-gen.kubebuilder.io/version: v0.13.0 name: samplingrules.xray.aws.upbound.io spec: group: xray.aws.upbound.io @@ -246,42 +246,6 @@ spec: required: - name type: object - providerRef: - description: 'ProviderReference specifies the provider that will be - used to create, observe, update, and delete this managed resource. - Deprecated: Please use ProviderConfigReference, i.e. `providerConfigRef`' - properties: - name: - description: Name of the referenced object. - type: string - policy: - description: Policies for referencing. - properties: - resolution: - default: Required - description: Resolution specifies whether resolution of this - reference is required. The default is 'Required', which - means the reconcile will fail if the reference cannot be - resolved. 'Optional' means this reference will be a no-op - if it cannot be resolved. - enum: - - Required - - Optional - type: string - resolve: - description: Resolve specifies when this reference should - be resolved. The default is 'IfNotPresent', which will attempt - to resolve the reference only when the corresponding field - is not present. Use 'Always' to resolve the reference on - every reconcile. - enum: - - Always - - IfNotPresent - type: string - type: object - required: - - name - type: object publishConnectionDetailsTo: description: PublishConnectionDetailsTo specifies the connection secret config which contains a name, metadata and a reference to secret @@ -380,46 +344,46 @@ spec: - forProvider type: object x-kubernetes-validations: - - message: fixedRate is a required parameter + - message: spec.forProvider.fixedRate is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.fixedRate) - || has(self.initProvider.fixedRate)' - - message: host is a required parameter + || (has(self.initProvider) && has(self.initProvider.fixedRate))' + - message: spec.forProvider.host is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.host) - || has(self.initProvider.host)' - - message: httpMethod is a required parameter + || (has(self.initProvider) && has(self.initProvider.host))' + - message: spec.forProvider.httpMethod is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.httpMethod) - || has(self.initProvider.httpMethod)' - - message: priority is a required parameter + || (has(self.initProvider) && has(self.initProvider.httpMethod))' + - message: spec.forProvider.priority is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.priority) - || has(self.initProvider.priority)' - - message: reservoirSize is a required parameter + || (has(self.initProvider) && has(self.initProvider.priority))' + - message: spec.forProvider.reservoirSize is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.reservoirSize) - || has(self.initProvider.reservoirSize)' - - message: resourceArn is a required parameter + || (has(self.initProvider) && has(self.initProvider.reservoirSize))' + - message: spec.forProvider.resourceArn is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.resourceArn) - || has(self.initProvider.resourceArn)' - - message: serviceName is a required parameter + || (has(self.initProvider) && has(self.initProvider.resourceArn))' + - message: spec.forProvider.serviceName is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceName) - || has(self.initProvider.serviceName)' - - message: serviceType is a required parameter + || (has(self.initProvider) && has(self.initProvider.serviceName))' + - message: spec.forProvider.serviceType is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.serviceType) - || has(self.initProvider.serviceType)' - - message: urlPath is a required parameter + || (has(self.initProvider) && has(self.initProvider.serviceType))' + - message: spec.forProvider.urlPath is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.urlPath) - || has(self.initProvider.urlPath)' - - message: version is a required parameter + || (has(self.initProvider) && has(self.initProvider.urlPath))' + - message: spec.forProvider.version is a required parameter rule: '!(''*'' in self.managementPolicies || ''Create'' in self.managementPolicies || ''Update'' in self.managementPolicies) || has(self.forProvider.version) - || has(self.initProvider.version)' + || (has(self.initProvider) && has(self.initProvider.version))' status: description: SamplingRuleStatus defines the observed state of SamplingRule. properties: