From c4c0e0683919118fbfec40282d22d0fcfacdace3 Mon Sep 17 00:00:00 2001 From: alexlebens Date: Thu, 22 Aug 2024 22:34:23 -0500 Subject: [PATCH] remove directus --- .../applications/site-profile/Chart.yaml | 22 -- .../applications/site-profile/values.yaml | 188 ------------------ 2 files changed, 210 deletions(-) diff --git a/clusters/cl01tl/applications/site-profile/Chart.yaml b/clusters/cl01tl/applications/site-profile/Chart.yaml index b4f3601a0..4efb032a6 100644 --- a/clusters/cl01tl/applications/site-profile/Chart.yaml +++ b/clusters/cl01tl/applications/site-profile/Chart.yaml @@ -5,21 +5,14 @@ description: Site Profile keywords: - site-profile - astro - - directus home: https://wiki.alexlebens.dev/doc/site-profile-uoqXo94Yzd sources: - https://github.com/alexlebens/site-profile - https://github.com/withastro/astro - - https://github.com/directus/directus - - https://github.com/valkey-io/valkey - https://github.com/cloudflare/cloudflared - - https://github.com/cloudnative-pg/cloudnative-pg - https://github.com/alexlebens/site-profile/pkgs/container/site-profile - - https://hub.docker.com/r/directus/directus - https://github.com/bjw-s/helm-charts/tree/main/charts/other/app-template - - https://github.com/bitnami/charts/tree/main/bitnami/valkey - https://github.com/alexlebens/helm-charts/charts/cloudflared - - https://github.com/alexlebens/helm-charts/charts/postgres-cluster maintainers: - name: alexlebens dependencies: @@ -27,24 +20,9 @@ dependencies: alias: site-profile repository: https://bjw-s.github.io/helm-charts/ version: 3.3.2 - - name: app-template - alias: directus - repository: https://bjw-s.github.io/helm-charts/ - version: 3.3.2 - - name: valkey - version: 0.3.13 - repository: https://charts.bitnami.com/bitnami - name: cloudflared alias: cloudflared-site repository: http://alexlebens.github.io/helm-charts version: 1.6.0 - - name: cloudflared - alias: cloudflared-directus - repository: http://alexlebens.github.io/helm-charts - version: 1.6.0 - - name: postgres-cluster - alias: postgres-16-cluster - version: 3.8.4 - repository: http://alexlebens.github.io/helm-charts icon: https://d21zlbwtcn424f.cloudfront.net/icon_white.png appVersion: 0.1.6 diff --git a/clusters/cl01tl/applications/site-profile/values.yaml b/clusters/cl01tl/applications/site-profile/values.yaml index 3b7bde0f8..ddcfbe47a 100644 --- a/clusters/cl01tl/applications/site-profile/values.yaml +++ b/clusters/cl01tl/applications/site-profile/values.yaml @@ -27,194 +27,6 @@ site-profile: port: 80 targetPort: 4321 protocol: HTTP -directus: - global: - fullnameOverride: directus - controllers: - main: - type: deployment - replicas: 1 - strategy: Recreate - revisionHistoryLimit: 3 - initContainers: - init-chmod-data: - securityContext: - runAsUser: 0 - image: - repository: busybox - tag: 1.36.1 - pullPolicy: IfNotPresent - command: - - /bin/sh - - -ec - - | - /bin/chown -R 1000:1000 /directus/data - resources: - requests: - cpu: 100m - memory: 128Mi - containers: - main: - image: - repository: directus/directus - tag: 11.0.2 - pullPolicy: IfNotPresent - env: - - name: PUBLIC_URL - value: https://directus.alexlebens.dev - - name: WEBSOCKETS_ENABLED - value: true - - name: ADMIN_EMAIL - valueFrom: - secretKeyRef: - name: directus-config - key: admin-email - - name: ADMIN_PASSWORD - valueFrom: - secretKeyRef: - name: directus-config - key: admin-password - - name: SECRET - valueFrom: - secretKeyRef: - name: directus-config - key: secret - - name: KEY - valueFrom: - secretKeyRef: - name: directus-config - key: key - - name: DB_CLIENT - value: postgres - - name: DB_HOST - valueFrom: - secretKeyRef: - name: directus-postgresql-16-cluster-app - key: host - - name: DB_DATABASE - valueFrom: - secretKeyRef: - name: directus-postgresql-16-cluster-app - key: dbname - - name: DB_PORT - valueFrom: - secretKeyRef: - name: directus-postgresql-16-cluster-app - key: port - - name: DB_USER - valueFrom: - secretKeyRef: - name: directus-postgresql-16-cluster-app - key: user - - name: DB_PASSWORD - valueFrom: - secretKeyRef: - name: directus-postgresql-16-cluster-app - key: password - - name: REDIS_ENABLED - value: true - - name: REDIS_HOST - value: site-profile-valkey-master - - name: REDIS_PORT - value: 6379 - - name: REDIS_USERNAME - valueFrom: - secretKeyRef: - name: directus-valkey-config - key: user - - name: REDIS_PASSWORD - valueFrom: - secretKeyRef: - name: directus-valkey-config - key: password - - name: STORAGE_LOCATIONS - value: LOCAL - - name: STORAGE_LOCAL_DRIVER - value: local - - name: STORAGE_LOCAL_ROOT - value: /directus/data - - name: AUTH_PROVIDERS - value: AUTHENTIK - - name: AUTH_AUTHENTIK_DRIVER - value: openid - - name: AUTH_AUTHENTIK_CLIENT_ID - valueFrom: - secretKeyRef: - name: directus-oidc-secret - key: OIDC_CLIENT_ID - - name: AUTH_AUTHENTIK_CLIENT_SECRET - valueFrom: - secretKeyRef: - name: directus-oidc-secret - key: OIDC_CLIENT_SECRET - - name: AUTH_AUTHENTIK_SCOPE - value: openid profile email - - name: AUTH_AUTHENTIK_ISSUER_URL - value: https://auth.alexlebens.dev/application/o/directus/.well-known/openid-configuration - - name: AUTH_AUTHENTIK_IDENTIFIER_KEY - value: email - - name: AUTH_AUTHENTIK_ALLOW_PUBLIC_REGISTRATION - value: true - - name: AUTH_AUTHENTIK_LABEL - value: SSO Login - - name: TELEMETRY - value: false - resources: - requests: - cpu: 100m - memory: 256Mi - serviceAccount: - create: true - service: - main: - controller: main - ports: - http: - port: 80 - targetPort: 8055 - protocol: TCP - persistence: - data: - storageClass: ceph-block - accessMode: ReadWriteOnce - size: 10Gi - retain: true - advancedMounts: - main: - init-chmod-data: - - path: /directus/data - readOnly: false - main: - - path: /directus/data - readOnly: false -valkey: - architecture: standalone - auth: - enabled: true - existingSecret: directus-valkey-config - existingSecretPasswordKey: password cloudflared-site: name: cloudflared-site existingSecretName: site-profile-cloudflared-api-secret -cloudflared-directus: - name: cloudflared-directus - existingSecretName: directus-cloudflared-api-secret -postgres-16-cluster: - nameOverride: directus-postgresql-16 - mode: standalone - cluster: - walStorage: - storageClass: local-path - storage: - storageClass: local-path - monitoring: - enabled: true - prometheusRule: - enabled: false - backup: - enabled: true - endpointURL: https://s3.us-east-2.amazonaws.com - destinationPath: s3://cl01tl-postgresql-backups/directus - endpointCredentials: directus-postgresql-16-cluster-backup-secret - backupIndex: 1 - retentionPolicy: 14d