-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
Hi, any chance we can make the pod init-image configurable? Maybe readable from an env variable?
Today is hard-coded to ghcr.io/srl-labs/init-wait:latest, but ghcr.io might not be accessible in highly controlled environments where container images are hosted in private repositories. Thanks!
controllers/srlinux_controller.go
const (
// ...
initContainerName = "ghcr.io/srl-labs/init-wait:latest"
)controllers/pod.go
func createInitContainers(s *srlinuxv1.Srlinux) []corev1.Container {
return []corev1.Container{{
Name: fmt.Sprintf("init-%s", s.Name),
Image: initContainerName,
// ...
}}
}Metadata
Metadata
Assignees
Labels
No labels