mirror of
https://github.com/morten-olsen/homelab-operator.git
synced 2026-02-08 01:36:28 +01:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
295472a028 | ||
|
|
91298b3cf7 |
9
manifests/client.yaml
Normal file
9
manifests/client.yaml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
apiVersion: homelab.mortenolsen.pro/v1
|
||||||
|
kind: AuthentikClient
|
||||||
|
metadata:
|
||||||
|
name: test-client
|
||||||
|
spec:
|
||||||
|
server: dev/dev-authentik-server
|
||||||
|
redirectUris:
|
||||||
|
- url: https://localhost:3000/api/v1/authentik/oauth2/callback
|
||||||
|
matchingMode: strict
|
||||||
@@ -153,7 +153,7 @@ class AuthentikServerController extends CustomResource<typeof authentikServerSpe
|
|||||||
|
|
||||||
const secretData = {
|
const secretData = {
|
||||||
url: `https://${this.spec.subdomain}.${domain}`,
|
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 ?? '',
|
token: this.#authentikInitSecret.value?.AUTHENTIK_BOOTSTRAP_TOKEN ?? '',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user