feat: phase 8 serviceadapter crd rollout (32/33 tasks)

This commit is contained in:
Admin Bot
2026-08-26 13:47:36 -07:00
parent 63893d41a5
commit 425611ec42
85 changed files with 4238 additions and 5702 deletions
+36 -1
View File
@@ -6,5 +6,40 @@ metadata:
labels:
app: api-gateway
---
# Role for ServiceAdapter CRD access (read-only, G2 supersession)
# Scoped to exactly: get, list, watch on serviceadapters in gateway.riotpiao.com/v1
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: api-gateway-serviceadapter-reader
namespace: api
labels:
app: api-gateway
rules:
- apiGroups:
- gateway.riotpiao.com
resources:
- serviceadapters
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: api-gateway-serviceadapter-reader
namespace: api
labels:
app: api-gateway
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: Role
name: api-gateway-serviceadapter-reader
subjects:
- kind: ServiceAccount
name: api-gateway
namespace: api
---
# No ClusterRole needed - the gateway has no k8s API access
# G2: The gateway holds no Kubernetes credentials
# G2: The gateway holds no Kubernetes credentials (except read-only ServiceAdapter access above)