This commit is contained in:
Morten Olsen
2025-08-15 22:01:18 +02:00
parent 91298b3cf7
commit 295472a028
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ class AuthentikClientResource extends CustomResource<typeof authentikClientSpecS
const authentikService = this.services.get(AuthentikService);
const authentikServer = authentikService.get({
url: {
internal: `http://${serverSecretData.data.host}-server`,
internal: `http://${serverSecretData.data.host}`,
external: serverSecretData.data.url,
},
token: serverSecretData.data.token,

View File

@@ -153,7 +153,7 @@ class AuthentikServerController extends CustomResource<typeof authentikServerSpe
const secretData = {
url: `https://${this.spec.subdomain}.${domain}`,
host: `${this.name}.${this.namespace}.svc.cluster.local`,
host: `${this.name}-server.${this.namespace}.svc.cluster.local`,
token: this.#authentikInitSecret.value?.AUTHENTIK_BOOTSTRAP_TOKEN ?? '',
};