Skip to content

Commit

Permalink
ALB ingress: update rbac clusterrole and remove role
Browse files Browse the repository at this point in the history
  • Loading branch information
msh111 committed Feb 19, 2020
1 parent 5a98e0f commit f63ca29
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 54 deletions.
2 changes: 0 additions & 2 deletions roles/kubernetes-apps/alb_ingress_controller/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@
- { name: alb-ingress-clusterrolebinding, file: alb-ingress-clusterrolebinding.yml, type: clusterrolebinding }
- { name: alb-ingress-ns, file: alb-ingress-ns.yml, type: ns }
- { name: alb-ingress-sa, file: alb-ingress-sa.yml, type: sa }
- { name: alb-ingress-role, file: alb-ingress-role.yml, type: role }
- { name: alb-ingress-rolebinding, file: alb-ingress-rolebinding.yml, type: rolebinding }
- { name: alb-ingress-deploy, file: alb-ingress-deploy.yml, type: deploy }
register: alb_ingress_manifests
when:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,9 @@ metadata:
name: alb-ingress
namespace: {{ alb_ingress_controller_namespace }}
rules:
- apiGroups: [""]
resources: ["configmaps", "endpoints", "nodes", "pods", "secrets"]
verbs: ["list", "watch"]
- apiGroups: [""]
resources: ["nodes"]
verbs: ["get"]
- apiGroups: [""]
resources: ["services"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["ingresses"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create", "patch"]
- apiGroups: ["extensions"]
resources: ["ingresses/status"]
verbs: ["update"]
- apiGroups: ["", "extensions"]
resources: ["configmaps", "endpoints", "nodes", "pods", "secrets", "events", "ingresses", "ingresses/status", "services"]
verbs: ["list", "create", "get", "update", "watch", "patch"]
- apiGroups: ["", "extensions"]
resources: ["nodes", "pods", "secrets", "services", "namespaces"]
verbs: ["get", "list", "watch"]

This file was deleted.

This file was deleted.

0 comments on commit f63ca29

Please sign in to comment.