mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
add deployments
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user