Versions in this module Expand all Collapse all v0 v0.1.0 Jun 7, 2024 Changes in this version + const SecretInitVolumeName + func GetBaseSecurityContext(podSecurityContext *corev1.PodSecurityContext, webhookConfig appCommon.Config) *corev1.SecurityContext + func GetDataFromConfigmap(ctx context.Context, k8sClient kubernetes.Interface, cmName string, ns string) (map[string]string, error) + func GetDataFromSecret(ctx context.Context, k8sClient kubernetes.Interface, secretName string, ...) (map[string][]byte, error) + func GetServiceAccountMount(containers []corev1.Container, serviceAccountTokenVolumeName string) (serviceAccountMount corev1.VolumeMount) + func HasTLSVolume(volumes []corev1.Volume, tlsVolumeName string) bool + func IsLogLevelSet(envVars []corev1.EnvVar) bool + func IsPodAlreadyMutated(pod *corev1.Pod) bool + func MutateConfigMapBinaryData(configMap *corev1.ConfigMap, mapData map[string]string) error + type DockerAuthConfig struct + Auth string + Email string + IdentityToken string + Password string + RegistryToken string + ServerAddress string + Username string + type DockerCredentials struct + Auths map[string]DockerAuthConfig + type Iterator <-chan element + func MapIterator(m map[string]interface{}) Iterator + func SliceIterator(s []interface{}) Iterator