Compare commits

..

4 Commits

Author SHA1 Message Date
Morten Olsen
9150a0f9b1 remove most features 2026-01-02 14:07:57 +01:00
Morten Olsen
0793d30222 Update authentik-server.ts 2025-12-22 21:10:49 +01:00
Morten Olsen
c7f309cd23 remove istio and cert manager auto install 2025-12-22 20:56:22 +01:00
Morten Olsen
dc7d46d53c fix: oidc auth url (#63) 2025-10-13 21:33:24 +00:00
4 changed files with 8 additions and 28 deletions

View File

@@ -31,11 +31,11 @@ class BootstrapService {
public ensure = async () => {
await this.namespaces.ensure();
await this.repos.ensure();
await this.releases.ensure();
await this.cloudflareTunnel.ensure({
spec: {},
});
// await this.repos.ensure();
// await this.releases.ensure();
// await this.cloudflareTunnel.ensure({
// spec: {},
//});
};
}

View File

@@ -8,7 +8,7 @@ import { homelab } from '#resources/homelab/homelab.ts';
const services = new Services();
const resourceService = services.get(ResourceService);
await resourceService.install(...Object.values(homelab));
// await resourceService.install(...Object.values(homelab));
await resourceService.register(...Object.values(resources));
const bootstrapService = services.get(BootstrapService);

View File

@@ -18,7 +18,6 @@ import { RepoService } from '#bootstrap/repos/repos.ts';
import { DestinationRule } from '#resources/istio/destination-rule/destination-rule.ts';
import { NotReadyError } from '#utils/errors.ts';
import { ExternalHttpService } from '../external-http-service.ts/external-http-service.ts';
import { HttpService } from '../http-service/http-service.ts';
const specSchema = z.object({
environment: z.string(),
@@ -45,7 +44,6 @@ class AuthentikServer extends CustomResource<typeof specSchema> {
#initSecret: Secret<InitSecretData>;
#service: Service;
#helmRelease: HelmRelease;
#httpService: HttpService;
#externalHttpService: ExternalHttpService;
#destinationRule: DestinationRule;
@@ -74,8 +72,6 @@ class AuthentikServer extends CustomResource<typeof specSchema> {
this.#destinationRule.on('changed', this.queueReconcile);
this.#externalHttpService = resourceService.get(ExternalHttpService, this.name, this.namespace);
this.#httpService = resourceService.get(HttpService, this.name, this.namespace);
}
public get service() {
@@ -172,7 +168,7 @@ class AuthentikServer extends CustomResource<typeof specSchema> {
chart: {
spec: {
chart: 'authentik',
version: '2025.6.4',
version: '2025.10.3',
sourceRef: {
apiVersion: 'source.toolkit.fluxcd.io/v1',
kind: 'HelmRepository',
@@ -257,22 +253,6 @@ class AuthentikServer extends CustomResource<typeof specSchema> {
},
});
await this.#httpService.ensure({
metadata: {
ownerReferences: [this.ref],
},
spec: {
environment: this.spec.environment,
subdomain: this.spec.subdomain || 'authentik',
destination: {
host: this.#service.hostname,
port: {
number: 80,
},
},
},
});
await this.#externalHttpService.ensure({
metadata: {
ownerReferences: [this.ref],

View File

@@ -11,7 +11,7 @@ const resources = {
...flux,
...certManager,
...istio,
...homelab,
// ...homelab,
} satisfies Record<string, ResourceClass<ExpectedAny>>;
export { resources };