Skip to content

Commit

Permalink
Remove apiGroup from leader_election_role
Browse files Browse the repository at this point in the history
Fixing the same issue again for #37. Perhaps kubebuilder is
re-introducing these variables every time it generates YAML?

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Dec 13, 2021
1 parent 7a434f5 commit a6df648
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 0 additions & 2 deletions config/rbac/leader_election_role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ rules:
- ""
resources:
- configmaps
resourceNames:
- 8bdecb1a.alexellis.io
verbs:
- get
- create
Expand Down
4 changes: 1 addition & 3 deletions manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@ metadata:
rules:
- apiGroups:
- ""
resourceNames:
- 8bdecb1a.alexellis.io
resources:
- configmaps
verbs:
Expand Down Expand Up @@ -237,7 +235,7 @@ spec:
resources:
limits:
cpu: 100m
memory: 64Mi
memory: 128Mi
requests:
cpu: 100m
memory: 45Mi
Expand Down

0 comments on commit a6df648

Please sign in to comment.