feat(clickhouse)!: Read only plain ca_cert#9495
Conversation
ca_cert fixes: load only as plaintext & check append resultca_cert append result
There was a problem hiding this comment.
Hi @candiduslynx, can you explain what is the bug here? Are we removing the file handling for using the built in SDK file expanding? Isn't this a breaking change? Or this didn't work at all?
Also, maybe provide some examples in ca_cert to how the value(s) should look like.
|
@erezrokah this PR has 2 changes (maybe they should be separate):
Possibly, the 2nd change should be expanded into a separate PR marked breaking (although I doubt anyone used this, as it required mounting the custom cert file to the container). |
I think we should play it safe and do it as a breaking change + provide a change log entry that explains how to use the file placeholder in case someone needs to migrate, WDYT? |
|
OK, I'll extract the breaking part into a separate PR and leave this PR to address the |
14c467d to
b7990c6
Compare
ca_cert append resultca_cert
b7990c6 to
60c375f
Compare
|
@erezrokah I've updated the PR & the description. |
erezrokah
left a comment
There was a problem hiding this comment.
Thanks @candiduslynx, looks great 🚀
🤖 I have created a release *beep* *boop* --- ## [2.0.0](plugins-destination-clickhouse-v1.3.3...plugins-destination-clickhouse-v2.0.0) (2023-04-04) ### ⚠ BREAKING CHANGES * **clickhouse:** Stop reading `ca_cert` value as file path. See [file variable substitution](/docs/advanced-topics/environment-variable-substitution#file-variable-substitution-example) for how to read this value from a file. ### Features * **clickhouse:** Read only plain `ca_cert` value ([#9495](#9495)) ([dcffd50](dcffd50)) ### Bug Fixes * **clickhouse:** Check `ca_cert` append result ([#9505](#9505)) ([eea1b11](eea1b11)) * **deps:** Update golang.org/x/exp digest to 10a5072 ([#9587](#9587)) ([31f913f](31f913f)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.44.1 ([#9520](#9520)) ([202c31b](202c31b)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.44.2 ([#9661](#9661)) ([a27dc84](a27dc84)) * **deps:** Update module github.com/mattn/go-isatty to v0.0.18 ([#9609](#9609)) ([5b2908e](5b2908e)) * Ignore primary key option when migrating tables ([3a0c68b](3a0c68b)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
BEGIN_COMMIT_OVERRIDE
feat(clickhouse)!: Read only plain
ca_certvalue (#9495)BREAKING-CHANGE: Stop reading
ca_certvalue as file path. See file variable substitution for how to read this value from a file.END_COMMIT_OVERRIDE