OpenLiberty / open-liberty-operator

Eclipse Public License 2.0
28 stars 36 forks source link

Monitor user-specified set of secrets and configmaps and restart app/pod upon change #616

Open leochr opened 2 weeks ago

leochr commented 2 weeks ago

In some scenarios the pods/server would need to be restarted to trigger the processing of the changed artifacts (i.e. loading certs/key)

Add support to monitor certain secret/configmap (within Operator's RBAC) resources and upon changes, recycle the pods to force server restart.

An open-source project for reference that supports something similar: https://github.com/stakater/Reloader