From 932646e58798971bb19597ec7d1611ea4a1ab231 Mon Sep 17 00:00:00 2001
From: Marcos Silva <Marcos.PauloOliveiraSilva@windriver.com>
Date: Fri, 28 Apr 2023 15:33:47 -0300
Subject: [PATCH] Add Node Feature Discovery FluxCD app to StarlingX

Change-Id: I4c3aa0b6a1ddd0b5cc071b79f63a5098693314f1
Signed-off-by: Marcos Silva <Marcos.PauloOliveiraSilva@windriver.com>
---
 .../app-node-feature-discovery.config          | 18 ++++++++++++++++++
 gerrit/projects.yaml                           |  5 +++++
 zuul/main.yaml                                 |  1 +
 3 files changed, 24 insertions(+)
 create mode 100644 gerrit/acls/starlingx/app-node-feature-discovery.config

diff --git a/gerrit/acls/starlingx/app-node-feature-discovery.config b/gerrit/acls/starlingx/app-node-feature-discovery.config
new file mode 100644
index 0000000000..b724faafc1
--- /dev/null
+++ b/gerrit/acls/starlingx/app-node-feature-discovery.config
@@ -0,0 +1,18 @@
+[access "refs/for/refs/*"]
+	pushMerge = group starlingx-release
+
+[access "refs/heads/*"]
+	abandon = group starlingx-app-node-feature-discovery-core
+	create = group starlingx-release
+	label-Code-Review = -2..+2 group starlingx-app-node-feature-discovery-core
+	label-Workflow = -1..+1 group starlingx-app-node-feature-discovery-core
+
+[access "refs/tags/*"]
+	createSignedTag = group starlingx-release
+
+[receive]
+	requireChangeId = true
+	requireContributorAgreement = true
+
+[submit]
+	mergeContent = True
diff --git a/gerrit/projects.yaml b/gerrit/projects.yaml
index 168f9dad4c..980fcc0723 100644
--- a/gerrit/projects.yaml
+++ b/gerrit/projects.yaml
@@ -6257,6 +6257,11 @@
   use-storyboard: true
   groups:
     - starlingx
+- project: starlingx/app-node-feature-discovery
+  description: StarlingX Node Feature Discovery App
+  use-storyboard: true
+  groups:
+    - starlingx
 - project: starlingx/app-oran-o2
   description: StarlingX ORAN Spec Compliance O2 Interfaces App
   use-storyboard: true
diff --git a/zuul/main.yaml b/zuul/main.yaml
index 2d809f3626..7411f41713 100644
--- a/zuul/main.yaml
+++ b/zuul/main.yaml
@@ -1028,6 +1028,7 @@
           - starlingx/app-dell-storage
           - starlingx/app-istio
           - starlingx/app-kubevirt
+          - starlingx/app-node-feature-discovery
           - starlingx/app-oran-o2
           - starlingx/app-security-profiles-operator
           - starlingx/app-sriov-fec-operator