Description of problem: Per unit tests, given an ImageContentSourcePolicy CRD with > RepositoryDigestMirrors{ > Source: "source.example.com", > Mirrors: []string{"source.example.com"}, > } the code creating registries.conf will fail with > panic: runtime error: index out of range [recovered] > panic: runtime error: index out of range at > machine-config-operator/pkg/controller/container-runtime-config/helpers.go:309 Proposed fix is https://github.com/openshift/machine-config-operator/pull/1082 .
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:2922