Add PublishConnectionDetailsTo to Managed resource spec
Signed-off-by: Hasan Turken <turkenh@gmail.com>
This commit is contained in:
parent
b19ffddf2f
commit
c55240a2a2
|
@ -136,6 +136,14 @@ type ResourceSpec struct {
|
||||||
// +optional
|
// +optional
|
||||||
WriteConnectionSecretToReference *SecretReference `json:"writeConnectionSecretToRef,omitempty"`
|
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
|
// ProviderConfigReference specifies how the provider that will be used to
|
||||||
// create, observe, update, and delete this managed resource should be
|
// create, observe, update, and delete this managed resource should be
|
||||||
// configured.
|
// configured.
|
||||||
|
|
|
@ -310,6 +310,11 @@ func (in *ResourceSpec) DeepCopyInto(out *ResourceSpec) {
|
||||||
*out = new(SecretReference)
|
*out = new(SecretReference)
|
||||||
**out = **in
|
**out = **in
|
||||||
}
|
}
|
||||||
|
if in.PublishConnectionDetailsTo != nil {
|
||||||
|
in, out := &in.PublishConnectionDetailsTo, &out.PublishConnectionDetailsTo
|
||||||
|
*out = new(PublishConnectionDetailsTo)
|
||||||
|
(*in).DeepCopyInto(*out)
|
||||||
|
}
|
||||||
if in.ProviderConfigReference != nil {
|
if in.ProviderConfigReference != nil {
|
||||||
in, out := &in.ProviderConfigReference, &out.ProviderConfigReference
|
in, out := &in.ProviderConfigReference, &out.ProviderConfigReference
|
||||||
*out = new(Reference)
|
*out = new(Reference)
|
||||||
|
|
Loading…
Reference in New Issue