Joe Y ☕️ · @joeyjr
4 followers · 40 posts · Server mastodon.online

Alright 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. 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 #Java #configmap

Last updated 3 years ago

Joe Y ☕️ · @joeyjr
4 followers · 40 posts · Server mastodon.online

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 delete the file when the pod's stopped? Or maybe have the project handling the configs forego & write to NFS instead? 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

Last updated 3 years ago