From 5d15634032815c40c2732cb04b01c898004cda5c Mon Sep 17 00:00:00 2001
From: xeruf <27jf@pm.me>
Date: Thu, 30 Mar 2023 15:05:55 +0100
Subject: [PATCH] overrides: fix stale configs

---
 basic/overrides/oauth-clients.yaml            | 42 -------------------
 .../stackspin-nextcloud-override.yaml         |  3 +-
 2 files changed, 2 insertions(+), 43 deletions(-)
 delete mode 100644 basic/overrides/oauth-clients.yaml

diff --git a/basic/overrides/oauth-clients.yaml b/basic/overrides/oauth-clients.yaml
deleted file mode 100644
index ee189ea..0000000
--- a/basic/overrides/oauth-clients.yaml
+++ /dev/null
@@ -1,42 +0,0 @@
-apiVersion: hydra.ory.sh/v1alpha1
-kind: OAuth2Client
-metadata:
-  name: nextcloud-home-oauth-client
-  namespace: flux-system
-spec:
-  grantTypes:
-    - authorization_code
-    - refresh_token
-    - client_credentials
-    - implicit
-  responseTypes:
-    - id_token
-    - code
-  scope: "openid profile email stackspin_roles"
-  secretName: stackspin-nextcloud-home-oauth-variables
-  redirectUris:
-    - https://files.home.${domain}/index.php/apps/sociallogin/custom_oauth2/stackspin
-    - https://files.home.${domain}/apps/sociallogin/custom_oidc/stackspin
-    - https://files.home.${domain}/index.php/apps/sociallogin/custom_oidc/stackspin
-    - https://files.home.${domain}/apps/sociallogin/custom_oauth2/stackspin
-  tokenEndpointAuthMethod: client_secret_post
----
-apiVersion: hydra.ory.sh/v1alpha1
-kind: OAuth2Client
-metadata:
-  name: wikijs-oauth-client
-  namespace: flux-system
-spec:
-  grantTypes:
-    - authorization_code
-    - refresh_token
-    - client_credentials
-    - implicit
-  responseTypes:
-    - id_token
-    - code
-  scope: "openid profile email stackspin_roles"
-  secretName: stackspin-wikijs-oauth-variables
-  #redirectUris:
-  #  - https://wiki.${domain}/user/oauth2/Stackspin/callback
-  tokenEndpointAuthMethod: client_secret_post
diff --git a/basic/overrides/stackspin-nextcloud-override.yaml b/basic/overrides/stackspin-nextcloud-override.yaml
index 2fc7d55..c7d6bea 100644
--- a/basic/overrides/stackspin-nextcloud-override.yaml
+++ b/basic/overrides/stackspin-nextcloud-override.yaml
@@ -21,6 +21,7 @@ data:
               'default_phone_region' => 'DE',
               'default_locale' => 'en-gb',
               'lost_password_link' => 'https://dashboard.${domain}/web/recovery',
+              'simpleSignUpLink.shown' => false,
               'enable_previews' => true,
               'preview_libreoffice_path' => '/usr/bin/libreoffice',
               'enabledPreviewProviders' =>
@@ -55,7 +56,7 @@ data:
         postStartCommand:
           - '/bin/bash'
           - '-c'
-          - 'apt update && apt install ffmpeg imagemagick ghostscript libreoffice libreoffice-l10n-de libreoffice-help-de'
+          - 'apt update && apt install --yes ffmpeg imagemagick ghostscript libreoffice libreoffice-l10n-de libreoffice-help-de'
             #- 'echo hiho && /bin/bash /var/local/setup-apps.sh'
     apps:
       # Basics
-- 
GitLab