This commit is contained in:
Morten Olsen
2025-08-19 22:05:41 +02:00
parent a27b563113
commit 3ab2b1969a
108 changed files with 1740 additions and 3350 deletions

View File

@@ -3,7 +3,6 @@ import type { Services } from '../utils/service.ts';
import { NamespaceService } from './namespaces/namespaces.ts';
import { ReleaseService } from './releases/releases.ts';
import { RepoService } from './repos/repos.ts';
import { ClusterIssuerService } from './resources/issuer.ts';
class BootstrapService {
#services: Services;
@@ -23,15 +22,10 @@ class BootstrapService {
return this.#services.get(ReleaseService);
}
public get clusterIssuer() {
return this.#services.get(ClusterIssuerService);
}
public ensure = async () => {
await this.namespaces.ensure();
await this.repos.ensure();
await this.releases.ensure();
await this.clusterIssuer.ensure();
};
}