diff --git a/immich/argocd.yaml b/immich/argocd.yaml deleted file mode 100644 index bc69d1a..0000000 --- a/immich/argocd.yaml +++ /dev/null @@ -1,44 +0,0 @@ -apiVersion: argoproj.io/v1alpha1 -kind: Application -metadata: - name: immich - namespace: argocd - finalizers: - - resources-finalizer.argocd.argoproj.io -spec: - project: default - sources: - - repoURL: ghcr.io/immich-app/immich-charts - chart: immich - targetRevision: 0.10.3 - helm: - valueFiles: - - $values/immich/helm-values.yaml - - repoURL: https://github.com/K3S-HOME/applications.git - targetRevision: main - ref: values - - repoURL: https://github.com/K3S-HOME/applications.git - targetRevision: main - path: immich - destination: - server: https://kubernetes.default.svc - namespace: immich - syncPolicy: - automated: - prune: true - selfHeal: true - allowEmpty: false - syncOptions: - - CreateNamespace=true - - PrunePropagationPolicy=foreground - - PruneLast=true - retry: - limit: 5 - backoff: - duration: 5s - factor: 2 - maxDuration: 3m - managedNamespaceMetadata: - labels: - goldilocks.fairwinds.com/enabled: 'true' - revisionHistoryLimit: 10 diff --git a/immich/helm-values.yaml b/immich/helm-values.yaml deleted file mode 100644 index 8e46292..0000000 --- a/immich/helm-values.yaml +++ /dev/null @@ -1,117 +0,0 @@ -# Immich Helm Values -# Chart: https://github.com/immich-app/immich-charts (v0.10.x) -# Self-hosted photo and video management solution - -# Shared configuration for all components -controllers: - main: - containers: - main: - env: - # External PostgreSQL connection - DB_HOSTNAME: postgresql-rw.postgresql.svc.cluster.local - DB_PORT: "5432" - DB_DATABASE_NAME: immich - DB_USERNAME: bluemayne - DB_PASSWORD: - valueFrom: - secretKeyRef: - name: immich-postgres-password - key: password - # OAuth/OIDC configuration - OAUTH_ENABLED: "true" - OAUTH_ISSUER_URL: https://auth0213.kro.kr - OAUTH_CLIENT_ID: immich - OAUTH_CLIENT_SECRET: - valueFrom: - secretKeyRef: - name: immich-oidc - key: OAUTH_CLIENT_SECRET - OAUTH_SCOPE: "openid profile email" - OAUTH_AUTO_REGISTER: "true" - OAUTH_BUTTON_TEXT: "Login with Authelia" - OAUTH_AUTO_LAUNCH: "true" - -# Immich configuration -immich: - persistence: - library: - existingClaim: immich-library - -# Valkey for job queue -valkey: - enabled: true - controllers: - main: - containers: - main: - image: - repository: docker.io/valkey/valkey - tag: 9.0-alpine - -# Server component -server: - enabled: true - controllers: - main: - containers: - main: - resources: - requests: - cpu: 15m - memory: 512Mi - limits: - memory: 768Mi - probes: - startup: - enabled: true - custom: true - spec: - httpGet: - path: /api/server-info/ping - port: 2283 - periodSeconds: 10 - failureThreshold: 30 - ingress: - main: - enabled: true - className: traefik - annotations: - cert-manager.io/cluster-issuer: letsencrypt-prod - hosts: - - host: immich0213.kro.kr - paths: - - path: / - service: - identifier: main - tls: - - secretName: immich-tls - hosts: - - immich0213.kro.kr - -# Machine Learning component -machine-learning: - enabled: true - controllers: - main: - containers: - main: - resources: - requests: - cpu: 15m - memory: 1Gi - limits: - memory: 1536Mi - probes: - startup: - enabled: true - custom: true - spec: - httpGet: - path: /ping - port: 3003 - periodSeconds: 10 - failureThreshold: 30 - persistence: - cache: - enabled: false diff --git a/immich/kustomization.yaml b/immich/kustomization.yaml deleted file mode 100644 index 0455a27..0000000 --- a/immich/kustomization.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -resources: -- manifests/pvc.yaml -- manifests/secret.yaml -namespace: immich diff --git a/immich/manifests/pvc.yaml b/immich/manifests/pvc.yaml deleted file mode 100644 index 0bcd509..0000000 --- a/immich/manifests/pvc.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: immich-library - namespace: immich -spec: - accessModes: - - ReadWriteOnce - storageClassName: local-path-retain - resources: - requests: - storage: 5Gi diff --git a/immich/manifests/secret.yaml b/immich/manifests/secret.yaml deleted file mode 100644 index 6664713..0000000 --- a/immich/manifests/secret.yaml +++ /dev/null @@ -1,38 +0,0 @@ -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: immich-postgres-password - namespace: immich -spec: - refreshInterval: 1h - secretStoreRef: - kind: ClusterSecretStore - name: vault-backend - target: - name: immich-postgres-password - creationPolicy: Owner - data: - - secretKey: password - remoteRef: - key: postgresql - property: PASSWORD - ---- -apiVersion: external-secrets.io/v1 -kind: ExternalSecret -metadata: - name: immich-oidc - namespace: immich -spec: - refreshInterval: 1h - secretStoreRef: - kind: ClusterSecretStore - name: vault-backend - target: - name: immich-oidc - creationPolicy: Owner - data: - - secretKey: OAUTH_CLIENT_SECRET - remoteRef: - key: authelia - property: IMMICH_CLIENT_SECRET diff --git a/kustomization.yaml b/kustomization.yaml index ff82d91..3fd32a7 100644 --- a/kustomization.yaml +++ b/kustomization.yaml @@ -9,5 +9,4 @@ resources: - code-server/argocd.yaml - umami/argocd.yaml - headlamp/argocd.yaml - - immich/argocd.yaml - mas/argocd.yaml