Skip to content

Commit 552aeba

Browse files
mattcampclaude
andcommitted
fix: add persistentvolumeclaims RBAC to controller service account
The per-taskrun-pvc session store creates PVCs via the K8s API but the ClusterRole did not grant this permission. Controller was failing with "persistentvolumeclaims is forbidden" on every ticket poll. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 912adf3 commit 552aeba

3 files changed

Lines changed: 15 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.3.6] - 2026-03-19
11+
12+
### Fixed
13+
14+
- Controller service account was missing `persistentvolumeclaims` RBAC
15+
permissions. The `per-taskrun-pvc` session store calls the K8s API to create
16+
PVCs but the ClusterRole only granted access to `jobs`, `pods`, `configmaps`,
17+
and `secrets`. Added `get`, `list`, `watch`, `create`, `delete` on
18+
`persistentvolumeclaims`.
19+
1020
## [0.3.5] - 2026-03-18
1121

1222
### Fixed

charts/osmia/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: osmia
33
description: A Kubernetes-native AI coding agent harness
44
type: application
5-
version: 0.3.5
6-
appVersion: "0.3.5"
5+
version: 0.3.6
6+
appVersion: "0.3.6"
77
home: https://github.com/unitaryai/osmia
88
sources:
99
- https://github.com/unitaryai/osmia

charts/osmia/templates/rbac.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ rules:
3030
- apiGroups: [""]
3131
resources: ["secrets"]
3232
verbs: ["get", "list", "watch"]
33+
- apiGroups: [""]
34+
resources: ["persistentvolumeclaims"]
35+
verbs: ["get", "list", "watch", "create", "delete"]
3336
- apiGroups: ["coordination.k8s.io"]
3437
resources: ["leases"]
3538
verbs: ["get", "list", "watch", "create", "update", "patch", "delete"]

0 commit comments

Comments
 (0)