Postprovisioning of an XR
After performing CRUD operations over a claim or XR resource, the following are some critical aspects to bring the API request to a close:
- Readiness check
- Patch status
- Propagating the credentials back
Let’s start with learning about readiness checks.
Readiness check
The XR state will be ready by default when all the underlying resources are ready. Every resource element in the composition can define its custom readiness logic. Let’s look at a few of the custom readiness check configurations. If you want to match one of the composing resource status fields to a predefined string, use MatchString
. A sample configuration for MatchString
is as follows:
- type: MatchString
fieldPath: status.atProvider.state
matchString: "Online"
MatchInteger
will perform a similar function when two integers are matched. The following sample configuration will check the state
attribute with...