Skip to content

Commit

Permalink
fix: imports [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
mjnagel committed Nov 5, 2024
1 parent f97e07b commit b480e35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions pepr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import { Policy } from "./src/pepr/operator/crd";
import { registerCRDs } from "./src/pepr/operator/crd/register";
import { patches } from "./src/pepr/patches";
import { policies, startExemptionWatch } from "./src/pepr/policies";
import { prometheus } from "./src/pepr/prometheus";

const log = setupLogger(Component.STARTUP);

Expand All @@ -36,9 +35,6 @@ const log = setupLogger(Component.STARTUP);
// Istio service mesh
istio,

// Prometheus monitoring stack
prometheus,

// Patches for specific components
patches,
]);
Expand Down
4 changes: 2 additions & 2 deletions src/pepr/operator/reconcilers/package-reconciler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import { handleFailure, shouldSkip, updateStatus, writeEvent } from ".";
import { UDSConfig } from "../../config";
import { Component, setupLogger } from "../../logger";
import { cleanupNamespace } from "../controllers/istio/injection";
import { cleanupNamespace, enableIstio } from "../controllers/istio/injection";
import { istioResources } from "../controllers/istio/istio-resources";
import {
authservice,
Expand Down Expand Up @@ -72,7 +72,7 @@ export async function packageReconciler(pkg: UDSPackage) {

let endpoints: string[] = [];
// Update the namespace to ensure the istio-injection label is set
await enableInjection(pkg);
await enableIstio(pkg);

let ssoClients = new Map<string, Client>();
let authserviceClients: string[] = [];
Expand Down

0 comments on commit b480e35

Please sign in to comment.