Skip to content

fix: DO errors caused by AWS changes

Keith Grootboom requested to merge keith/aws-stage-fixes into main

Description

This PR contains minor fixes to facilitate deployment on AWS.

  1. Removes special chars (that conflict with the URL query params) from the MongoDB password otherwise the forum can't parse it.
  2. Metrics port is 4443 on DO and 443 on Amazon.
  3. Upgrades the Gitlab Agent Helm chart to the latest version.
  4. 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 the GITLAB_PROJECT_NUMERIC_ID.

Testing instructions

  1. Proofread the code.
  2. 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.
  3. Check that the agent is showing v15.5.1 on https://gitlab.com/opencraft/ops/grove-stage-digitalocean/-/clusters
  4. 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

Merge request reports