add deployments

This commit is contained in:
Morten Olsen
2025-07-28 22:50:38 +02:00
parent 48f1bde404
commit ed74769822
18 changed files with 698 additions and 11 deletions

View File

@@ -51,7 +51,7 @@ class SecretRequest extends CustomResource<typeof secretRequestSpec> {
}
}
if (current) {
console.log('secret already exists', current);
services.log.debug('secret already exists', { current });
// TODO: Add update logic
return;
}

View File

@@ -51,7 +51,6 @@ class CustomResourceRegistry {
};
#onResourceEvent = async (type: string, obj: any) => {
console.log(type, this.kinds);
const { kind } = obj;
const crd = this.getByKind(kind);
if (!crd) {

View File

@@ -4,9 +4,6 @@ type Dependency<T> = new (services: Services) => T;
class Services {
#instances = new Map<Dependency<unknown>, unknown>();
constructor() {
console.log('Constructor', 'bar');
}
public get log() {
return this.get(LogService);