hook

package
v0.41.6 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LabelIgnoreHook

type LabelIgnoreHook struct {
	// contains filtered or unexported fields
}

LabelIgnoreHook prevents certain resource getting updated, if only their version labels have changed. This is needed in order to update components like evictor with it's own cluster scoped resources like clusterrole. Cluster controller can't update these rbac resource since it lacks permissions (unless user configures cluster-admin role).

func NewLabelIgnoreHook

func NewLabelIgnoreHook(kubeClient kube.Interface, oldRelease *release.Release) *LabelIgnoreHook

func (*LabelIgnoreHook) Run

func (l *LabelIgnoreHook) Run(renderedManifests *bytes.Buffer) (*bytes.Buffer, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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