fix: DO errors caused by AWS changes
Description
This PR contains minor fixes to facilitate deployment on AWS.
- Removes special chars (that conflict with the URL query params) from the MongoDB password otherwise the forum can't parse it.
- Metrics port is 4443 on DO and 443 on Amazon.
- Upgrades the Gitlab Agent Helm chart to the latest version.
- Fixes the New Relic URL for removing a policy_id and makes it unique across
grove-template
repos. 5. If multiple clusters on the same new relic account have the same instance names, the New Relic policies wouldn't be able to distinguish between them. For this reason we prepend the New Relic policies with theGITLAB_PROJECT_NUMERIC_ID
.
Testing instructions
- Proofread the code.
- Proofread the code.
- As part of the AWS migration the metrics port was changed to 443 (reasoning], but this change was incompatible with the DO K8s service, so we default back to 4443 for.
- This change has been deployed to the
grove-stage-digitalocean
cluster. Verify that the metrics server is working by confirming./kubectl top pod -nexample
gives no errors.
- Check that the agent is showing v15.5.1 on https://gitlab.com/opencraft/ops/grove-stage-digitalocean/-/clusters
- Check the pipelines:
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.
Edited by Keith Grootboom