When deploying a Kubernetes cluster with konvoy in an air-gapped environment, specifically when adding docker images to the docker registry, with the command:
> konvoy config images seedIf the command returns the following exception:
"panic: runtime error: invalid memory address or nil pointer dereference" [signal SIGSEGV: segmentation violation code=0x1 addr=0x140 pc=0x2066a05]
The konvoy operator should check whether the cluster.yaml was created/edited with a Windows Text Editor and line-endings are terminated with a combination of a carriage return (ASCII 0x0d or \r) and a newline(\n), also referred to as CR/LF.
The file command in Linux could be useful to detect whether the cluster.yaml contains CR/LF characters.
dos2unix is one of the tools most commonly used to convert Windows text files into Unix/Linux text files.
The file command in Linux could be useful to detect whether the cluster.yaml contains CR/LF characters.
dos2unix is one of the tools most commonly used to convert Windows text files into Unix/Linux text files.