Skip to content

Watch settings

Timothee Gosselin requested to merge watch-settings into master

Add logic for watching secret and configmap on which the resource depends on. Owner ref is added to secrets and configmaps. Controller watches secret and configmap and trigger the reconcile if those have owner references. A finalizer is added to the owner resource that cleans up the owner references from the dependant resources An hash of the settings data is mounted as envVar in the linked container triggerring a restart when the resources are updated. If a resources is not watched anymore, the owner reference is removed

Merge request reports