There's a handful of smallish changes to existing KinD scripts and configuration files to make them more flexible. Changes include:
bump KinD and K8S version, make it possible to pass overrides or use default versions
deploy an insecure container registry and map its NodePort on host port 5001 (not used at the moment but we may have scenarios where we need to build a local image and push it to the container registry)
update Postgres deployment function, use the latest Helm chart version, optionally init database if the path to init file is passed
make deploy script runnable on local Mac, use tmp locations for config files (to run sed against), avoid cd to directories, modify sed command when on Mac
introduce MICS_OVERRIDES env var in which you can pass whatever --set you need
group --set overrides to avoid duplication of --set
optionally create hostPath PV and PVC (nfs server can't run on arm64 machines, so instead of nfs PV a hostPath PV is used)
create backdoor NodePort services for the deployed DC app (with sts replica name as label selector and predefined NodePort which is mapped to a host port - 81 and 82)
add additional env vars and sys props to common config to make deployed products ready for functional testing (disable welcome screen, enable insecure login etc)
add comments to common config and deploy script to explain why we need extra values and what functions are doing
There's a handful of smallish changes to existing KinD scripts and configuration files to make them more flexible. Changes include:
--set
you need--set
overrides to avoid duplication of--set