diff --git a/apis/common/v1/resource.go b/apis/common/v1/resource.go index 0ee323d..1b3b39d 100644 --- a/apis/common/v1/resource.go +++ b/apis/common/v1/resource.go @@ -136,6 +136,14 @@ type ResourceSpec struct { // +optional WriteConnectionSecretToReference *SecretReference `json:"writeConnectionSecretToRef,omitempty"` + // PublishConnectionDetailsTo specifies the connection secret config which + // contains a name, metadata and a reference to secret store config to + // which any connection details for this managed resource should be written. + // Connection details frequently include the endpoint, username, + // and password required to connect to the managed resource. + // +optional + PublishConnectionDetailsTo *PublishConnectionDetailsTo `json:"publishConnectionDetailsTo,omitempty"` + // ProviderConfigReference specifies how the provider that will be used to // create, observe, update, and delete this managed resource should be // configured. diff --git a/apis/common/v1/zz_generated.deepcopy.go b/apis/common/v1/zz_generated.deepcopy.go index 9ed477c..d7cae60 100644 --- a/apis/common/v1/zz_generated.deepcopy.go +++ b/apis/common/v1/zz_generated.deepcopy.go @@ -310,6 +310,11 @@ func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) { *out = new(SecretReference) **out = **in } + if in.PublishConnectionDetailsTo != nil { + in, out := &in.PublishConnectionDetailsTo, &out.PublishConnectionDetailsTo + *out = new(PublishConnectionDetailsTo) + (*in).DeepCopyInto(*out) + } if in.ProviderConfigReference != nil { in, out := &in.ProviderConfigReference, &out.ProviderConfigReference *out = new(Reference)