mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add oidc actualbudget
This commit is contained in:
@@ -33,6 +33,14 @@ spec:
|
|||||||
annotations:
|
annotations:
|
||||||
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
cert-manager.io/cluster-issuer: prod-cluster-issuer
|
||||||
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
nginx.ingress.kubernetes.io/proxy-body-size: 50m
|
||||||
|
nginx.ingress.kubernetes.io/auth-url: |-
|
||||||
|
http://authentik-server.authentik.svc.cluster.local/outpost.goauthentik.io/auth/nginx
|
||||||
|
nginx.ingress.kubernetes.io/auth-signin: |-
|
||||||
|
https://authentik.rubenhensen.nl/outpost.goauthentik.io/start?rd=$scheme%3A%2F%2F$host$escaped_request_uri
|
||||||
|
nginx.ingress.kubernetes.io/auth-response-headers: |-
|
||||||
|
Set-Cookie,X-authentik-username,X-authentik-groups,X-authentik-entitlements,X-authentik-email,X-authentik-name,X-authentik-uid
|
||||||
|
nginx.ingress.kubernetes.io/auth-snippet: |-
|
||||||
|
proxy_set_header X-Forwarded-Host $http_host;
|
||||||
hosts:
|
hosts:
|
||||||
- host: ynab.rubenhensen.nl
|
- host: ynab.rubenhensen.nl
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -98,6 +98,9 @@ spec:
|
|||||||
- name: blueprint-freshrss
|
- name: blueprint-freshrss
|
||||||
configMap:
|
configMap:
|
||||||
name: authentik-blueprint-freshrss
|
name: authentik-blueprint-freshrss
|
||||||
|
- name: blueprint-actualbudget
|
||||||
|
configMap:
|
||||||
|
name: authentik-blueprint-actualbudget
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: blueprint-vault
|
- name: blueprint-vault
|
||||||
mountPath: /blueprints/custom/vault-oidc.yaml
|
mountPath: /blueprints/custom/vault-oidc.yaml
|
||||||
@@ -114,6 +117,9 @@ spec:
|
|||||||
- name: blueprint-freshrss
|
- name: blueprint-freshrss
|
||||||
mountPath: /blueprints/custom/freshrss-oidc.yaml
|
mountPath: /blueprints/custom/freshrss-oidc.yaml
|
||||||
subPath: freshrss-oidc.yaml
|
subPath: freshrss-oidc.yaml
|
||||||
|
- name: blueprint-actualbudget
|
||||||
|
mountPath: /blueprints/custom/actualbudget-proxy.yaml
|
||||||
|
subPath: actualbudget-proxy.yaml
|
||||||
ingress:
|
ingress:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
@@ -142,6 +148,9 @@ spec:
|
|||||||
- name: blueprint-freshrss
|
- name: blueprint-freshrss
|
||||||
configMap:
|
configMap:
|
||||||
name: authentik-blueprint-freshrss
|
name: authentik-blueprint-freshrss
|
||||||
|
- name: blueprint-actualbudget
|
||||||
|
configMap:
|
||||||
|
name: authentik-blueprint-actualbudget
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: blueprint-vault
|
- name: blueprint-vault
|
||||||
mountPath: /blueprints/custom/vault-oidc.yaml
|
mountPath: /blueprints/custom/vault-oidc.yaml
|
||||||
@@ -158,6 +167,9 @@ spec:
|
|||||||
- name: blueprint-freshrss
|
- name: blueprint-freshrss
|
||||||
mountPath: /blueprints/custom/freshrss-oidc.yaml
|
mountPath: /blueprints/custom/freshrss-oidc.yaml
|
||||||
subPath: freshrss-oidc.yaml
|
subPath: freshrss-oidc.yaml
|
||||||
|
- name: blueprint-actualbudget
|
||||||
|
mountPath: /blueprints/custom/actualbudget-proxy.yaml
|
||||||
|
subPath: actualbudget-proxy.yaml
|
||||||
postgresql:
|
postgresql:
|
||||||
enabled: false
|
enabled: false
|
||||||
redis:
|
redis:
|
||||||
|
|||||||
@@ -0,0 +1,31 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: ConfigMap
|
||||||
|
metadata:
|
||||||
|
name: authentik-blueprint-actualbudget
|
||||||
|
data:
|
||||||
|
actualbudget-proxy.yaml: |
|
||||||
|
version: 1
|
||||||
|
metadata:
|
||||||
|
name: Actual Budget Proxy
|
||||||
|
entries:
|
||||||
|
- model: authentik_providers_proxy.proxyprovider
|
||||||
|
id: actualbudget-provider
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
name: Actual Budget
|
||||||
|
attrs:
|
||||||
|
name: Actual Budget
|
||||||
|
authorization_flow: !Find [authentik_flows.flow, [slug, default-provider-authorization-implicit-consent]]
|
||||||
|
authentication_flow: !Find [authentik_flows.flow, [slug, default-authentication-flow]]
|
||||||
|
invalidation_flow: !Find [authentik_flows.flow, [slug, default-provider-invalidation-flow]]
|
||||||
|
mode: forward_single
|
||||||
|
external_host: https://ynab.rubenhensen.nl
|
||||||
|
- model: authentik_core.application
|
||||||
|
id: actualbudget-app
|
||||||
|
state: present
|
||||||
|
identifiers:
|
||||||
|
slug: actualbudget
|
||||||
|
attrs:
|
||||||
|
name: Actual Budget
|
||||||
|
provider: !KeyOf actualbudget-provider
|
||||||
|
meta_launch_url: https://ynab.rubenhensen.nl
|
||||||
@@ -22,6 +22,8 @@ data:
|
|||||||
client_id: freshrss
|
client_id: freshrss
|
||||||
client_secret: !Env [FRESHRSS_OIDC_CLIENT_SECRET, ""]
|
client_secret: !Env [FRESHRSS_OIDC_CLIENT_SECRET, ""]
|
||||||
redirect_uris:
|
redirect_uris:
|
||||||
|
- matching_mode: strict
|
||||||
|
url: https://rss.rubenhensen.nl/i/oidc/
|
||||||
- matching_mode: strict
|
- matching_mode: strict
|
||||||
url: https://rss.rubenhensen.nl:443/i/oidc/
|
url: https://rss.rubenhensen.nl:443/i/oidc/
|
||||||
signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Self-signed Certificate"]]
|
signing_key: !Find [authentik_crypto.certificatekeypair, [name, "authentik Self-signed Certificate"]]
|
||||||
|
|||||||
Reference in New Issue
Block a user