43 lines
837 B
YAML
43 lines
837 B
YAML
|
|
apiVersion: v1
|
||
|
|
kind: ServiceAccount
|
||
|
|
metadata:
|
||
|
|
name: model-catalog
|
||
|
|
namespace: agentgateway-system
|
||
|
|
automountServiceAccountToken: true
|
||
|
|
imagePullSecrets:
|
||
|
|
- name: quay-cluster-pull
|
||
|
|
---
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: Role
|
||
|
|
metadata:
|
||
|
|
name: model-catalog
|
||
|
|
namespace: agentgateway-system
|
||
|
|
rules:
|
||
|
|
- apiGroups:
|
||
|
|
- ""
|
||
|
|
resources:
|
||
|
|
- configmaps
|
||
|
|
verbs:
|
||
|
|
- create
|
||
|
|
- apiGroups:
|
||
|
|
- ""
|
||
|
|
resources:
|
||
|
|
- configmaps
|
||
|
|
resourceNames:
|
||
|
|
- agentgateway-model-costs
|
||
|
|
verbs:
|
||
|
|
- patch
|
||
|
|
---
|
||
|
|
apiVersion: rbac.authorization.k8s.io/v1
|
||
|
|
kind: RoleBinding
|
||
|
|
metadata:
|
||
|
|
name: model-catalog
|
||
|
|
namespace: agentgateway-system
|
||
|
|
roleRef:
|
||
|
|
apiGroup: rbac.authorization.k8s.io
|
||
|
|
kind: Role
|
||
|
|
name: model-catalog
|
||
|
|
subjects:
|
||
|
|
- kind: ServiceAccount
|
||
|
|
name: model-catalog
|
||
|
|
namespace: agentgateway-system
|