resources

package
v0.7.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL