File tree 2 files changed +75
-0
lines changed
deploy/environments/dev/kubernetes-kgateway-infra
2 files changed +75
-0
lines changed Original file line number Diff line number Diff line change
1
+ # ------------------------------------------------------------------------------
2
+ # OpenShift Environment - Infrastructure
3
+ #
4
+ # This provides the infrastructure-level requirements that individual
5
+ # development environments (see `deploy/environments/dev/kubernetes`) will need
6
+ # (e.g. CRDs, Operators, RBAC, etc). It utilizes KGateway as the control-plane
7
+ # for Gateways.
8
+ #
9
+ # **WARNING**: CRD deployments need to be run first.
10
+ #
11
+ # **WARNING**: Needs to be run once, and regularly updated on an OpenShift
12
+ # cluster by an administrator prior to deploying individual environments on
13
+ # that cluster with `deploy/environments/dev/kubernetes`.
14
+ # ------------------------------------------------------------------------------
15
+ apiVersion : kustomize.config.k8s.io/v1beta1
16
+ kind : Kustomization
17
+
18
+ resources :
19
+ - ../../../components/kgateway-control-plane/
20
+ - rbac.yaml
Original file line number Diff line number Diff line change
1
+ # -----------------------------------------------------------------------------
2
+ # This provides access to authenticated users to create and manage Gateways
3
+ # and attach GIE to them on development clusters.
4
+ # -----------------------------------------------------------------------------
5
+ apiVersion : rbac.authorization.k8s.io/v1
6
+ kind : ClusterRole
7
+ metadata :
8
+ name : gateway-management
9
+ rules :
10
+ # ---------------------------------------------------------------------------
11
+ # Gateway API
12
+ # ---------------------------------------------------------------------------
13
+ - apiGroups :
14
+ - gateway.networking.k8s.io
15
+ resources :
16
+ - gateways
17
+ - httproutes
18
+ - grpcroutes
19
+ verbs :
20
+ - get
21
+ - list
22
+ - watch
23
+ - create
24
+ - update
25
+ - patch
26
+ - delete
27
+ # ---------------------------------------------------------------------------
28
+ # Gateway API Inference Extension (GIE)
29
+ # ---------------------------------------------------------------------------
30
+ - apiGroups :
31
+ - inference.networking.x-k8s.io
32
+ resources :
33
+ - inferencepools
34
+ - inferencemodels
35
+ verbs :
36
+ - get
37
+ - list
38
+ - watch
39
+ - create
40
+ - update
41
+ - patch
42
+ - delete
43
+ ---
44
+ apiVersion : rbac.authorization.k8s.io/v1
45
+ kind : ClusterRoleBinding
46
+ metadata :
47
+ name : authenticated-gateway-management
48
+ subjects :
49
+ - kind : Group
50
+ name : system:authenticated
51
+ apiGroup : rbac.authorization.k8s.io
52
+ roleRef :
53
+ kind : ClusterRole
54
+ name : gateway-management
55
+ apiGroup : rbac.authorization.k8s.io
You can’t perform that action at this time.
0 commit comments