I have Angular app building in CodeBuild and pushed to ECR where EKS is using it. In configmap I have settings.json file and my pod is looking for this file. I want to create another file named env.ts and want to pass to this file env vars from CodeBuild, like build time and so on. So pod can have access to this file. How can I pass this env to EKS configmap? Should I connect to EKS in CodeBuild pipeline? Or there is a simpler solution.
I have one idea, connect to EKS directly in a CodeBuild pipeline. But it sounds complicated.