From fb61e085ff17247c42b285d0ea2d21f0a3c6cd04 Mon Sep 17 00:00:00 2001 From: Shawn Hsu Date: Mon, 18 Nov 2024 13:56:10 +0800 Subject: [PATCH] feat: add captain crd cluster role --- .../templates/captain/captain-clusterrole.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/charts/agh3/templates/captain/captain-clusterrole.yml b/charts/agh3/templates/captain/captain-clusterrole.yml index f0c3b4a2..bfcce7a8 100644 --- a/charts/agh3/templates/captain/captain-clusterrole.yml +++ b/charts/agh3/templates/captain/captain-clusterrole.yml @@ -6,6 +6,24 @@ metadata: labels: {{- include "AGH3.labels" . | nindent 4 }} rules: +- apiGroups: + - agh.lkc-lab.com + resources: + - actions + verbs: + - create + - delete + - get + - list + - patch + - update + - watch +- apiGroups: + - agh.lkc-lab.com + resources: + - actions/status + verbs: + - get - apiGroups: - "" resources: