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