From c8ea468495a810059440dc067077cf395e3c2181 Mon Sep 17 00:00:00 2001 From: Joseph Hanson Date: Tue, 28 May 2024 08:53:28 -0500 Subject: [PATCH] re-add immich when nvidia is supported with zfs on talos --- .../kubernetes}/media/immich/app/configmap.yaml | 2 +- .../kubernetes}/media/immich/app/externalsecret.yaml | 0 .../kubernetes}/media/immich/app/gatus.yaml | 2 +- .../kubernetes}/media/immich/app/helmrelease.yaml | 0 .../kubernetes}/media/immich/app/kustomization.yaml | 0 .../immich/app/machine-learning/helmrelease.yaml | 2 +- .../immich/app/machine-learning/kustomization.yaml | 2 +- .../media/immich/app/microservices/helmrelease.yaml | 2 +- .../media/immich/app/microservices/kustomization.yaml | 2 +- .../kubernetes}/media/immich/app/postgresCluster.yaml | 0 .../kubernetes}/media/immich/app/pushsecret.yaml | 2 +- .../kubernetes}/media/immich/app/resources/init.sql | 2 +- .../kubernetes}/media/immich/app/service.yaml | 11 ++++++----- .../apps => .archive/kubernetes}/media/immich/ks.yaml | 0 .../kubernetes}/media/kustomization.yaml | 0 .../apps => .archive/kubernetes}/media/namespace.yaml | 0 16 files changed, 14 insertions(+), 13 deletions(-) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/configmap.yaml (94%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/externalsecret.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/gatus.yaml (94%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/helmrelease.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/kustomization.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/machine-learning/helmrelease.yaml (98%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/machine-learning/kustomization.yaml (93%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/microservices/helmrelease.yaml (98%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/microservices/kustomization.yaml (94%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/postgresCluster.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/pushsecret.yaml (96%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/resources/init.sql (65%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/app/service.yaml (77%) rename {kubernetes/apps => .archive/kubernetes}/media/immich/ks.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/kustomization.yaml (100%) rename {kubernetes/apps => .archive/kubernetes}/media/namespace.yaml (100%) diff --git a/kubernetes/apps/media/immich/app/configmap.yaml b/.archive/kubernetes/media/immich/app/configmap.yaml similarity index 94% rename from kubernetes/apps/media/immich/app/configmap.yaml rename to .archive/kubernetes/media/immich/app/configmap.yaml index 720b97cc..a7555bc7 100644 --- a/kubernetes/apps/media/immich/app/configmap.yaml +++ b/.archive/kubernetes/media/immich/app/configmap.yaml @@ -13,4 +13,4 @@ data: REDIS_PORT: "6379" IMMICH_WEB_URL: http://immich-web.media.svc.cluster.local:3000 IMMICH_SERVER_URL: http://immich-server.media.svc.cluster.local:3001 - IMMICH_MACHINE_LEARNING_URL: http://immich-machine-learning.media.svc.cluster.local:3003 \ No newline at end of file + IMMICH_MACHINE_LEARNING_URL: http://immich-machine-learning.media.svc.cluster.local:3003 diff --git a/kubernetes/apps/media/immich/app/externalsecret.yaml b/.archive/kubernetes/media/immich/app/externalsecret.yaml similarity index 100% rename from kubernetes/apps/media/immich/app/externalsecret.yaml rename to .archive/kubernetes/media/immich/app/externalsecret.yaml diff --git a/kubernetes/apps/media/immich/app/gatus.yaml b/.archive/kubernetes/media/immich/app/gatus.yaml similarity index 94% rename from kubernetes/apps/media/immich/app/gatus.yaml rename to .archive/kubernetes/media/immich/app/gatus.yaml index 135567da..aa976954 100644 --- a/kubernetes/apps/media/immich/app/gatus.yaml +++ b/.archive/kubernetes/media/immich/app/gatus.yaml @@ -18,4 +18,4 @@ data: conditions: - "[CONNECTED] == true" alerts: - - type: pushover \ No newline at end of file + - type: pushover diff --git a/kubernetes/apps/media/immich/app/helmrelease.yaml b/.archive/kubernetes/media/immich/app/helmrelease.yaml similarity index 100% rename from kubernetes/apps/media/immich/app/helmrelease.yaml rename to .archive/kubernetes/media/immich/app/helmrelease.yaml diff --git a/kubernetes/apps/media/immich/app/kustomization.yaml b/.archive/kubernetes/media/immich/app/kustomization.yaml similarity index 100% rename from kubernetes/apps/media/immich/app/kustomization.yaml rename to .archive/kubernetes/media/immich/app/kustomization.yaml diff --git a/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml b/.archive/kubernetes/media/immich/app/machine-learning/helmrelease.yaml similarity index 98% rename from kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml rename to .archive/kubernetes/media/immich/app/machine-learning/helmrelease.yaml index a4b66afe..a481b4c4 100644 --- a/kubernetes/apps/media/immich/app/machine-learning/helmrelease.yaml +++ b/.archive/kubernetes/media/immich/app/machine-learning/helmrelease.yaml @@ -79,4 +79,4 @@ spec: - path: /usr/src/app/upload cache: enabled: true - type: emptyDir \ No newline at end of file + type: emptyDir diff --git a/kubernetes/apps/media/immich/app/machine-learning/kustomization.yaml b/.archive/kubernetes/media/immich/app/machine-learning/kustomization.yaml similarity index 93% rename from kubernetes/apps/media/immich/app/machine-learning/kustomization.yaml rename to .archive/kubernetes/media/immich/app/machine-learning/kustomization.yaml index f191df21..11efb15f 100644 --- a/kubernetes/apps/media/immich/app/machine-learning/kustomization.yaml +++ b/.archive/kubernetes/media/immich/app/machine-learning/kustomization.yaml @@ -8,4 +8,4 @@ labels: app.kubernetes.io/instance: immich-machine-learning app.kubernetes.io/part-of: immich resources: - - ./helmrelease.yaml \ No newline at end of file + - ./helmrelease.yaml diff --git a/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml b/.archive/kubernetes/media/immich/app/microservices/helmrelease.yaml similarity index 98% rename from kubernetes/apps/media/immich/app/microservices/helmrelease.yaml rename to .archive/kubernetes/media/immich/app/microservices/helmrelease.yaml index 23e54fc2..420f7183 100644 --- a/kubernetes/apps/media/immich/app/microservices/helmrelease.yaml +++ b/.archive/kubernetes/media/immich/app/microservices/helmrelease.yaml @@ -77,4 +77,4 @@ spec: server: 10.1.1.13 path: /eru/media/immich globalMounts: - - path: /usr/src/app/upload \ No newline at end of file + - path: /usr/src/app/upload diff --git a/kubernetes/apps/media/immich/app/microservices/kustomization.yaml b/.archive/kubernetes/media/immich/app/microservices/kustomization.yaml similarity index 94% rename from kubernetes/apps/media/immich/app/microservices/kustomization.yaml rename to .archive/kubernetes/media/immich/app/microservices/kustomization.yaml index 1d5656a2..3184c846 100644 --- a/kubernetes/apps/media/immich/app/microservices/kustomization.yaml +++ b/.archive/kubernetes/media/immich/app/microservices/kustomization.yaml @@ -8,4 +8,4 @@ labels: app.kubernetes.io/instance: immich-microservices app.kubernetes.io/part-of: immich resources: - - ./helmrelease.yaml \ No newline at end of file + - ./helmrelease.yaml diff --git a/kubernetes/apps/media/immich/app/postgresCluster.yaml b/.archive/kubernetes/media/immich/app/postgresCluster.yaml similarity index 100% rename from kubernetes/apps/media/immich/app/postgresCluster.yaml rename to .archive/kubernetes/media/immich/app/postgresCluster.yaml diff --git a/kubernetes/apps/media/immich/app/pushsecret.yaml b/.archive/kubernetes/media/immich/app/pushsecret.yaml similarity index 96% rename from kubernetes/apps/media/immich/app/pushsecret.yaml rename to .archive/kubernetes/media/immich/app/pushsecret.yaml index e2a8ca31..6a84b359 100644 --- a/kubernetes/apps/media/immich/app/pushsecret.yaml +++ b/.archive/kubernetes/media/immich/app/pushsecret.yaml @@ -37,4 +37,4 @@ spec: secretKey: port remoteRef: remoteKey: immich - property: DATABASE_PORT \ No newline at end of file + property: DATABASE_PORT diff --git a/kubernetes/apps/media/immich/app/resources/init.sql b/.archive/kubernetes/media/immich/app/resources/init.sql similarity index 65% rename from kubernetes/apps/media/immich/app/resources/init.sql rename to .archive/kubernetes/media/immich/app/resources/init.sql index 39faae3e..af7e500b 100644 --- a/kubernetes/apps/media/immich/app/resources/init.sql +++ b/.archive/kubernetes/media/immich/app/resources/init.sql @@ -1,4 +1,4 @@ \c immich\\ CREATE EXTENSION vector; CREATE EXTENSION cube; -CREATE EXTENSION earthdistance; \ No newline at end of file +CREATE EXTENSION earthdistance; diff --git a/kubernetes/apps/media/immich/app/service.yaml b/.archive/kubernetes/media/immich/app/service.yaml similarity index 77% rename from kubernetes/apps/media/immich/app/service.yaml rename to .archive/kubernetes/media/immich/app/service.yaml index 21caf5f0..863dc525 100644 --- a/kubernetes/apps/media/immich/app/service.yaml +++ b/.archive/kubernetes/media/immich/app/service.yaml @@ -1,3 +1,4 @@ +--- apiVersion: v1 kind: Service metadata: @@ -9,11 +10,11 @@ metadata: spec: internalTrafficPolicy: Cluster ports: - - name: postgres - port: 5432 - protocol: TCP - targetPort: postgres + - name: postgres + port: 5432 + protocol: TCP + targetPort: postgres selector: postgres-operator.crunchydata.com/cluster: immich postgres-operator.crunchydata.com/role: master - type: ClusterIP \ No newline at end of file + type: ClusterIP diff --git a/kubernetes/apps/media/immich/ks.yaml b/.archive/kubernetes/media/immich/ks.yaml similarity index 100% rename from kubernetes/apps/media/immich/ks.yaml rename to .archive/kubernetes/media/immich/ks.yaml diff --git a/kubernetes/apps/media/kustomization.yaml b/.archive/kubernetes/media/kustomization.yaml similarity index 100% rename from kubernetes/apps/media/kustomization.yaml rename to .archive/kubernetes/media/kustomization.yaml diff --git a/kubernetes/apps/media/namespace.yaml b/.archive/kubernetes/media/namespace.yaml similarity index 100% rename from kubernetes/apps/media/namespace.yaml rename to .archive/kubernetes/media/namespace.yaml