-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a659f10
commit 62c10c0
Showing
36 changed files
with
6,763 additions
and
5 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: typhoon-namespaced-admin | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-admin: "true" | ||
app.kubernetes.io/part-of: typhoon | ||
rules: | ||
- apiGroups: | ||
- flow.typhoon.zeiss.com | ||
- routing.typhoon.zeiss.com | ||
- sources.typhoon.zeiss.com | ||
- targets.typhoon.zeiss.com | ||
resources: ["*"] | ||
verbs: ["*"] | ||
--- | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: typhoon-namespaced-edit | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-edit: "true" | ||
app.kubernetes.io/part-of: typhoon | ||
rules: | ||
- apiGroups: | ||
- flow.typhoon.zeiss.com | ||
- routing.typhoon.zeiss.com | ||
- sources.typhoon.zeiss.com | ||
- targets.typhoon.zeiss.com | ||
resources: ["*"] | ||
verbs: | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
--- | ||
kind: ClusterRole | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
metadata: | ||
name: typhoon-namespaced-view | ||
labels: | ||
rbac.authorization.k8s.io/aggregate-to-view: "true" | ||
app.kubernetes.io/part-of: typhoon | ||
rules: | ||
- apiGroups: | ||
- flow.typhoon.zeiss.com | ||
- routing.typhoon.zeiss.com | ||
- sources.typhoon.zeiss.com | ||
- targets.typhoon.zeiss.com | ||
resources: ["*"] | ||
verbs: | ||
- get | ||
- list | ||
- watch |
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,112 @@ | ||
apiVersion: rbac.authorization.k8s.io/v1 | ||
kind: ClusterRole | ||
metadata: | ||
name: typhoon-webhook | ||
labels: | ||
app.kubernetes.io/part-of: typhoon | ||
|
||
rules: | ||
# Routing admin | ||
- apiGroups: | ||
- routing.typhoon.zeiss.com | ||
resources: | ||
- filters | ||
- splitters | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
|
||
# Routing statuses update | ||
- apiGroups: | ||
- routing.typhoon.zeiss.com | ||
resources: | ||
- splitters/status | ||
- filters/status | ||
verbs: | ||
- update | ||
|
||
|
||
- apiGroups: | ||
- flow.typhoon.zeiss.com | ||
resources: | ||
- xslttransformations | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
|
||
- apiGroups: | ||
- flow.typhoon.zeiss.com | ||
resources: | ||
- xslttransformations/status | ||
verbs: | ||
- update | ||
|
||
# Events admin | ||
- apiGroups: | ||
- '' | ||
resources: | ||
- events | ||
- configmaps | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
|
||
# For manipulating certs into secrets. | ||
- apiGroups: | ||
- '' | ||
resources: | ||
- secrets | ||
verbs: | ||
- get | ||
- create | ||
- update | ||
- list | ||
- watch | ||
|
||
# Validation webhook gets system namespace to use it as an owner. | ||
- apiGroups: | ||
- '' | ||
resources: | ||
- namespaces | ||
verbs: | ||
- get | ||
|
||
# For actually registering our webhook. | ||
- apiGroups: | ||
- admissionregistration.k8s.io | ||
resources: | ||
- mutatingwebhookconfigurations | ||
- validatingwebhookconfigurations | ||
verbs: | ||
- get | ||
- list | ||
- watch | ||
- create | ||
- update | ||
- patch | ||
- delete | ||
|
||
# Acquire leases for leader election | ||
- apiGroups: | ||
- coordination.k8s.io | ||
resources: | ||
- leases | ||
verbs: | ||
- get | ||
- create | ||
- update |
Oops, something went wrong.