Skip to content

Commit

Permalink
deleting rack-id from global config namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmayja committed May 7, 2024
1 parent c0a4f5c commit aa5ad48
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/v1/aerospikecluster_mutating_webhook.go
Original file line number Diff line number Diff line change
Expand Up @@ -411,6 +411,8 @@ func setDefaultNsConf(asLog logr.Logger, configSpec AerospikeConfigSpec,
err,
)
}
} else {
delete(nsMap, "rack-id")
}
} else {
// User may have added this key or may have patched object with new smaller rackEnabledNamespace list
Expand Down

0 comments on commit aa5ad48

Please sign in to comment.