refactor: replace cert formatting
Description
This MR simplifies cert formatting to not depend on JQ and use standard bash functionalities and fixes certificate issuance for monitoring resources.
Supporting information
Currently the formatting is malformed for the certificate because. This MR fixes the malformed certificate and removes dependency on JQ.
Testing instructions
Steps to test the changes:
- Run
cd control && ./tf plan
- Validate that the certificate data would change
Dependencies
List the dependencies required for this change, if any. Do not forget to link grove-template merge request here if that's affected by this change.
Screenshots
Checklist
If any of the items below is not applicable, do not remove them, but put a check in it.
-
All providers include the new feature/change -
All affected providers can provision new clusters -
Unit tests are added/updated -
Documentation is added/updated -
The TOOLS_CONTAINER_IMAGE_VERSION
in ci_vars.yml is updated -
The grove-template repository is updated
Additional context
Add any other context about the merge request here.