Compare commits
13 Commits
auto-updat
...
2a5d5af180
| Author | SHA1 | Date | |
|---|---|---|---|
| 2a5d5af180 | |||
| 0e733f0e3e | |||
|
|
b4eacf2bd3 | ||
|
|
14cbcc8579 | ||
| c5153115da | |||
|
|
56699cd2c6 | ||
|
|
4feed32f94 | ||
|
|
9d67f443c3 | ||
| b12276072a | |||
|
|
04fc582912 | ||
|
|
537ddf1a0c | ||
|
|
b3149fcdc8 | ||
|
|
b7b7b9a34c |
@@ -22,7 +22,10 @@ spec:
|
|||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: FURUMI_TOKEN
|
- name: FURUMI_TOKEN
|
||||||
value: "f38387266e75effe891b7953eb9c06b4"
|
valueFrom:
|
||||||
|
secretKeyRef:
|
||||||
|
name: furumi-ng-token
|
||||||
|
key: TOKEN
|
||||||
- name: FURUMI_ROOT
|
- name: FURUMI_ROOT
|
||||||
value: "/media"
|
value: "/media"
|
||||||
ports:
|
ports:
|
||||||
|
|||||||
23
k8s/apps/furumi-server/external-secrets.yaml
Normal file
23
k8s/apps/furumi-server/external-secrets.yaml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
---
|
||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: furumi-ng-token
|
||||||
|
spec:
|
||||||
|
target:
|
||||||
|
name: furumi-ng-token
|
||||||
|
deletionPolicy: Delete
|
||||||
|
template:
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
TOKEN: |-
|
||||||
|
{{ .token }}
|
||||||
|
data:
|
||||||
|
- secretKey: token
|
||||||
|
sourceRef:
|
||||||
|
storeRef:
|
||||||
|
name: vaultwarden-login
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
remoteRef:
|
||||||
|
key: b8b8c3a2-c3fe-42d3-9402-0ae305e1455f
|
||||||
|
property: fields[0].value
|
||||||
@@ -6,3 +6,4 @@ resources:
|
|||||||
- deployment.yaml
|
- deployment.yaml
|
||||||
- service.yaml
|
- service.yaml
|
||||||
- servicemonitor.yaml
|
- servicemonitor.yaml
|
||||||
|
- external-secrets.yaml
|
||||||
|
|||||||
@@ -52,16 +52,17 @@ spec:
|
|||||||
mas-oidc.yaml: |
|
mas-oidc.yaml: |
|
||||||
upstream_oauth2:
|
upstream_oauth2:
|
||||||
providers:
|
providers:
|
||||||
- id: authentik
|
- id: 001KKV4EKY7KG98W2M9T806K6A
|
||||||
human_name: Authentik
|
human_name: Authentik
|
||||||
issuer: https://idm.hexor.cy/application/o/matrix/
|
issuer: https://idm.hexor.cy/application/o/matrix/
|
||||||
client_id: {{ .oauth_client_id }}
|
client_id: "{{ .oauth_client_id }}"
|
||||||
client_secret: {{ .oauth_client_secret }}
|
client_secret: "{{ .oauth_client_secret }}"
|
||||||
|
token_endpoint_auth_method: client_secret_post
|
||||||
scope: "openid profile email"
|
scope: "openid profile email"
|
||||||
claims_imports:
|
claims_imports:
|
||||||
localpart:
|
localpart:
|
||||||
action: require
|
action: suggest
|
||||||
template: "{{ `{{ user.preferred_username }}` }}"
|
template: "{{ `{{ user.preferred_username | split(\"@\") | first }}` }}"
|
||||||
displayname:
|
displayname:
|
||||||
action: suggest
|
action: suggest
|
||||||
template: "{{ `{{ user.name }}` }}"
|
template: "{{ `{{ user.name }}` }}"
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ hookshot:
|
|||||||
synapse:
|
synapse:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
host: matrix.hexor.cy
|
host: synapse.matrix.hexor.cy
|
||||||
postgres:
|
postgres:
|
||||||
host: psql.psql.svc
|
host: psql.psql.svc
|
||||||
port: 5432
|
port: 5432
|
||||||
@@ -56,9 +56,15 @@ matrixAuthenticationService:
|
|||||||
password:
|
password:
|
||||||
secret: matrix-postgres-creds
|
secret: matrix-postgres-creds
|
||||||
secretKey: mas_db_password
|
secretKey: mas_db_password
|
||||||
## Authentik OIDC upstream provider
|
## Admin policy
|
||||||
additional:
|
additional:
|
||||||
0-oidc:
|
0-admin-policy:
|
||||||
|
config: |
|
||||||
|
policy:
|
||||||
|
data:
|
||||||
|
admin_users:
|
||||||
|
- username: ultradesu
|
||||||
|
1-oidc:
|
||||||
configSecret: matrix-oidc-config
|
configSecret: matrix-oidc-config
|
||||||
configSecretKey: mas-oidc.yaml
|
configSecretKey: mas-oidc.yaml
|
||||||
# nodeSelector:
|
# nodeSelector:
|
||||||
@@ -68,7 +74,7 @@ matrixAuthenticationService:
|
|||||||
elementWeb:
|
elementWeb:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
host: chat.hexor.cy
|
host: chat.matrix.hexor.cy
|
||||||
# nodeSelector:
|
# nodeSelector:
|
||||||
# kubernetes.io/hostname: nas.homenet
|
# kubernetes.io/hostname: nas.homenet
|
||||||
|
|
||||||
@@ -76,7 +82,7 @@ elementWeb:
|
|||||||
elementAdmin:
|
elementAdmin:
|
||||||
enabled: true
|
enabled: true
|
||||||
ingress:
|
ingress:
|
||||||
host: matrix-admin.hexor.cy
|
host: admin.matrix.hexor.cy
|
||||||
# nodeSelector:
|
# nodeSelector:
|
||||||
# kubernetes.io/hostname: nas.homenet
|
# kubernetes.io/hostname: nas.homenet
|
||||||
|
|
||||||
|
|||||||
@@ -54,19 +54,6 @@ server:
|
|||||||
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
traefik.ingress.kubernetes.io/router.middlewares: kube-system-https-redirect@kubernetescrd
|
||||||
hosts:
|
hosts:
|
||||||
- idm.hexor.cy
|
- idm.hexor.cy
|
||||||
- nas.hexor.cy # TrueNAS Limassol
|
|
||||||
- nc.hexor.cy # NaxtCloud
|
|
||||||
- of.hexor.cy # Outfleet-v2
|
|
||||||
- k8s.hexor.cy # k8s dashboard
|
|
||||||
- qbt.hexor.cy # qBittorent for Jellyfin
|
|
||||||
- prom.hexor.cy # Prometheus
|
|
||||||
- khm.hexor.cy # Known Hosts keys Manager
|
|
||||||
- backup.hexor.cy # Kopia Backup UI
|
|
||||||
- fm.hexor.cy # Filemanager
|
|
||||||
- minecraft.hexor.cy # Minecraft UI and server
|
|
||||||
- pass.hexor.cy # k8s-secret for openai
|
|
||||||
- ps.hexor.cy # pasarguard UI
|
|
||||||
# - rw.hexor.cy # RemnaWave UI
|
|
||||||
tls:
|
tls:
|
||||||
- secretName: idm-tls
|
- secretName: idm-tls
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
@@ -37,4 +37,5 @@ spec:
|
|||||||
dnsZones:
|
dnsZones:
|
||||||
- "ps.hexor.cy"
|
- "ps.hexor.cy"
|
||||||
- "of.hexor.cy"
|
- "of.hexor.cy"
|
||||||
|
- "matrix.hexor.cy"
|
||||||
|
|
||||||
|
|||||||
@@ -195,9 +195,9 @@ oauth_applications = {
|
|||||||
meta_description = "Matrix Chat"
|
meta_description = "Matrix Chat"
|
||||||
meta_icon = "https://img.icons8.com/ios/100/40C057/matrix-logo.png"
|
meta_icon = "https://img.icons8.com/ios/100/40C057/matrix-logo.png"
|
||||||
redirect_uris = [
|
redirect_uris = [
|
||||||
"https://matrix.hexor.cy/_matrix/client/unstable/org.matrix.msc2965/auth/upstream/callback",
|
"https://auth.matrix.hexor.cy/upstream/callback/001KKV4EKY7KG98W2M9T806K6A",
|
||||||
]
|
]
|
||||||
meta_launch_url = "https://matrix.hexor.cy"
|
meta_launch_url = "https://chat.matrix.hexor.cy"
|
||||||
client_type = "confidential"
|
client_type = "confidential"
|
||||||
include_claims_in_id_token = true
|
include_claims_in_id_token = true
|
||||||
access_code_validity = "minutes=1"
|
access_code_validity = "minutes=1"
|
||||||
@@ -205,7 +205,7 @@ oauth_applications = {
|
|||||||
refresh_token_validity = "days=30"
|
refresh_token_validity = "days=30"
|
||||||
scope_mappings = ["openid", "profile", "email"]
|
scope_mappings = ["openid", "profile", "email"]
|
||||||
access_groups = []
|
access_groups = []
|
||||||
create_group = true
|
create_group = false
|
||||||
signing_key = "1b1b5bec-034a-4d96-871a-133f11322360"
|
signing_key = "1b1b5bec-034a-4d96-871a-133f11322360"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user