Skip to content

Commit

Permalink
Added finalizer permissions (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
yuchaoran2011 authored and anandswaminathan committed Jun 3, 2019
1 parent d3ff566 commit 5dbd1bd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ rules:
- create
- update
- delete
#Allow Event recording access
# Allow Event recording access
- apiGroups:
- ""
resources:
Expand All @@ -46,7 +46,7 @@ rules:
- create
- update
- patch
#Allow Access to CRD
# Allow Access to CRD
- apiGroups:
- apiextensions.k8s.io
resources:
Expand All @@ -57,11 +57,12 @@ rules:
- watch
- create
- update
#Allow Access to flink applications under flink.k8s.io
# Allow Access to flink applications under flink.k8s.io
- apiGroups:
- flink.k8s.io
resources:
- flinkapplications
- flinkapplications/finalizers
verbs:
- get
- list
Expand Down
15 changes: 15 additions & 0 deletions docs/quick-start-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,23 @@ data:
level: 4
```

Then create the ConfigMap containing the configurations:
```bash
$ kubectl create -f deploy/config.yaml
```

Also edit the resource requirements for the operator deployment if needed. The default are:
```yaml
requests:
memory: "4Gi"
cpu: "4"
limits:
memory: "8G"
cpu: "8"
```

Then create the operator Deployment:
```
$ kubectl create -f deploy/flinkk8soperator.yaml
```

Expand Down

0 comments on commit 5dbd1bd

Please sign in to comment.