From 0fc0a30ab439a41896da5639107da71d17b8d373 Mon Sep 17 00:00:00 2001 From: Leonardo Luz Almeida Date: Fri, 1 Nov 2024 10:34:24 -0400 Subject: [PATCH] chore: fix sample roletemplate (#54) Signed-off-by: Leonardo Luz Almeida --- .../ephemeral-access_v1alpha1_roletemplate.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/config/samples/ephemeral-access_v1alpha1_roletemplate.yaml b/config/samples/ephemeral-access_v1alpha1_roletemplate.yaml index ff65261..e45afc8 100644 --- a/config/samples/ephemeral-access_v1alpha1_roletemplate.yaml +++ b/config/samples/ephemeral-access_v1alpha1_roletemplate.yaml @@ -6,11 +6,11 @@ metadata: app.kubernetes.io/managed-by: kustomize name: devops spec: - description: write permission in application {{.Application}} - name: "DevOps (Write)" + description: write permission in application {{.application}} + name: devops policies: - - p, {{.Role}}, applications, sync, {{.Project}}/{{.Application}}, allow - - p, {{.Role}}, applications, get, {{.Project}}/{{.Application}}, deny - - p, {{.Role}}, applications, action/*, {{.Project}}/{{.Application}}, allow - - p, {{.Role}}, applications, delete/*/Pod/*, {{.Project}}/{{.Application}}, allow - - p, {{.Role}}, logs, get, {{.Project}}/{{.Namespace}}/{{.Application}}, allow + - p, {{.role}}, applications, sync, {{.project}}/{{.application}}, allow + - p, {{.role}}, applications, get, {{.project}}/{{.application}}, deny + - p, {{.role}}, applications, action/*, {{.project}}/{{.application}}, allow + - p, {{.role}}, applications, delete/*/Pod/*, {{.project}}/{{.application}}, allow + - p, {{.role}}, logs, get, {{.project}}/{{.namespace}}/{{.application}}, allow