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
Click to show internal directories.
Click to hide internal directories.