webhook

package
v0.19.6 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2022 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

View Source
const PodImageOverridesAdmissionWebhookName = "pod-image-overrides.kurl.sh"
View Source
const RookPriorityAdmissionWebhookName = "rook-priority.kurl.sh"
View Source
const WebhookServiceName = "ekco"

Variables

This section is empty.

Functions

func RemovePodImageOverrides added in v0.12.0

func RemovePodImageOverrides(client kubernetes.Interface) error

func RemoveRookPriority added in v0.12.0

func RemoveRookPriority(client kubernetes.Interface) error

RemoveRookPriority removes a legacy webhook used with Rook 1.0.4 and KURL to adjust the priority class.

Types

type Server

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

func NewServer

func NewServer(client kubernetes.Interface, namespace string, rookPriorityClass string, podImageOverrides map[string]string, log *zap.SugaredLogger) (*Server, error)

func (*Server) Run

func (s *Server) Run()

Jump to

Keyboard shortcuts

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