Skip to content

feat: manage IngressClass, ClusterRole, ClusterRoleBinding - #9

Merged
bartbeecoders merged 1 commit into
mainfrom
feat/rbac-networking-resources
Jun 15, 2026
Merged

feat: manage IngressClass, ClusterRole, ClusterRoleBinding#9
bartbeecoders merged 1 commit into
mainfrom
feat/rbac-networking-resources

Conversation

@bartbeecoders

Copy link
Copy Markdown
Owner

Adds management for the additional Kubernetes objects requested.

Five of the eight listed were already manageable (Ingress, ServiceAccount, Role, RoleBinding, NetworkPolicy). This PR adds the three that were missing — all cluster-scoped:

Resource List view Delete
IngressClass Network → Ingress Classes (Name, Controller, Age)
ClusterRole Access Control → Cluster Roles (Name, Rules, Age)
ClusterRoleBinding Access Control → Cluster Role Bindings (Name, Role, Subjects, Age)

How

Follows the data-driven view convention (AGENTS.md): new store::*_table projections + list/get/delete match arms in kube-core::LocalKube (cluster-scoped, mirroring StorageClass/CRD), plus TABLE_VIEWS sections, DELETABLE_KINDS, and kindLabel entries on the frontend. The kind string flows through the generic list/get/delete IPC + backend routes, so it works in both Direct and Remote modes with no new commands.

Test

  • npm run build
  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p kubefront-core ✓ (6 passed)

🤖 Generated with Claude Code

Adds the three cluster-scoped resources that were still missing from the
manageable set (Ingress, ServiceAccount, Role, RoleBinding and
NetworkPolicy were already supported):

- kube-core: store projections (ingress_classes_table,
  cluster_roles_table, cluster_role_bindings_table) and list/get/delete
  arms in LocalKube — cluster-scoped, like StorageClass/CRD.
- frontend: Ingress Classes added to the Network view; Cluster Roles and
  Cluster Role Bindings to the Access Control view; all three added to
  DELETABLE_KINDS and kindLabel.

Works in both Direct and Remote modes (the kind string flows through the
generic list/get/delete path).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@bartbeecoders
bartbeecoders merged commit 88fb1a3 into main Jun 15, 2026
3 checks passed
@bartbeecoders
bartbeecoders deleted the feat/rbac-networking-resources branch June 15, 2026 18:13
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