titan-iac/services/maintenance/apps/ariadne-rbac.yaml
jenkins f4097c6e59 Merge origin/main into layout migration
Reconciles the services layout migration with ~991 upstream commits:
- Remote content wins for cassandra/cassandra-auth, monitoring dashboards,
  vmalert availability rules, veles, vault auth script, dashboard render
  script and tests (request-v4 availability definition)
- Layout paths win for structure: keycloak/bstein-dev-home job dirs use
  bootstrap-jobs/validation-jobs; cassandra realm jobs live in
  cassandra-auth (removed keycloak duplicates)
- Union: applications CR list gains hermes-chat and cassandra
  image-automation
- Fixed post-migration paths in dashboard test module loader and
  hermes-access job header

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-05 16:26:36 -03:00

94 lines
1.6 KiB
YAML

# services/maintenance/apps/ariadne-rbac.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: ariadne-job-spawner
rules:
- apiGroups: ["batch"]
resources:
- jobs
- cronjobs
verbs:
- get
- list
- watch
- create
- apiGroups: [""]
resources:
- events
- pods
- pods/log
verbs:
- get
- list
- watch
- apiGroups: ["apps"]
resources:
- daemonsets
- deployments
- statefulsets
verbs:
- get
- list
- watch
- delete
- apiGroups: ["apps"]
resources:
- deployments/scale
- statefulsets/scale
verbs:
- get
- patch
- update
- apiGroups: [""]
resources:
- persistentvolumeclaims
- persistentvolumes
verbs:
- get
- list
- watch
- delete
- apiGroups: ["longhorn.io"]
resources:
- volumes
verbs:
- get
- list
- watch
- delete
- apiGroups: [""]
resources:
- nodes
- namespaces
verbs:
- get
- list
- watch
- apiGroups: [""]
resources:
- pods/exec
verbs:
- get
- create
- apiGroups: ["kustomize.toolkit.fluxcd.io"]
resources:
- kustomizations
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: ariadne-job-spawner
subjects:
- kind: ServiceAccount
name: ariadne
namespace: maintenance
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: ariadne-job-spawner