see migration
export POSTGRES_HOST=localhost
export POSTGRES_USER=tdf_entitlement_manager
export POSTGRES_PASSWORD=myPostgresPassword
export POSTGRES_DATABASE=tdf_database
export POSTGRES_SCHEMA=tdf_entitlement
export SERVER_LOG_LEVEL=DEBUG
cd containers
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install --upgrade pip
python3 -m pip install --requirement entitlements/requirements.txt
python3 -m uvicorn containers.entitlements.main:app --reload --port 4030
./scripts/openapi-generator
# from project root
docker build --no-cache --tag opentdf/entitlements:0.2.0 entitlements
kubectl create secret generic entitlements-secrets --from-literal=POSTGRES_PASSWORD=myPostgresPassword
# from project root
helm upgrade --install entitlements ./charts/entitlements --debug