-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: RBAC and check namespace (#192)
* docs: RBAC and check namespace * chore: remove old references * cleanup * add relationships docs to alert manager & move namespace to alertmanager * refactor: security
- Loading branch information
1 parent
fce9324
commit 7c505f4
Showing
9 changed files
with
192 additions
and
119 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Fine tuning permission | ||
|
||
## Canary Checker | ||
|
||
Canary Checker, by default, uses a highly permissive service account. | ||
You can configure the permissions on that service account via the helm values. | ||
|
||
```yaml title="values.yaml" | ||
.... | ||
rbac: | ||
# Whether to create cluster-wide or namespaced roles | ||
cluster_role: false | ||
|
||
# for secret management with valueFrom | ||
tokenRequest: true | ||
secrets: true | ||
configmaps: true | ||
|
||
# for use with kubernetes resource lookups | ||
readAll: true | ||
|
||
# for pod and junit canaries | ||
podsCreateAndDelete: true | ||
|
||
# for pod canary | ||
ingressCreateAndDelete: true | ||
|
||
# for kubernetes resource check & namespace check | ||
namespaceCreateAndDelete: true | ||
``` | ||
The first thing to decide on is whether to grant cluster role access or namespace access | ||
to the service account. | ||
If certain checks do not need to be performed, the corresponding permissions required for them can be disabled. | ||
Example: the `readAll` permission is essential to run the Kubernetes lookup check. |
Submodule canary-checker
updated
6 files
+1 −1 | go.mod | |
+2 −2 | go.sum | |
+1 −1 | hack/generate-schemas/go.mod | |
+2 −2 | hack/generate-schemas/go.sum | |
+9 −1 | pkg/db/canary.go | |
+14 −4 | pkg/db/topology.go |
Submodule mission-control
updated
4 files
+1 −1 | go.mod | |
+2 −2 | go.sum | |
+1 −1 | hack/generate-schemas/go.mod | |
+2 −2 | hack/generate-schemas/go.sum |
Oops, something went wrong.