Skip to content

Conversation

@andrewstucki
Copy link
Contributor

Previously there appears to be a bug with the way the config-watcher syncs users. In particular, it seems like the Kubernetes mechanism for writing out a changed secret is actually re-creating a symlink in the secrets directory that points to the mounted secret. This modifies the config watcher to leverage the recreation of that symlink event to trigger user re-sync.

@chrisseto
Copy link
Contributor

Mind adding a fix change log entry before merging?

Copy link
Contributor

@RafalKorepta RafalKorepta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, it would be nice to add test.

@andrewstucki andrewstucki merged commit da59ea5 into main Sep 11, 2025
11 checks passed
github-actions bot pushed a commit that referenced this pull request Sep 11, 2025
* Fix up configwatcher symlink re-creation

* Add changelog entries

(cherry picked from commit da59ea5)
github-actions bot pushed a commit that referenced this pull request Sep 11, 2025
* Fix up configwatcher symlink re-creation

* Add changelog entries

(cherry picked from commit da59ea5)
@github-actions
Copy link

💚 All backports created successfully

Status Branch Result
release/v2.4.x
release/v25.1.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

andrewstucki added a commit that referenced this pull request Sep 11, 2025
* Fix up configwatcher symlink re-creation

* Add changelog entries

(cherry picked from commit da59ea5)

Co-authored-by: Andrew Stucki <[email protected]>
andrewstucki added a commit that referenced this pull request Sep 11, 2025
* Fix up configwatcher symlink re-creation

* Add changelog entries

(cherry picked from commit da59ea5)

Co-authored-by: Andrew Stucki <[email protected]>
@RafalKorepta RafalKorepta deleted the as/config-watcher-fixes branch September 25, 2025 09:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants