Skip to content

Enhancement: discrete CRD / CR creation install phases #6496

Closed
@grokspawn

Description

@grokspawn

log.Print("Creating CRDs and resources")
if err := c.DoCreate(ctx, objs...); err != nil {
return nil, fmt.Errorf("failed to create CRDs and resources: %v", err)
}

Enhance to have separate CRD installation phase and CR creation phase. As currently sorted, the order of the objects created will already respect this sequence, but it would be nice to separate them out for auditing, error handling, etc.

Referred to in #6490 (review)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueDenotes an issue ready for a new contributor, according to the "help wanted" guidelines.help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/featureCategorizes issue or PR as related to a new feature.language/goIssue is related to a Go operator projectlifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions