Skip to content

Overview

UDS Operator Overview Flows

The UDS Operator plays a pivotal role in managing the lifecycle of UDS Package Custom Resources (CRs) along with their associated resources like NetworkPolicies and Istio VirtualServices. Leveraging Pepr, the operator binds watch operations to the enqueue and reconciler, taking on several key responsibilities for UDS Packages and exemptions:

You can ignore one or more namespaces from all operator and policy actions by adding them to Pepr’s ignored namespaces list in a bundle override, like so:

packages:
- name: core
repository: ghcr.io/defenseunicorns/packages/uds/core
ref: x.x.x
overrides:
pepr-uds-core:
module:
values:
- path: additionalIgnoredNamespaces
value:
- foo-system
- bar-system

In the example above, policies would not be enforced on the foo-system and bar-system namespaces. In addition, any Package or Exemption custom resources in these namespaces would be ignored and not processed.

src/pepr/operator/
├── controllers # Core business logic called by the reconciler
├── crd # Custom Resource Definitions for UDS Operator
├── reconcilers # Reconciles Custom Resources via the controllers
└── index.ts # Entrypoint for the UDS Operator