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

Correct the secret name where the URL encoded connection string is located #1116

Merged
merged 1 commit into from
Jan 3, 2025

Conversation

nhudson
Copy link
Collaborator

@nhudson nhudson commented Jan 3, 2025

With the #1114 change, the name of the kubernetes secret is wrong where the URL encoded connection string lives.

This PR fixes the location of the secret.

@nhudson nhudson self-assigned this Jan 3, 2025
@nhudson nhudson marked this pull request as ready for review January 3, 2025 17:12
| EnvVarRef::EncodedReadWriteConnection => {
encoded_connection_secret_name.clone()
}
_ => apps_connection_secret_name.clone(),
Copy link
Member

Choose a reason for hiding this comment

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

Is it not safe to always use the url encoded secret name?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

most likely, but I didn't want to risk breaking anything. There are several places in Mahout that encode passwords using the current secret.

@nhudson nhudson merged commit 73abc08 into main Jan 3, 2025
9 checks passed
@nhudson nhudson deleted the nhudson/fix_encoded_secret_name branch January 3, 2025 17:49
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.

3 participants