Skip to content

Add ExternalDNS deployment for OpenShift clusters#2448

Merged
ludydoo merged 10 commits intomainfrom
lcleroux/add-external-dns-for-openshift-ci
Oct 16, 2025
Merged

Add ExternalDNS deployment for OpenShift clusters#2448
ludydoo merged 10 commits intomainfrom
lcleroux/add-external-dns-for-openshift-ci

Conversation

@ludydoo
Copy link
Copy Markdown
Contributor

@ludydoo ludydoo commented Oct 6, 2025

Summary

Enables automatic deployment of ExternalDNS via ArgoCD when running e2e tests on OpenShift clusters (including OpenShift CI).

Changes

  • ArgoCD Application manifest (dev/env/manifests/external-dns/00-application.yaml): Deploys ExternalDNS from acscs-manifests repository with unique instance naming
  • Helper script (dev/env/scripts/get-infrastructure-name.sh): Fetches the cluster's Infrastructure CR name to generate globally unique ExternalDNS instance names
  • Bootstrap integration (dev/env/scripts/bootstrap.sh): Conditionally deploys ExternalDNS on OpenShift clusters

Implementation Details

  • Uses the Infrastructure CR's infrastructureName field for unique naming
  • Prevents DNS record conflicts across different clusters and CI jobs
  • Reuses existing acscs-manifests configuration (Route53 zones, AWS role ARN)
  • Only deploys on OpenShift clusters (including OpenShift CI)
  • No impact on other cluster types (minikube, kind, etc.)

Test plan

  • Verify ExternalDNS is deployed on OpenShift CI clusters
  • Verify unique naming prevents conflicts between concurrent CI jobs
  • Verify DNS records are correctly created in Route53
  • Verify no deployment on non-OpenShift clusters

🤖 Generated with Claude Code

@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 6, 2025

/retest

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Oct 6, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: johannes94, ludydoo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot removed the lgtm label Oct 6, 2025
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Oct 6, 2025

New changes are detected. LGTM label has been removed.

@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 7, 2025

/retest

3 similar comments
@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 7, 2025

/retest

@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 7, 2025

/retest

@johannes94
Copy link
Copy Markdown
Contributor

/retest

This change enables automatic deployment of ExternalDNS via ArgoCD when
running e2e tests on OpenShift clusters (including OpenShift CI).

Key changes:
- Add ArgoCD Application manifest to deploy ExternalDNS from acscs-manifests
- Create helper script to fetch cluster's Infrastructure name for unique naming
- Update bootstrap.sh to deploy ExternalDNS on OpenShift clusters

The ExternalDNS instance uses the Infrastructure CR's infrastructureName
to generate a globally unique name, preventing DNS record conflicts across
different clusters/CI jobs.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@ludydoo ludydoo force-pushed the lcleroux/add-external-dns-for-openshift-ci branch from b4088eb to bca4aab Compare October 8, 2025 12:01
@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 8, 2025

/retest

1 similar comment
@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 8, 2025

/retest

@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 8, 2025

/retest

1 similar comment
@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 9, 2025

/retest

@johannes94
Copy link
Copy Markdown
Contributor

/retest

1 similar comment
@ludydoo
Copy link
Copy Markdown
Contributor Author

ludydoo commented Oct 14, 2025

/retest

@ludydoo ludydoo merged commit 4f6fe68 into main Oct 16, 2025
14 checks passed
@ludydoo ludydoo deleted the lcleroux/add-external-dns-for-openshift-ci branch October 16, 2025 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants