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

Add tls_server_name provider options. #1638

Merged
merged 6 commits into from
Jun 21, 2023
Merged

Add tls_server_name provider options. #1638

merged 6 commits into from
Jun 21, 2023

Conversation

bartoszj
Copy link
Contributor

Description

Add support for tls_server_name.

Sometimes it is needed to connect to Kubernetes cluster using address which is not included in certificates SNIs. like IP addresses, SSH tunnels, etc. insecure parameter can be used in such scenarios, but it disable certificate validation. By using tls_server_name it is still possible to validate server certificate.

Acceptance tests

  • Have you added an acceptance test for the functionality being added?
  • Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccXXX'

...

Release Note

Release note for CHANGELOG:

Add `tls_server_name` provider options.

References

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

@hashicorp-cla
Copy link

hashicorp-cla commented Mar 12, 2022

CLA assistant check
All committers have signed the CLA.

@arybolovlev
Copy link
Contributor

Hi @bartoszj,

Thank you for your contribution. I have left one comment there. Could you please look at it?

Thank you!

@bartoszj
Copy link
Contributor Author

Hi @bartoszj,

Thank you for your contribution. I have left one comment there. Could you please look at it?

Thank you!

Hello. Unfortunately I cannot see your comment :( Can you add it once again?

@arybolovlev arybolovlev self-requested a review March 16, 2022 12:24
manifest/provider/provider_config.go Outdated Show resolved Hide resolved
@BBBmau BBBmau requested a review from a team as a code owner March 22, 2023 14:22
@BBBmau BBBmau requested a review from jrhouston March 22, 2023 14:22
Copy link
Contributor

@BBBmau BBBmau left a comment

Choose a reason for hiding this comment

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

Thank you for contributing!

@BBBmau BBBmau merged commit 362e9ae into hashicorp:main Jun 21, 2023
BBBmau added a commit that referenced this pull request Jun 22, 2023
* Add `tls_server_name` provider options.

* Restore accidentally removed `client_certificate` parameter.

* Fixed description

* add changelog-entry

---------

Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: BBBmau <[email protected]>
BBBmau added a commit that referenced this pull request Jun 23, 2023
* add data source and tests

* add docs

* add changelog-entry

* add copyright headers

* make spec block optional

* fix formatting in docs

* update tests

* add changelog-entry

* remove sidebar current

* Fix field_manager attribute name in node_taint docs (#2138)

* bump actions/stale (#2142)

* add `resource_kubernetes_endpointslice` (#2086)

* initial resource creation

* initial structures commit

* add flatteners and expanders

* initial create/read functions

* update read function

* add to provider.go

* add finished schema with working tfplan

* fix expand on SliceEndpoints

* update to TypeList

* update to using TypeList

* update endpoints expander

* fix flattener errors

* add expander for objectref and flattener for conditions

* add changelog-entry

* initial tests

* add missing port change check and use proper read function

* get update working as well as adding ForceNew to address_type attribute

* finish endpoint_slice_v1_test.go

* add descriptions to attributes

* add docs

* website-lint-fix

* add validator functions to port, hostname, and addresstype

* add int check

* fix test format

* refactor validate functions

* set to correct port

* Add `tls_server_name` provider options. (#1638)

* Add `tls_server_name` provider options.

* Restore accidentally removed `client_certificate` parameter.

* Fixed description

* add changelog-entry

---------

Co-authored-by: Mauricio Alvarez Leon <[email protected]>
Co-authored-by: BBBmau <[email protected]>

* Add GHA for running AKS (#2056)

Co-authored-by: Alex Somesan <[email protected]>

* Fix go version in AKS GHA (#2153)

* add v1

* update docs

---------

Co-authored-by: Stano Bocinec <[email protected]>
Co-authored-by: Bartosz Janda <[email protected]>
Co-authored-by: Sheneska Williams <[email protected]>
Co-authored-by: Alex Somesan <[email protected]>
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 21, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants