Too Long; Didn't Read
The high-level flow is: Dockerize the Angular app, create a template for nginx configurations.Configure the Deployment yaml file and create a nginx configuration file template. Add a command to the deployment yaml to bind the environment variable to the nginx server config. The command is this, ["/bin/sh", "-c", "envsubst "$${API_GW_PASS}" < /etc/nginx/nginx.conf.conf.
Share Your Thoughts