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

rfc2136 provider: expect base64 encoded TSIG key #347

Merged
merged 1 commit into from
Dec 20, 2023

Conversation

Avarei
Copy link
Contributor

@Avarei Avarei commented Dec 20, 2023

What this PR does / why we need it:
Usually both tsig key tools generate, and dns servers are configured using the base64 encoded version of the TSIG Key.
This PR reduces complexity by removing base64 encoding during runtime, which removes the need to decode it for the Kubernetes Secret.

This also makes integration with external secret providers easier, as the binary data from the tsig key could be difficult to copy.

Which issue(s) this PR fixes:
Fixes #346

Special notes for your reviewer:
the diff in go.mod is due to running go mod tidy

Release note:

rfc2136 provider expects TSIGSecret in base64 encoded format (previously base64 decoded was expected)

@Avarei Avarei requested a review from a team as a code owner December 20, 2023 06:16
@gardener-robot gardener-robot added the needs/review Needs review label Dec 20, 2023
@CLAassistant
Copy link

CLAassistant commented Dec 20, 2023

CLA assistant check
All committers have signed the CLA.

@gardener-robot
Copy link

@Avarei Thank you for your contribution.

@gardener-robot gardener-robot added the size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) label Dec 20, 2023
@gardener-robot-ci-3
Copy link
Contributor

Thank you @Avarei for your contribution. Before I can start building your PR, a member of the organization must set the required label(s) {'reviewed/ok-to-test'}. Once started, you can check the build status in the PR checks section below.

@Avarei
Copy link
Contributor Author

Avarei commented Dec 20, 2023

@MartinWeindel fyi

Copy link
Member

@MartinWeindel MartinWeindel left a comment

Choose a reason for hiding this comment

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

/lgtm
Thank you for the improvement.

@gardener-robot gardener-robot added reviewed/lgtm Has approval for merging and removed needs/review Needs review labels Dec 20, 2023
@gardener-robot-ci-3 gardener-robot-ci-3 added reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) and removed reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) labels Dec 20, 2023
@MartinWeindel MartinWeindel added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 20, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 20, 2023
@MartinWeindel MartinWeindel added the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 20, 2023
@gardener-robot-ci-1 gardener-robot-ci-1 removed the reviewed/ok-to-test Has approval for testing (check PR in detail before setting this label because PR is run on CI/CD) label Dec 20, 2023
@MartinWeindel MartinWeindel merged commit 113f8d5 into gardener:master Dec 20, 2023
1 check passed
@gardener-robot gardener-robot added the status/closed Issue is closed (either delivered or triaged) label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs/ok-to-test Needs approval for testing (check PR in detail before setting this label because PR is run on CI/CD) reviewed/lgtm Has approval for merging size/xs Size of pull request is tiny (see gardener-robot robot/bots/size.py) status/closed Issue is closed (either delivered or triaged)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

rfc2136 provider expects TSIG key in base64 DEcoded format
6 participants