Backend support policies for "No team" #21467
Labels
~backend
Backend-related issue.
#g-endpoint-ops
Endpoint ops product group
P2
Prioritize as urgent
:release
Ready to write code. Scheduled in a release. See "Making changes" in handbook.
~sub-task
A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Milestone
Epic: #19551
Currently we support "Global policies" and "Team policies". "Global policies" run on "All hosts" and "Team policies" run on hosts that belong to the corresponding teams. We currently don't support creating policies that run only on hosts that are in "No team".
This is needed to implement automatic triggering of software installation #19551 for hosts in "No team".
This issue is to track the backend changes.
We'll also need to define GitOps for policies for "No team".
QA notes
Apart from testing "No team" policies (and associating packages uploaded to "No team") on the UI we need to QA the GitOps part of this story.
Here are the GitOps "no-team.yml" designs: https://www.figma.com/design/4pfUOYy7IyMIrjMH2fuCdU/%2319551-Policy-automations%3A-install-software?node-id=0-1&node-type=canvas&t=ufWiCYl3niY2PvZx-0.
GitOps now supports a
teams/no-team.yml
file withname: No team
. Such file withname: No team
must have theno-team.yml
name (it errors out if it doesn't have that filename).In the
no-team.yml
currently you can only specifyname:
,policies:
andsoftware:
. Here's a sample:teams/no-team.yml
:lib/firefox-msi-installed-and-up-to-date.yml
:lib/software/firefox.msi.software.yml
:Also, a breaking change is that you cannot specify
software
on the maindefault.yml
; you can set it as "empty"software:
but cannot be defined with contents. This is because the software for "No team" goes inteams/no-team.yml
.The text was updated successfully, but these errors were encountered: