This is an automated email from the ASF dual-hosted git repository.

kichan pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/trafficserver-ingress-controller.git


The following commit(s) were added to refs/heads/master by this push:
     new fe5d4fb  Adding yaml files for role and rolebinding (#304)
fe5d4fb is described below

commit fe5d4fb7adc816fcaa7a1b8bf801a091036943b1
Author: saurabh-saraswat <[email protected]>
AuthorDate: Fri Sep 12 18:42:54 2025 +0530

    Adding yaml files for role and rolebinding (#304)
---
 ats_caching/ats-cachingpolicy-binding.yaml | 12 ++++++++++++
 ats_caching/ats-cachingpolicy-role.yaml    |  8 ++++++++
 2 files changed, 20 insertions(+)

diff --git a/ats_caching/ats-cachingpolicy-binding.yaml 
b/ats_caching/ats-cachingpolicy-binding.yaml
new file mode 100644
index 0000000..e2a716d
--- /dev/null
+++ b/ats_caching/ats-cachingpolicy-binding.yaml
@@ -0,0 +1,12 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRoleBinding
+metadata:
+  name: ats-cachingpolicy-binding
+subjects:
+  - kind: ServiceAccount
+    name: default
+    namespace: trafficserver-test
+roleRef:
+  kind: ClusterRole
+  name: ats-cachingpolicy-role
+  apiGroup: rbac.authorization.k8s.io
diff --git a/ats_caching/ats-cachingpolicy-role.yaml 
b/ats_caching/ats-cachingpolicy-role.yaml
new file mode 100644
index 0000000..924f011
--- /dev/null
+++ b/ats_caching/ats-cachingpolicy-role.yaml
@@ -0,0 +1,8 @@
+apiVersion: rbac.authorization.k8s.io/v1
+kind: ClusterRole
+metadata:
+  name: ats-cachingpolicy-role
+rules:
+  - apiGroups: ["k8s.trafficserver.apache.com"]
+    resources: ["atscachingpolicies"]
+    verbs: ["get", "list", "watch"]

Reply via email to