Skip to content

Commit

Permalink
Update only data of sql-exporter configmap
Browse files Browse the repository at this point in the history
  • Loading branch information
tomach committed Jul 6, 2023
1 parent c0e3bd9 commit 6a80d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Unreleased

* Bump sql_exporter to 0.11.1

* Fixed patching of sql exporter configmap.

2.30.0 (2023-06-27)
-------------------

Expand Down
2 changes: 1 addition & 1 deletion crate/operator/operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ async def update_sql_exporter_configmap(
logger,
name=name,
namespace=namespace,
body=config_map,
body={"data": config_map.data},
)
else:
warnings.warn("Cannot load or missing SQL Exporter Collector config!")
Expand Down

0 comments on commit 6a80d96

Please sign in to comment.