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

Update TLS to support custom secret namespaces #1797

Merged
merged 3 commits into from
Dec 18, 2024

Conversation

amimof
Copy link
Contributor

@amimof amimof commented Dec 17, 2024

  • Modified tls.go to dynamically set the secret namespace based on the CertSecretRef.Namespace

These changes were made to support the use of TLS secrets in different namespaces, which is important for multi-tenant environments.

- Modified `tls.go` to dynamically set the secret namespace based on the `CertSecretRef.Namespace`

These changes were made to support the use of TLS secrets in different namespaces, which is important for multi-tenant environments.
Copy link
Member

@theSuess theSuess left a comment

Choose a reason for hiding this comment

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

Good catch, I just have one small style preference correction. Looks good to me otherwise

@amimof
Copy link
Contributor Author

amimof commented Dec 18, 2024

Awesome, I did the changes you suggested

@theSuess theSuess enabled auto-merge December 18, 2024 14:04
@theSuess theSuess added this pull request to the merge queue Dec 18, 2024
Merged via the queue into grafana:master with commit 34511cd Dec 18, 2024
14 checks passed
@amimof amimof deleted the client-tls-namespace branch December 19, 2024 06:30
@theSuess theSuess added the feature this PR introduces a new feature label Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature this PR introduces a new feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants