apiVersion: v1
kind: ConfigMap
metadata:
  name: registry-aliases
  namespace: kube-system
  labels:
    kubernetes.io/minikube-addons: registry-aliases
    addonmanager.kubernetes.io/mode: Reconcile
data:
  # Add additional hosts separated by new-line
  registryAliases: >-
   {{- if .RegistryAliases}}
   {{ .RegistryAliases}}
   {{- else}}
    example.org
    example.com
    test.com
    test.org
   {{- end}}
    registry.minikube
  # default registry address in minikube when enabled via minikube addons enable registry
  registrySvc: registry.kube-system.svc.cluster.local