Documentation ¶
Index ¶
- Constants
- func EnsureConfigmap(ctx context.Context, ctrlclient client.Client, namespace string, ...) error
- func GetSidecarConfigOfPod(ctx context.Context, pod *corev1.Pod, ctrlclient client.Client) (*v1alpha1.SidecarConfig, error)
- func InjectPod(ctx context.Context, pod *corev1.Pod, ctrlclient client.Client) error
- func Match(pod *corev1.Pod, sidecarconfig *v1alpha1.SidecarConfigSpec, ...) (bool, error)
- func MatchLabelSelector(selector *metav1.LabelSelector, podLabels map[string]string) (bool, error)
- func MatchNamespace(namespace string, selector *metav1.LabelSelector, ctrlclient client.Client) (bool, error)
Constants ¶
View Source
const ( InjectAnnotationKey = "sidecarconfig.kidecar.io/inject" ConfigmapHashKey = "sidecarconfig.kidecar.io/hash" KidecarConfigmapName = "kidecar-config" HotUpdateVolume = "share-data" )
View Source
const ( EnvKidecarImage string = "KIDECAR_IMAGE" DefaultKidecarImage string = "113745426946.dkr.ecr.us-east-1.amazonaws.com/xuetaotest/kidecar:v5" )
Variables ¶
This section is empty.
Functions ¶
func EnsureConfigmap ¶
func GetSidecarConfigOfPod ¶
func MatchLabelSelector ¶
func MatchNamespace ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.