For ease of development, it may sometimes be the case that your development images exist on an internal registry that either does not support https or does so with an invalid certificate. Normally, this prevents kotsadm from checking or pulling these images - causing licenses to fail to load.
FOR DEVELOPMENT ONLY, you can set an environment variable within the kotsadm-api deployment to disable the requirement for https and allow connecting over http or with invalid certificates.
This environment variable -
KOTSADM_INSECURE_SRCREGISTRY - must be set to the literal string
true within the
kotsadm-api deployment for the insecure behavior to be enabled.
This requires the use of Kotsadm 1.10.3 or higher.