configuration

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// kruise configmap name
	KruiseConfigurationName = "kruise-configuration"
)
View Source
const (
	SidecarSetPatchPodMetadataWhiteListKey = "SidecarSet_PatchPodMetadata_WhiteList"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SidecarSetPatchMetadataWhiteList

type SidecarSetPatchMetadataWhiteList struct {
	Rules []SidecarSetPatchMetadataWhiteRule `json:"rules"`
}

func GetSidecarSetPatchMetadataWhiteList

func GetSidecarSetPatchMetadataWhiteList(client client.Client) (*SidecarSetPatchMetadataWhiteList, error)

type SidecarSetPatchMetadataWhiteRule

type SidecarSetPatchMetadataWhiteRule struct {
	// selector sidecarSet against labels
	// If selector is nil, assume that the rules should apply for every sidecarSets
	Selector *metav1.LabelSelector `json:"selector,omitempty"`
	// Support for regular expressions
	AllowedAnnotationKeyExprs []string `json:"allowedAnnotationKeyExprs"`
}

Jump to

Keyboard shortcuts

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