Skip to content

Commit

Permalink
Add watch services permission
Browse files Browse the repository at this point in the history
  • Loading branch information
marevers committed Sep 3, 2024
1 parent 9a20dda commit 75964da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/k8s/unprivileged.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ rules:
verbs: ["get", "watch", "list"]
- apiGroups: [""]
resources: ["services"]
# list services is needed by network-policy beyla.
verbs: ["list"]
# list and watch services are needed by network-policy beyla.
verbs: ["list", "watch"]
- apiGroups: ["*"]
resources: ["deployments", "replicasets", "statefulsets", "daemonsets", "jobs", "cronjobs", "replicationcontrollers"]
# Required to retrieve the owner references used by the seccomp beyla.
Expand Down

0 comments on commit 75964da

Please sign in to comment.