Skip to content

Implement pkg/runtime helpers #322

@hiddeco

Description

@hiddeco

As part of the refactor work to set out some standards for the controllers that are part of the Flux family, the pkg/runtime helpers and interfaces should be implemented to work with the conditions, metrics and events recorded for HelmRelease resources.

In short, (at least) the following should be implemented:

  • HelmRelease should implement the interfaces from conditions, and use this package to work with conditions.
  • HelmReleaseReconciler should implement the helpers from controller, and use these to record Events and Metrics.
  • HelmReleaseReconciler should exit early without recording any status when .spec.suspend is defined.
  • The patch package should be implemented to (safely) patch resources without running into conflicts.
  • The kstatus Reconciling and Stalled conditions should be properly implemented to provide better signals.

More examples can be found at:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions