redeployment

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedeployLabel = "security.plural.sh/inject-oauth-sidecar"
)

Annotations used by the oauthinjector_webhook operator

Variables

This section is empty.

Functions

func RedeployLabelSelector

func RedeployLabelSelector() (labels.Selector, error)

Types

type Service

type Service interface {
	// IsControlled checks if secret should be controlled by the
	// redeployment operator.
	IsControlled() bool

	// DeletePods deletes all matching pods
	DeletePods() error
}

Service is a redeployment operator service that simplifies the process of finding the application that uses a Resource and triggering a rollout restart of the application in order to be able to always use the latest config values without having to manually restart the application after every change.

func NewSecretService added in v0.4.0

func NewSecretService(client ctrclient.Client, secret *corev1.Secret) (Service, error)

Jump to

Keyboard shortcuts

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