HaiAI123

Curated Global AI Tools Directory

Industry update
25
heat index
Flat

Giving AI coding agents read-only kubectl access

12/01/2026 — 12/01, 05:17·1 sources (all)·1 reports (all)

Key takeaways

  • Coding agents such as Claude Code, Cursor and Copilot call kubectl with the engineer's local kubeconfig, which in most clusters amounts to c…

Background & analysis

On December 1, 2026, a DEV Community post described how one developer changed the way AI coding agents are allowed to call kubectl. The author found that agents such as Claude Code, Cursor or Copilot inherit the engineer's local kubeconfig when they shell out to kubectl, which in most environments amounts to cluster-admin rights. The first change the author made was to ensure these agents no longer act under his own identity.

The setup gives the agent a separate read-only identity: a ServiceAccount bound to a read-only ClusterRole, paired with its own kubeconfig carrying a short-lived token. The API server then enforces read-only access on the server side, so whatever the agent decides to try, it cannot exceed those permissions. The author says the configuration was built and tested on Kubernetes 1.36.

The account ends with the publication of this setup; the material does not describe any further developments or responses from others.

AI-generated from 1 reports · updated 5 days ago

updream
24-hour heatHeat index 25
Just charted — trend is building up
24 hours agonow

Reports on this story headlines open the original

Dec 1
  1. The author found that AI coding agents like Claude Code, Cursor, or Copilot inherit the engineer's local kubeconfig when they call kubectl, which in most environments means cluster-admin rights. He gave the agent a separate ServiceAccount bound to a read-only ClusterRole and a standalone kubeconfig with a short-lived token, enforced server-side by the API server; the setup was built and tested on Kubernetes 1.36.

    DEV Community · AIAI score 61

Other stories people are talking about

How is heat calculated?About the method

Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.

This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.

Surge
Discussion rising fast
New
First report within 6 hours
Rising
Still gathering discussion

Back to AI industry updates →