From 103bbda10e77d2068dd063d8f4ad9c351cb4abe0 Mon Sep 17 00:00:00 2001 From: Tyler Perkins Date: Sat, 4 May 2024 21:38:18 -0400 Subject: [PATCH] Remove paperless and firefly for now --- firefly-iii/catagorize-ai-sealed-secret.yaml | 15 -- firefly-iii/catagorize-ai-service.yaml | 13 -- firefly-iii/catagorize-ai.yaml | 35 ---- firefly-iii/helmrelease-firefly-iii.yaml | 173 ------------------- firefly-iii/sealed-secret.yaml | 17 -- paperless-ngx/paperless-ngx-consume-pvc.yaml | 12 -- paperless-ngx/paperless-ngx-data-pvc.yaml | 12 -- paperless-ngx/paperless-ngx-deployment.yaml | 94 ---------- paperless-ngx/paperless-ngx-export-pvc.yaml | 12 -- paperless-ngx/paperless-ngx-media-pvc.yaml | 12 -- paperless-ngx/paperless-ngx-service.yaml | 13 -- paperless-ngx/sealed-secret.yaml | 19 -- 12 files changed, 427 deletions(-) delete mode 100644 firefly-iii/catagorize-ai-sealed-secret.yaml delete mode 100644 firefly-iii/catagorize-ai-service.yaml delete mode 100644 firefly-iii/catagorize-ai.yaml delete mode 100644 firefly-iii/helmrelease-firefly-iii.yaml delete mode 100644 firefly-iii/sealed-secret.yaml delete mode 100644 paperless-ngx/paperless-ngx-consume-pvc.yaml delete mode 100644 paperless-ngx/paperless-ngx-data-pvc.yaml delete mode 100644 paperless-ngx/paperless-ngx-deployment.yaml delete mode 100644 paperless-ngx/paperless-ngx-export-pvc.yaml delete mode 100644 paperless-ngx/paperless-ngx-media-pvc.yaml delete mode 100644 paperless-ngx/paperless-ngx-service.yaml delete mode 100644 paperless-ngx/sealed-secret.yaml diff --git a/firefly-iii/catagorize-ai-sealed-secret.yaml b/firefly-iii/catagorize-ai-sealed-secret.yaml deleted file mode 100644 index ef20a22..0000000 --- a/firefly-iii/catagorize-ai-sealed-secret.yaml +++ /dev/null @@ -1,15 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: firefly-iii-ai - namespace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6jZIXynScnEj4VZUe0sM1TGasuKduDWNgZ8jDRS+2fQmfzZh67zvtBVHHsiagAL6i+GHsjD3i9Fj2EoNbKueGgYgc7sMzAAoTcaEaP9SiTEzhujYb2HhRY7IoJkvmU2yyjOeFc7n3l6txkA4UsJ+c9wUblCTX4sXnU/pqTA2UAmWCfWPqYlXlKGsqZEPX7q+HcrR6H8TmiCBb/RIa5cZM87WdLTUxT5U85gcoBjj+Q7mAQlLAsfPTyncJgZSNBsNKm5UCrz7GyWr4NCnZonQIzE0GjlhQnP5ERq1+VjWdxTjsH1/QUEjjaJgq4JiJQV1OvRAemhiGXF7m8grqopwYMjBtrHt7tuIqDVNZhx8lWhZ/p21f8zvluR8WREEdmff/wsFNJkIbYJGwpwy8VpF4hiuqkcXSPGcz6OdBfY5sktUYwQNkRqEQV4wDLjU23hngL9P47dXY5Mx81AMvyD49V6DnRH8az1zaxcexvyC/m+4UEqm4Aw8REIf5sogH4Kpu2pKXW/ZrDMI27zyjammG9EF3AGo9Wi2ND8JJH0j4GJXu2auGDrENdJZaM6qDVauYrDFMVw9jj+ZlMLqUd797qMEYDP64ai4VjXXAj2Q4qS4F6wGu29jrHQK8tWeQx5hxl0pwlfUd5i7NyUjGczGaniXelpmQ3Lcpzp/HIXQd+4= - template: - metadata: - creationTimestamp: null - name: firefly-iii-ai - namespace: firefly-ns diff --git a/firefly-iii/catagorize-ai-service.yaml b/firefly-iii/catagorize-ai-service.yaml deleted file mode 100644 index e519457..0000000 --- a/firefly-iii/catagorize-ai-service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: catagorize-ai-service - namespace: firefly-ns -spec: - selector: - app: firefly-iii - ports: - - protocol: TCP - port: 3000 - targetPort: 3000 - type: ClusterIP diff --git a/firefly-iii/catagorize-ai.yaml b/firefly-iii/catagorize-ai.yaml deleted file mode 100644 index 1bb0939..0000000 --- a/firefly-iii/catagorize-ai.yaml +++ /dev/null @@ -1,35 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: catagorize-ai - namespace: firefly-ns -spec: - replicas: 1 - selector: - matchLabels: - app: firefly-iii - template: - metadata: - labels: - app: firefly-iii - spec: - containers: - - name: catagorize-ai - image: ghcr.io/bahuma20/firefly-iii-ai-categorize - ports: - - containerPort: 3000 - env: - - name: FIREFLY_URL - value: https://money.clortox.com - - name: ENABLE_UI - value: "true" - - name: FIREFLY_PERSONAL_TOKEN - valueFrom: - secretKeyRef: - name: firefly-iii-ai - key: FIREFLY_PERSONAL_TOKEN - - name: OPENAI_API_KEY - valueFrom: - secretKeyRef: - name: firefly-iii-ai - key: OPENAI diff --git a/firefly-iii/helmrelease-firefly-iii.yaml b/firefly-iii/helmrelease-firefly-iii.yaml deleted file mode 100644 index 8bb16d5..0000000 --- a/firefly-iii/helmrelease-firefly-iii.yaml +++ /dev/null @@ -1,173 +0,0 @@ -apiVersion: helm.toolkit.fluxcd.io/v2beta1 -kind: HelmRelease -metadata: - name: firefly - namespace: firefly-ns -spec: - chart: - spec: - chart: firefly-iii - sourceRef: - kind: HelmRepository - name: firefly-iii - namespace: flux-system - interval: 15m0s - timeout: 5m - releaseName: firefly-iii - values: - replicaCount: 1 - - image: - repository: "fireflyiii/core" - pullPolicy: IfNotPresent - tag: version-6.1.6 - - imagePullSecrets: [] - nameOverride: "" - fullnameOverride: "" - - persistence: - # -- If you set this to false, uploaded attachments are not stored persistently and will be lost with every restart of the pod - enabled: true - storageClassName: "longhorn" - accessModes: ReadWriteMany - storage: 20Gi - # -- If you want to use an existing claim, set it here - existingClaim: "" - - # -- Environment variables for Firefly III. See docs at: https://github.com/firefly-iii/firefly-iii/blob/main/.env.example - config: - # -- Set this to the name of a secret to load environment variables from. If defined, values in the secret will override values in config.env - existingSecret: "firefly-iii-secret" - - # -- Set environment variables from configMaps or Secrets - envValueFrom: {} - - # -- Directly defined environment variables. Use this for non-secret configuration values. - env: - DB_HOST: postgresql.postgresql-system.svc.cluster.local - DB_CONNECTION: pgsql - DB_PORT: "5432" - DB_DATABASE: firefly - DB_USERNAME: firefly - DEFAULT_LANGUAGE: "en_US" - DEFAULT_LOCALE: "equal" - TZ: "America/New_York" - TRUSTED_PROXIES: "**" - APP_URL: "https://money.clortox.com" - AUTHENTICATION_GUARD: "remote_user_guard" - AUTHENTICATION_GUARD_HEADER: "X-authentik-email" - - - # -- Create a new Secret from values file to store sensitive environment variables. Make sure to keep your secrets encrypted in the repository! For example, you can use the 'helm secrets' plugin (https://github.com/jkroepke/helm-secrets) to encrypt and manage secrets. If the 'config.existingSecret' value is set, a new Secret will not be created. - secrets: - env: - APP_PASSWORD: "CHANGE_ENCRYPT_ME" - DB_PASSWORD: "CHANGE_ENCRYPT_ME" - - # -- A cronjob for [recurring Firefly III tasks](https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/). - cronjob: - # -- Set to true to enable the CronJob. Note that you need to specify either cronjob.auth.existingSecret or cronjob.auth.token for it to actually be deployed. - enabled: false - - # -- Authorization for the CronJob. See https://docs.firefly-iii.org/firefly-iii/advanced-installation/cron/#request-a-page-over-the-web - auth: - # -- The name of a secret containing a data.token field with the cronjob token - existingSecret: "" - - # -- The name of the key in the existing secret to get the cronjob token from - secretKey: "token" - - # -- The token in plain text - token: "" - - # -- Annotations for the CronJob - annotations: {} - - # -- When to run the CronJob. Defaults to 03:00 as this is when Firefly III executes regular tasks. - schedule: "0 3 * * *" - - # -- How many pods to keep around for successful jobs - successfulJobsHistoryLimit: 3 - - # -- How many pods to keep around for failed jobs - failedJobsHistoryLimit: 1 - - # -- How to treat failed jobs - restartPolicy: OnFailure - - image: - repository: curlimages/curl - pullPolicy: IfNotPresent - tag: 7.81.0 - - imagePullSecrets: [] - - podAnnotations: {} - - securityContext: {} - - podSecurityContext: {} - - resources: {} - - nodeSelector: {} - - tolerations: [] - - affinity: {} - - podAnnotations: {} - - podSecurityContext: {} - # fsGroup: 2000 - - securityContext: {} - # capabilities: - # drop: - # - ALL - # readOnlyRootFilesystem: true - # runAsNonRoot: true - # runAsUser: 1000 - - service: - type: LoadBalancer - port: 80 - - ingress: - enabled: false - className: "" - annotations: {} - # kubernetes.io/ingress.class: nginx - # kubernetes.io/tls-acme: "true" - hosts: - - chart-example.local - tls: [] - # - secretName: chart-example-tls - # hosts: - # - chart-example.local - - resources: {} - # We usually recommend not to specify default resources and to leave this as a conscious - # choice for the user. This also increases chances charts run on environments with little - # resources, such as Minikube. If you do want to specify resources, uncomment the following - # lines, adjust them as necessary, and remove the curly braces after 'resources:'. - # limits: - # cpu: 100m - # memory: 128Mi - # requests: - # cpu: 100m - # memory: 128Mi - - autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 100 - targetCPUUtilizationPercentage: 80 - # targetMemoryUtilizationPercentage: 80 - - nodeSelector: {} - - tolerations: [] - - affinity: {} diff --git a/firefly-iii/sealed-secret.yaml b/firefly-iii/sealed-secret.yaml deleted file mode 100644 index 68e02b0..0000000 --- a/firefly-iii/sealed-secret.yaml +++ /dev/null @@ -1,17 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: firefly-iii-secret - namespace: firefly-ns -spec: - encryptedData: - APP_KEY: AgCSE+/lOiQJV3HE/UiAzeIXc2hgOMY95RSUO8Q22sK+R6WdpLcc0/gkxhOYtAdFGp1r9TIQQcWcbR2cEZ84GsnhoNJxh2vgaME+g5m0EgzQouczW/GTR56qfu/P+zp/IlIjepJVeAhVAOAInLDn/XUJf6kXyfWG7kHLhB/CHI6P0VC1RcHXAjkArDmpn5wOwDzVSMOCWszd6BXjl/LacRPkC58Oj4GCIlEqXo1meBJ7Lc6IG+x7VSjNv19xKVFqULt/Aep2YowIf3TPlQDhkv39Rro434dzm9q/M88JndE6sOqw1MTO+QqPPSUKPDSTWwD72FV4rmVkeXiTKtvMLlAWywQIOFL7ZIVJ50DjYgWV/tx3xz81lnfgwtFa6cT1OwUOfLrAEAe4iF/3hzgY1dfTMB7eKbY+XGpGvrcqAImfcBfMwc2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cefalls7OZJ/U4gD8LAS6kMZwBqRsCgKFKXTSpQwFW8L01xXrb6NQyPdnItO1IRg/65BJQeFdSMzgfAGec22+MBRNbJc9y2mw3iKUxPf42y+Gij/8Th9kLA9pmX8NYcBaIBCXbv3B/9O8FEDsf62XaREG1mwU3wEP1HZ6YeWEeRCR6+0MCGUWrVQK6pAS8uWQPDz1LkoKqjnMsa5OsHnmi211KUAqOV7vDOGu0gKF3t035ojfoGiHO8XgLLd2viHH0t5iaRWtWLV46UuA4uLgIwrQtw+0IQnLfb5xaIQet9zQacBIi7t2eelJvvgkdyAJ2lqexQMrHzicKjvfJQ1BbHtK1Lsisw77jvARF71IywC18fHmr0e+zK1obSva3+dPthu36xCCuoJiZ2E9GmvMkveNA0qMQYavct497T7w0iR71p3k80hOsVGIRnqUaTGifzNJNfg== - template: - metadata: - creationTimestamp: null - name: firefly-iii-secret - namespace: firefly-ns diff --git a/paperless-ngx/paperless-ngx-consume-pvc.yaml b/paperless-ngx/paperless-ngx-consume-pvc.yaml deleted file mode 100644 index 3146566..0000000 --- a/paperless-ngx/paperless-ngx-consume-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: paperless-ngx-consume-pvc - namespace: paperless-ngx-ns -spec: - accessModes: - - ReadWriteMany - storageClassName: longhorn - resources: - requests: - storage: 2Gi diff --git a/paperless-ngx/paperless-ngx-data-pvc.yaml b/paperless-ngx/paperless-ngx-data-pvc.yaml deleted file mode 100644 index 1d4c251..0000000 --- a/paperless-ngx/paperless-ngx-data-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: paperless-ngx-data-pvc - namespace: paperless-ngx-ns -spec: - accessModes: - - ReadWriteMany - storageClassName: longhorn - resources: - requests: - storage: 10Gi diff --git a/paperless-ngx/paperless-ngx-deployment.yaml b/paperless-ngx/paperless-ngx-deployment.yaml deleted file mode 100644 index 0e249af..0000000 --- a/paperless-ngx/paperless-ngx-deployment.yaml +++ /dev/null @@ -1,94 +0,0 @@ -apiVersion: apps/v1 -kind: Deployment -metadata: - name: paperless-ngx - namespace: paperless-ngx-ns -spec: - replicas: 1 - selector: - matchLabels: - app: paperless-ngx - template: - metadata: - labels: - app: paperless-ngx - spec: - containers: - - name: paperless-ngx - image: ghcr.io/paperless-ngx/paperless-ngx:2.3.3 - env: - - name: PAPERLESS_URL - value: "https://paperless.clortox.com" - - name: PAPERLESS_TIME_ZONE - value: America/New_York - - name: PAPERLESS_ADMIN_USER - valueFrom: - secretKeyRef: - name: paperless-config - key: ADMIN_NAME - - name: PAPERLESS_ADMIN_MAIL - valueFrom: - secretKeyRef: - name: paperless-config - key: ADMIN_EMAIL - - name: PAPERLESS_ADMIN_PASSWORD - valueFrom: - secretKeyRef: - name: paperless-config - key: ADMIN_PASSWORD - - #- name: PAPERLESS_ENABLE_HTTP_REMOTE_USER - # value: "true" - #- name: PAPERLESS_HTTP_REMOTE_USER_HEADER_NAME - # value: "HTTP_REMOTE_USER" - #- name: PAPERLESS_LOGOUT_REDIRECT_URL - # value: "" - - - name: PAPERLESS_SECRET_KEY - valueFrom: - secretKeyRef: - name: paperless-config - key: SECRET - # Secret because the URI contains the password - - name: PAPERLESS_REDIS - valueFrom: - secretKeyRef: - name: paperless-config - key: REDIS_URL - - name: PAPERLESS_DBENGINE - value: "postgresql" - - name: PAPERLESS_DBHOST - value: postgresql.postgresql-system.svc.cluster.local - - name: PAPERLESS_DBPORT - value: "5432" - - name: PAPERLESS_DBUSER - value: "paperless" - - name: PAPERLESS_DBPASS - valueFrom: - secretKeyRef: - name: paperless-config - key: POSTGRES_PASS - ports: - - containerPort: 8000 - volumeMounts: - - name: paperless-consume - mountPath: "/usr/src/paperless/consume" - - name: paperless-media - mountPath: "/usr/src/paperless/media" - - name: paperless-export - mountPath: "/usr/src/paperless/export" - - name: paperless-data - mountPath: "/usr/src/paperless/data" - volumes: - - name: paperless-consume - persistentVolumeClaim: - claimName: paperless-ngx-consume-pvc - - name: paperless-media - persistentVolumeClaim: - claimName: paperless-ngx-media-pvc - - name: paperless-export - persistentVolumeClaim: - claimName: paperless-ngx-export-pvc - - name: paperless-data - persistentVolumeClaim: - claimName: paperless-ngx-data-pvc diff --git a/paperless-ngx/paperless-ngx-export-pvc.yaml b/paperless-ngx/paperless-ngx-export-pvc.yaml deleted file mode 100644 index 5f429b6..0000000 --- a/paperless-ngx/paperless-ngx-export-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: paperless-ngx-export-pvc - namespace: paperless-ngx-ns -spec: - accessModes: - - ReadWriteMany - storageClassName: longhorn - resources: - requests: - storage: 1Gi diff --git a/paperless-ngx/paperless-ngx-media-pvc.yaml b/paperless-ngx/paperless-ngx-media-pvc.yaml deleted file mode 100644 index 27aeb18..0000000 --- a/paperless-ngx/paperless-ngx-media-pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: paperless-ngx-media-pvc - namespace: paperless-ngx-ns -spec: - accessModes: - - ReadWriteMany - storageClassName: longhorn - resources: - requests: - storage: 30Gi diff --git a/paperless-ngx/paperless-ngx-service.yaml b/paperless-ngx/paperless-ngx-service.yaml deleted file mode 100644 index 3ee7471..0000000 --- a/paperless-ngx/paperless-ngx-service.yaml +++ /dev/null @@ -1,13 +0,0 @@ -apiVersion: v1 -kind: Service -metadata: - name: paperless-ngx-service - namespace: paperless-ngx-ns -spec: - selector: - app: paperless-ngx - type: LoadBalancer - ports: - - protocol: TCP - port: 80 - targetPort: 8000 diff --git a/paperless-ngx/sealed-secret.yaml b/paperless-ngx/sealed-secret.yaml deleted file mode 100644 index 669703c..0000000 --- a/paperless-ngx/sealed-secret.yaml +++ /dev/null @@ -1,19 +0,0 @@ -apiVersion: bitnami.com/v1alpha1 -kind: SealedSecret -metadata: - creationTimestamp: null - name: paperless-config - namespace: paperless-ng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nBBcXn+fILV0HeuQa8wHNRjIQ++GOfZ5dwbO1BtkInawNIOCzdkLa4C8c/rcLF46dzvhcHDC5t6jlA4fAGkZhlVRwJDmHwPubEuk3vKhXCbDQjlV1vKp7qnscEn4zXGUDVbGundg25ddDH3UCuMazEs7hvOut3WXh/vBXlMVG3k4hL0qubJQM0AhEs8X2vAo0X0tKEkKNqh2D1oWfjFWUT96LBlyfNa2FRlDW6rR1rfr/FKelFonpEY4afy5BIIyrj/RHWdwlliL0DO6MMTEWJxuOyOi/HXh0FAgN7mDQk4n0kttzdVdue/s6aKGltlMRUvH/fugOZNQya5uPrTj2QxB6qmU9dHalbfApdGIMHhdRFrjW/hTjQFLNO+RvMu1wgpB0/s5qDqSD1DqAkSwjkYQv3VjUbyj6Jc9RV192X4DsAJkPJxJKQQ== - template: - metadata: - creationTimestamp: null - name: paperless-config - namespace: paperless-ngx-ns