-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
UI: Update PostgreSQL database params #29200
Conversation
CI Results: |
Build Results: |
|
||
// If we refactor the database/connection model we can use this const in the updated form component | ||
// Ideal scenario be the API provides this schema so we don't have to manually write :) | ||
const EXPECTED_FIELDS = { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could be moved to a test helper file, but decided to hold off unless we plan to use it elsewhere?
I wrote this test coverage before adding the _filterFields
function to the database/connection
model
return expandAttributeMeta(this, fields); | ||
}), | ||
|
||
// after checking for enterprise, filter callback fires and returns |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like this approach. nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work! My suggestions are NITs so feel free to ignore if you don't want to ping me for another review.
* add testing before model changes * add enterprise self_managed attr, update tests * add postgres params * add changelog * update test * cleanup filter function * fix nits
* add testing before model changes * add enterprise self_managed attr, update tests * add postgres params * add changelog * update test * cleanup filter function * fix nits
Description
Added some missing params to PostgreSQL:
tls_ca
self_managed
(Enterprise only)disable_escaping
password_authentication
auth_type
service_account_json
use_private_ip
private_key
tls_certificate
TODO only if you're a HashiCorp employee
backport/
label that matches the desired release branch. Note that in the CE repo, the latest release branch will look likebackport/x.x.x
, but older release branches will bebackport/ent/x.x.x+ent
.of a public function, even if that change is in a CE file, double check that
applying the patch for this PR to the ENT repo and running tests doesn't
break any tests. Sometimes ENT only tests rely on public functions in CE
files.
in the PR description, commit message, or branch name.
description. Also, make sure the changelog is in this PR, not in your ENT PR.