Skip to content

Fix e2e CI deploy step by skipping Helm CRD install#41

Merged
Breee merged 2 commits into
mainfrom
copilot/fix-e2e-github-actions-job
May 29, 2026
Merged

Fix e2e CI deploy step by skipping Helm CRD install#41
Breee merged 2 commits into
mainfrom
copilot/fix-e2e-github-actions-job

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 29, 2026

The e2e GitHub Actions job failed during operator deployment because the workflow pre-applies CRDs with kubectl, then helm install attempted to install/adopt the same CRDs and hit Helm ownership-metadata validation errors.

  • Root-cause alignment

    • Keep CRD lifecycle in the existing pre-install step (kubectl apply -f config/crd/bases/) and prevent duplicate CRD handling in Helm.
  • Workflow change

    • Updated .github/workflows/ci.yml in the e2e job’s Deploy operator command.
    • Added --skip-crds to helm install drop charts/drop ... so Helm does not try to install or claim already-existing CRDs.
  • Behavioral impact

    • Operator chart deployment proceeds using pre-installed CRDs, avoiding Helm’s CRD ownership conflict in CI.
helm install drop charts/drop \
  --namespace drop-system \
  --create-namespace \
  --skip-crds \
  --set image.repository=controller \
  --set image.tag=ci \
  --set image.pullPolicy=Never

@Breee Breee marked this pull request as ready for review May 29, 2026 20:56
Copilot AI changed the title [WIP] Fix failing GitHub Actions job 'e2e' Fix e2e CI deploy step by skipping Helm CRD install May 29, 2026
Copilot finished work on behalf of Breee May 29, 2026 20:57
Copilot AI requested a review from Breee May 29, 2026 20:57
@Breee Breee merged commit d3d82dd into main May 29, 2026
5 of 6 checks passed
@Breee Breee deleted the copilot/fix-e2e-github-actions-job branch May 29, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants