Adds spec.writeConnectionSecretToRef to the API. This field accepts a string name so that later a Secret in the instance namespace can be created with the connection details. This mechanism is similar to how Crossplane handles it.
Instead of making this field Required I opted for a default that sets spec.writeConnectionSecretToRef to the same name as metadata.name if not provided.
Checklist
[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[x] PR contains the label area:operator
[x] Link this PR to related issues
[x] I have not made any changes in the charts/ directory.
Summary
spec.writeConnectionSecretToRef
to the API. This field accepts a string name so that later aSecret
in the instance namespace can be created with the connection details. This mechanism is similar to how Crossplane handles it.Required
I opted for a default that setsspec.writeConnectionSecretToRef
to the same name asmetadata.name
if not provided.Checklist
bug
,enhancement
,documentation
,change
,breaking
,dependency
as they show up in the changelogarea:operator
charts/
directory.