Skip to content

Commit

Permalink
fix(main): SecretSyncController split namespaces (#1400)
Browse files Browse the repository at this point in the history
* fix(main): SecretSyncController split namespaces

* docs(CHANGELOG): bug fix entry
  • Loading branch information
aGallea authored Sep 10, 2024
1 parent 60a9949 commit 08585c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG/CHANGELOG-1.20.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,5 @@ Changelog for the K8ssandra Operator, new PRs should update the `unreleased` sec
When cutting a new release, update the `unreleased` heading to the tag being generated and date, like `## vX.Y.Z - YYYY-MM-DD` and create a new placeholder section for `unreleased` entries.

## unreleased

* [BUGFIX] [#1399](https://github.com/k8ssandra/k8ssandra-operator/issues/1399) Fixed SecretSyncController to handle multiple namespaces
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ func main() {
if err = (&replicationctrl.SecretSyncController{
ReconcilerConfig: reconcilerConfig,
ClientCache: clientCache,
WatchNamespaces: []string{watchNamespace},
WatchNamespaces: strings.Split(watchNamespace, ","),
}).SetupWithManager(mgr, additionalClusters, setupLog); err != nil {
setupLog.Error(err, "unable to create controller", "controller", "SecretSync")
os.Exit(1)
Expand Down

0 comments on commit 08585c3

Please sign in to comment.