fix: remove spec wrapper from ClusterRoleBinding

- ClusterRoleBinding doesn't use spec: wrapper (unlike Deployment/StatefulSet)
- roleRef and subjects go at top level with metadata
- Fixes: 'strict decoding error: unknown field "spec"'
This commit is contained in:
2026-09-05 15:04:00 -07:00
parent f740076694
commit 7ac37c7ab5
-1
View File
@@ -2,7 +2,6 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: homelab-admin-oidc
spec:
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole