-
I run
ng buildon jenkins and then build a docker image from the workspace on jenkins. -
I deploy to kubernetes using a helm chart
But there is a url in our styles.scss file (which ends up in the styles[HASH].css file after ng build). The url is supposed to point to a microservice on the same kubernetes cluster so needs to be configurable.
I don't want to replace this before building because we want to be able to reuse the image which is built for each release for different deployments.
What can I do? Run a script after deployment that just runs a replace in the styles[HASH].css file?