I have a kubernetes deployment script as a template for project deployment. But I have different project for this script and each project need a new namespace and annotation and environment variable.
Now I create properties file for each project and write a shell script that when I deploy the project, the properties of this project will replace the variable in the template and then deploy this deployment scriplt. As below
minReplicas: ${HYBRIS_MIN_REPLICA}
maxReplicas: ${HYBRIS_MAX_REPLICA}
hybris.scaler.replica.max=3
hybris.scaler.replica.min=2
Do we have any good ways to implement such things for custom the kubernetes script as a template