Documentation ¶
Index ¶
- func ConfigurePodConfigSecurityContext(podConfig *util.PodConfig, securityContextsMap map[string]api.SecurityContext, ...)
- func GenerateImageTag(defaultImage string, imageRegistries []string, ...) string
- func GetSecurityContext(securityContextsMap map[string]api.SecurityContext, securityContextID string) *api.SecurityContext
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigurePodConfigSecurityContext ¶
func ConfigurePodConfigSecurityContext(podConfig *util.PodConfig, securityContextsMap map[string]api.SecurityContext, securityContextID string, isOpenshift bool)
ConfigurePodConfigSecurityContext configures the Security Context values into the PodConfig if the securityContext for the 'securityContextID' is in 'securityContextsMap' then it's values are set otherwise FSGID is set to 0 for Kubernetes
func GenerateImageTag ¶
func GenerateImageTag(defaultImage string, imageRegistries []string, registryConfig *api.RegistryConfiguration) string
GenerateImageTag return the final image after evaluating the registry configuration and the list of images
func GetSecurityContext ¶
func GetSecurityContext(securityContextsMap map[string]api.SecurityContext, securityContextID string) *api.SecurityContext
GetSecurityContext returns the security context if it exists in 'securityContextsMap'
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.