maintenance/ariadne: add jenkins workspace cleanup schedule and RBAC

This commit is contained in:
Brad Stein 2026-04-12 04:47:19 -03:00
parent 4f6ca60521
commit 6276bd037c
2 changed files with 25 additions and 0 deletions

View File

@ -345,6 +345,14 @@ spec:
value: "15"
- name: ARIADNE_SCHEDULE_METIS_SENTINEL_WATCH
value: "*/30 * * * *"
- name: ARIADNE_SCHEDULE_JENKINS_WORKSPACE_CLEANUP
value: "45 */6 * * *"
- name: JENKINS_WORKSPACE_NAMESPACE
value: jenkins
- name: JENKINS_WORKSPACE_PVC_PREFIX
value: pvc-workspace-
- name: JENKINS_WORKSPACE_CLEANUP_MIN_AGE_HOURS
value: "12"
- name: METRICS_PATH
value: "/metrics"
resources:

View File

@ -21,6 +21,23 @@ rules:
- list
- watch
- delete
- apiGroups: [""]
resources:
- persistentvolumeclaims
- persistentvolumes
verbs:
- get
- list
- watch
- delete
- apiGroups: ["longhorn.io"]
resources:
- volumes
verbs:
- get
- list
- watch
- delete
- apiGroups: [""]
resources:
- nodes