Documentation
¶
Overview ¶
Package resources provides resource factories for the grace-inconsistency example.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseDeployment ¶
func BaseDeployment(owner *app.ExampleApp) *appsv1.Deployment
BaseDeployment returns the desired-state Deployment for the monitoring sidecar.
func NewDeploymentResource ¶
func NewDeploymentResource(owner *app.ExampleApp) (component.Resource, error)
NewDeploymentResource constructs a Deployment with a custom grace handler that always returns Healthy, regardless of replica readiness.
This is useful for soft-dependency resources like a monitoring sidecar: if it has not converged yet, the operator still considers the component healthy rather than blocking on it.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.