Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify claiming-existing-composite-resources: CompositeAlreadyBoundError #784

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions content/master/concepts/claims.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ If you don't use namespaces in your Kubernetes deployment Claims aren't necessar
### Claiming existing composite resources

By default, creating a Claim creates a new composite resource. Claims can also
link to existing composite resources.
link to existing composite resources (if not yet referencing a claim).

A use case for claiming existing composite resources may be slow to provision
resources. Composite resources can be pre-provisioned and a Claim can
Expand All @@ -164,6 +164,10 @@ If a Claim specifies a
{{<hover label="resourceref" line="6">}}resourceRef{{</hover>}} that doesn't
exist, Crossplane doesn't create a composite resource.

If a new Claim specifies a
{{<hover label="resourceref" line="6">}}resourceRef{{</hover>}} of a composite which is already referenced by another existing claim, then the new Claim will fail with a `CompositeAlreadyBoundError`.


{{<hint "note" >}}
All Claims have a
{{<hover label="resourceref" line="6">}}resourceRef{{</hover>}}. Manually
Expand All @@ -174,6 +178,8 @@ isn't required. Crossplane fills in the
with the information from the composite resource created for the Claim.
{{< /hint >}}



## Claim connection secrets

If a Claim expects connection secrets the Claim must define a
Expand Down Expand Up @@ -204,4 +210,4 @@ spec:
name: my-claim-secret
```

For more information on connection secrets read the [Connection Secrets knowledge base article]({{<ref "connection-details">}}).
For more information on connection secrets read the [Connection Secrets knowledge base article]({{<ref "connection-details">}}).
Loading