Skip to content

chore: use kubeconfig instead of doctl for dev deployment#555

Open
webpiratt wants to merge 1 commit intomainfrom
no-auto-deploy-prod
Open

chore: use kubeconfig instead of doctl for dev deployment#555
webpiratt wants to merge 1 commit intomainfrom
no-auto-deploy-prod

Conversation

@webpiratt
Copy link
Collaborator

@webpiratt webpiratt commented Feb 10, 2026

Summary

  • Replace secrets.DIGITALOCEAN_CI_TOKEN with secrets.KUBECONFIG_DEV (base64 encoded kubeconfig) for dev deployment

Changes

  • .github/workflows/deploy-dev.yaml: Removed doctl installation, use kubeconfig secret directly

Test plan

  • Add KUBECONFIG_DEV secret to repo (base64 encoded kubeconfig)
  • Verify dev deployment works on push to dev branch

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Updated deployment workflow to use secret-based kubeconfig configuration, removing dependency on external tooling.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Feb 10, 2026

Warning

Rate limit exceeded

@webpiratt has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 25 minutes and 40 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

Walkthrough

Modified GitHub Actions workflow to replace DigitalOcean doctl-based kubeconfig retrieval with inline secret-driven setup. Removed CLUSTER environment variable and doctl installation steps. Added new step to decode kubeconfig from secrets directly into ~/.kube/config.

Changes

Cohort / File(s) Summary
Workflow Configuration
.github/workflows/deploy-dev.yaml
Replaced DigitalOcean doctl-based kubeconfig retrieval with inline secret-driven setup. Removed CLUSTER environment variable from global env and eliminated doctl installation steps. Added step to create ~/.kube directory, decode KUBECONFIG_DEV from secrets into config file, and set appropriate permissions.
🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and concisely summarizes the main change: replacing doctl with kubeconfig for dev deployment configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch no-auto-deploy-prod

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Replace DIGITALOCEAN_CI_TOKEN with KUBECONFIG_DEV secret (plain YAML)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

1 participant