You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@submarine.apache.org by pi...@apache.org on 2022/01/11 02:27:21 UTC

[submarine] branch master updated: SUBMARINE-1170 Add traefik role verbs to create/update/delete CRD

This is an automated email from the ASF dual-hosted git repository.

pingsutw pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/submarine.git


The following commit(s) were added to refs/heads/master by this push:
     new faf81ba  SUBMARINE-1170 Add traefik role verbs to create/update/delete CRD
faf81ba is described below

commit faf81ba75611d9efc026381a78fcea2b9d69071a
Author: cdmikechen <cd...@hotmail.com>
AuthorDate: Fri Dec 31 09:10:12 2021 +0800

    SUBMARINE-1170 Add traefik role verbs to create/update/delete CRD
    
    ### What is this PR for?
    We can add traefik role verbs to create/update/delete CRD, so that new user/RoleBinding ServiceAccount can create or delete IngressRoute.
    
    ### What type of PR is it?
    Bug Fix
    
    ### Todos
    * [x] - Add create/update/delete verbs in traefik role
    
    ### What is the Jira issue?
    https://issues.apache.org/jira/browse/SUBMARINE-1170
    
    ### How should this be tested?
    We can bind other users / roles to test whether we have permission to create CRDs
    
    ### Screenshots (if appropriate)
    No
    
    ### Questions:
    * Do the license files need updating? No
    * Are there breaking changes for older versions? No
    * Does this need new documentation? No
    
    Author: cdmikechen <cd...@hotmail.com>
    
    Signed-off-by: Kevin <pi...@apache.org>
    
    Closes #854 from cdmikechen/SUBMARINE-1170 and squashes the following commits:
    
    3a088c91 [cdmikechen] SUBMARINE-1170 Add traefik role verbs to create/update/delete CRD
---
 helm-charts/submarine/charts/traefik/templates/rbac/cluster-role.yaml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/helm-charts/submarine/charts/traefik/templates/rbac/cluster-role.yaml b/helm-charts/submarine/charts/traefik/templates/rbac/cluster-role.yaml
index 191c9ec..5d044ad 100644
--- a/helm-charts/submarine/charts/traefik/templates/rbac/cluster-role.yaml
+++ b/helm-charts/submarine/charts/traefik/templates/rbac/cluster-role.yaml
@@ -63,4 +63,7 @@ rules:
       - get
       - list
       - watch
+      - create
+      - update
+      - delete
 {{- end -}}

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@submarine.apache.org
For additional commands, e-mail: dev-help@submarine.apache.org