The Lieutenant API is meant to be deployed on a Kubernetes cluster. It needs to be the same cluster it uses as a back end to store the CRs.
The Lieutenant Operator needs to be deployed on the cluster and with it the accompanying CRDs. Make sure the operator watches objects in the namespace where the API is being deployed.
You can find a Kustomize setup for a deployment in the
deploy/ folder. A role and service account will be created for the API. The
Tenant CRs will be stored in the same namespace as the API is deployed.
kubectl create ns $namespace kubectl -n $namespace apply -k github.com/projectsyn/lieutenant-api/deploy
See the Configuration reference for available configuration options.
And please note the hints for GitLab configuration.