Skip to content

Commit c252cbc

Browse files
committed
add permission to replicasets and daemonsets (#94)
HAProxy Ingress starting on v0.15 reads spec.selector from daemonsets or replicasets, depending on the kind of the controller pod owner, in order to build a proper controller pod selector.
1 parent 820eb53 commit c252cbc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

haproxy-ingress/templates/role.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,13 @@ rules:
2323
- namespaces
2424
verbs:
2525
- get
26+
- apiGroups:
27+
- apps
28+
resources:
29+
- daemonsets
30+
- replicasets
31+
verbs:
32+
- get
2633
- apiGroups:
2734
- ""
2835
resources:

0 commit comments

Comments
 (0)