Alright #ConfigMap deployments done earlier today. These ones still follow Properties format.
Fun fact. The key/value pairs can actually be separated by, ":". As in, foo : bar. Yup, that's right. Most people use, foo = bar, instead. #Java Properties util class supports both.
Anyway, next release should have that converted to YAML formatting. But not before the release update for the app that will consume these ConfigMaps are in Prod, to see if it's working normally.
#lifeOfADev
Thought of storing the app config on a persistent volume like NFS. There's one provisioned. Not sure if it'll work if the pod gets started/stopped often. Fail if file exists? Does #OpenShift delete the file when the pod's stopped? Or maybe have the project handling the configs forego #ConfigMap & write to NFS instead? #SpringBoot can pick it up on next run, since NFS is auto attached. But having to write code for r/w, not to mention, dir segregation for Test, Prod, etc is gonna be a hassle. 😁
#SpringBoot #configmap #openshift