runnables

package
v2.0.0-...-7b710ec Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RunnableSet = wire.NewSet(
	ProvideRunnables,
)

Functions

This section is empty.

Types

type PodMonitor

type PodMonitor struct {
	Logger logr.Logger
	Client client.Client
	Cfg    *config.OperatorConfig
}

PodMonitor is responsible for deleting failing auth checker pods. Why authchecker? If you have an partial uninstall, for example, just delete and recreate a SA. The tokens originally associated to that SA are invalidated but the pods don't realize that and start throwing errors. Restarting the pod doesn't work because it doesn't get a new token on just a restart. The pod has to be deleted. Authchecker detects this scenario and deletes the pod for you.

func (*PodMonitor) Reconcile

func (a *PodMonitor) Reconcile(ctx context.Context, req reconcile.Request) (reconcile.Result, error)

func (*PodMonitor) SetupWithManager

func (a *PodMonitor) SetupWithManager(mgr ctrl.Manager) error

type Runnables

type Runnables []manager.Runnable

func ProvideRunnables

func ProvideRunnables() Runnables

DEPRECATED remove this

Jump to

Keyboard shortcuts

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