defaults

package
v0.4.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2022 License: Apache-2.0 Imports: 11 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 CreateOrUpdateDefaultNHC added in v0.3.0

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

CreateOrUpdateDefaultNHC creates the default config

Types

This section is empty.

Jump to

Keyboard shortcuts

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