This article provides information on using conditional arrays in Munki manifests.
Munki Mac Endpoint Management
University of Illinois IT Pros leveraging Technology Services Endpoint Services' Munki Mac Endpoint Management
Munki allows for the conditional installation or removal of items based on certain conditions. Using conditions in your Munki manifests can cut down on the number of superfluous Munki warnings appearing in your MunkiReport dashboard. Adding conditions to require a minimum or maximum version of macOS is a common use case. (Even though minimum and maximum OS versions added to pkginfo files will ultimately prevent items from being installed on incompatible operating systems, Munki will still generate warning messages. You can avoid these messages by creating conditions within your Munki manifests, and then applying them to targeted software packages.)
One common use case for applying manifest conditions is with configuration profile packages, which Munki can't install on macOS 11 and up. Wherever they appear in your Munki manifests, these profiles should have a condition applied to exclude macOS 11+, as in the first screenshot at the top of this article. The below screenshot contains a list of profile packages in the Multi-Tenant Munki service, all with the condition applied to macOS 11+.
Visit the Munki wiki for more details about using conditions in manifests.