Skip to content

Commit

Permalink
tweak cluster role for kubeless ui
Browse files Browse the repository at this point in the history
otherwise we cannot get the logs of the function and we cannot call them
  • Loading branch information
sebgoa authored Nov 30, 2017
1 parent 3ad647e commit 2bf967c
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion kubeless-ui.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ local host = "kubeless-ui";
{
apiGroups: ["k8s.io"],
resources: ["functions"],
verbs: ["get", "list", "watch", "create", "patch"],
verbs: ["get", "list", "watch", "create", "patch", "delete"],
},
{
apiGroups: [""],
resources: ["pods","pods/log"],
verbs: ["get", "list"],
},
{
apiGroups: [""],
resources: ["services","services/proxy],
verbs: ["get", "list", "proxy"],
},
],
},
Expand Down

0 comments on commit 2bf967c

Please sign in to comment.