Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PMM-13171 Add ClickHouse credentials #3646

Open
wants to merge 21 commits into
base: v3
Choose a base branch
from

Conversation

ademidoff
Copy link
Member

@ademidoff ademidoff commented Feb 13, 2025

PMM-13171

Link to the Feature Build: SUBMODULES-3847

Copy link

codecov bot commented Feb 13, 2025

Codecov Report

Attention: Patch coverage is 34.78261% with 15 lines in your changes missing coverage. Please review.

Project coverage is 43.65%. Comparing base (2caec1e) to head (6786624).
Report is 11 commits behind head on v3.

Files with missing lines Patch % Lines
managed/cmd/pmm-managed/main.go 0.00% 11 Missing ⚠️
...aged/services/telemetry/datasource_qandb_select.go 50.00% 1 Missing and 2 partials ⚠️
managed/services/ha/services.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #3646      +/-   ##
==========================================
+ Coverage   43.62%   43.65%   +0.03%     
==========================================
  Files         366      366              
  Lines       44328    44343      +15     
==========================================
+ Hits        19338    19360      +22     
+ Misses      23310    23302       -8     
- Partials     1680     1681       +1     
Flag Coverage Δ
admin 11.47% <ø> (ø)
agent 51.98% <ø> (+0.12%) ⬆️
managed 45.39% <34.78%> (+<0.01%) ⬆️
vmproxy 73.45% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ademidoff ademidoff marked this pull request as ready for review February 14, 2025 15:49
@ademidoff ademidoff requested review from a team as code owners February 14, 2025 15:49
@ademidoff ademidoff requested review from BupycHuk, idoqo and JiriCtvrtka and removed request for a team February 14, 2025 15:49
@@ -138,7 +138,7 @@
<!-- Compatibility with MySQL protocol.
ClickHouse will pretend to be MySQL for applications connecting to this port.
-->
<mysql_port>9004</mysql_port>
<!-- <mysql_port>9004</mysql_port> -->
Copy link
Member Author

Choose a reason for hiding this comment

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

We likely don't need to have that many ports open. Please review this.

Copy link
Contributor

Choose a reason for hiding this comment

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

we don't use it that way I think - so fair point.

<allow_plaintext_password>1</allow_plaintext_password>
<allow_no_password>1</allow_no_password>
<allow_implicit_no_password>1</allow_implicit_no_password>
<allow_plaintext_password>0</allow_plaintext_password>
Copy link
Member Author

Choose a reason for hiding this comment

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

This will harden security, for it was too poor before.

@@ -138,7 +138,7 @@
<!-- Compatibility with MySQL protocol.
ClickHouse will pretend to be MySQL for applications connecting to this port.
-->
<mysql_port>9004</mysql_port>
<!-- <mysql_port>9004</mysql_port> -->
Copy link
Contributor

Choose a reason for hiding this comment

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

we don't use it that way I think - so fair point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants