defaults

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DefaultCRName is the name of default NHC resource the controller creates in case
	// there are no others already.
	DefaultCRName = "nhc-worker-default"
)

Variables

View Source
var DefaultTemplateRef = &corev1.ObjectReference{
	Kind:       "SelfNodeRemediationTemplate",
	APIVersion: "self-node-remediation.medik8s.io/v1alpha1",
	Name:       "self-node-remediation-resource-deletion-template",
}

Functions

func UpdateDefaultNHC added in v0.5.0

func UpdateDefaultNHC(cl client.Client, namespace string, log logr.Logger) error

UpdateDefaultNHC updates the default config. We do not create a default config anymore though

Types

This section is empty.

Jump to

Keyboard shortcuts

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