Skip to content

Commit

Permalink
Update src/pepr/policies/index.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Case Wylie <cmwylie19@gmail.com>
  • Loading branch information
TristanHoladay and cmwylie19 authored May 15, 2024
1 parent b0833c6 commit dae141d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/pepr/policies/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ for (const p of policyList) {
}

export async function startExemptionWatch() {
// only run in admission controller
if (process.env.PEPR_WATCH_MODE === "false") {
const watcher = K8s(UDSExemption).Watch(async (exemption, phase) => {
console.log(`Exemption ${exemption.metadata?.name} is ${phase}`);
Expand Down

0 comments on commit dae141d

Please sign in to comment.