Skip to content

[v2] Late-start MR controllers only when their CRD appears #6611

@negz

Description

@negz

What problem are you facing?

MRD design: https://github.com/crossplane/crossplane/blob/f5f6aac/design/one-pager-mrds.md

With the introduction of MRDs the Crossplane package manager won't create MR CRDs at provider install time. Instead they'll only be created when the MRD is activated.

We need to avoid starting MR controllers until their CRD exists, or they'll crash.

How could Crossplane help solve your problem?

Watch MR CRDs and don't start a controller until they exist.

Stopping MR controllers if/when the CRD goes away is out of scope.

POC: crossplane/upjet@33e30ba

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions