Update kubernetes.rb to use strict_encode64 for the certificate. This creates the correct format.
What does this MR do?
Changes the kubernetes certificate-authority-data in the config file in the runner to be rfc4648 compliant.
Are there points in the code the reviewer needs to double check?
Why was this MR needed?
The runner is not working properly failing when it needs to run kubernetes commands. This is due to the KUBECONFIG file using the wrong base64 encoding for the certificate. Please consider adding a test for this. Clearly this feature was shipped without testing.
Screenshots (if relevant)
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
API support added -
Tests added for this feature/bug - Review
-
Has been reviewed by UX -
Has been reviewed by Frontend -
Has been reviewed by Backend -
Has been reviewed by Database
-
-
Conform by the merge request performance guides -
Conform by the style guides -
Squashed related commits together
What are the relevant issue numbers?
Merge request reports
Activity
Filter activity
Please register or sign in to reply