...
In deploy-to-k8s.sh, we copy .env.example and use sed to replace the template values with values for testing/production. You will need to update this part of the script with your own values. There is an example sed replacement in function substitute_manifest() in deploy-to-k8s.sh. Here, you can substitute your own Docker images for Capifcore and Service Manager for local development.
In addition there are 2 switches that are added for developer convenience.
--repo # allow you to specify your own docker repo
--env # allow you to specify an additional env file, and set SERVICE_MANAGER_ENV to point to this file.
`./deploy-to-k8s.sh --repo your-docker-repo-id --env ../../.env.minikube`minikube
When Service Manager starts, it reads a .env file where you can configure information such as the Kong control and data planes' host and port, the CAPIF host and port, and the Service Manager port.
...