Add Atomix primitives to fabric adapter
Change-Id: I171c586a04fcb0586969d06b8336e0c98018cdce
diff --git a/fabric-adapter/templates/role.yaml b/fabric-adapter/templates/role.yaml
new file mode 100644
index 0000000..4e04428
--- /dev/null
+++ b/fabric-adapter/templates/role.yaml
@@ -0,0 +1,21 @@
+# SPDX-FileCopyrightText: 2022-present Intel Corporation
+#
+# SPDX-License-Identifier: Apache-2.0
+
+apiVersion: rbac.authorization.k8s.io/v1
+kind: Role
+metadata:
+ creationTimestamp: null
+ name: {{ template "fabric-adapter.fullname" . }}
+ namespace: {{ .Release.Namespace }}
+rules:
+ - apiGroups:
+ - primitives.atomix.io
+ resources:
+ - '*'
+ resourceNames:
+ - fabric-adapter-sid-counter
+ - fabric-adapter-sid-map
+
+ verbs:
+ - '*'
\ No newline at end of file