-
Notifications
You must be signed in to change notification settings - Fork 555
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
cleanup: client cert decoding is not required #4558
Conversation
return nil, fmt.Errorf("failed to decode client certificate: %w", err) | ||
} | ||
|
||
kms.clientCertificate = string(clientCertificate) |
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 assignment is not required anymore?
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.
No, not required.
assigning it here
err = setConfigString(&kms.clientCertificate, secrets, azureClientCertificate)
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 29f1fbe |
Signed-off-by: Praveen M <m.praveen@ibm.com>
15fb312
to
a73990a
Compare
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/k8s-e2e-external-storage/1.27 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/k8s-e2e-external-storage/1.28 |
/test ci/centos/mini-e2e/k8s-1.27 |
/test ci/centos/mini-e2e-helm/k8s-1.28 |
/test ci/centos/mini-e2e/k8s-1.28 |
Describe what this PR does
Earlier I had a discussion that Client certificate will be base64 encoded twice and placed into secret.
But that was misunderstood, and its only encoded once. So the extra decoding is not required.
This commit removes the base64 decoding work
Checklist:
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)