diff --git a/k8s/apps/photoprism/Chart.yaml b/k8s/apps/photoprism/Chart.yaml deleted file mode 100644 index 34242db..0000000 --- a/k8s/apps/photoprism/Chart.yaml +++ /dev/null @@ -1,6 +0,0 @@ -apiVersion: v2 -name: photoprism -description: An . service for homelab -type: application -version: 0.1.0 -dependencies: [] diff --git a/k8s/apps/photoprism/templates/configmap-envs.yaml b/k8s/apps/photoprism/templates/configmap-envs.yaml deleted file mode 100644 index eea2132..0000000 --- a/k8s/apps/photoprism/templates/configmap-envs.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: photoprism-envs -data: - PHOTOPRISM_SITE_CAPTION: {{ .Values.photoprism.site.caption }} - PHOTOPRISM_SITE_DESCRIPTION: {{ .Values.photoprism.site.description }} - PHOTOPRISM_SITE_AUTHOR: {{ .Values.photoprism.site.authtor }} - PHOTOPRISM_SITE_URL: {{ .Values.photoprism.site.url }} - PHOTOPRISM_DATABASE_DRIVER: "mysql" - PHOTOPRISM_DATABASE_SERVER: "{{ .Values.database.service.name }}.{{ .Release.Namespace }}.svc.cluster.local:3306" -{{- range $envName, $envValue := (.Values.photoprism.env | default (dict )) }} - {{ $envName }}: "{{$envValue}}" -{{- end }} - ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: database-envs -data: -{{- range $envName, $envValue := (.Values.database.env | default (dict )) }} - {{ $envName }}: "{{$envValue}}" -{{- end }} diff --git a/k8s/apps/photoprism/templates/deploy-db.yaml b/k8s/apps/photoprism/templates/deploy-db.yaml deleted file mode 100644 index 48155ab..0000000 --- a/k8s/apps/photoprism/templates/deploy-db.yaml +++ /dev/null @@ -1,77 +0,0 @@ ---- -apiVersion: apps/v1 -kind: StatefulSet -metadata: - name: database -spec: - selector: - matchLabels: - app: database - replicas: 1 - revisionHistoryLimit: 2 - updateStrategy: - type: RollingUpdate - volumeClaimTemplates: - - metadata: - name: storage - finalizers: - - kubernetes.io/pvc-protection - spec: - accessModes: - - ReadWriteOnce - storageClassName: {{ .Values.database.storageClass }} - resources: - requests: - storage: 10Gi - limits: - storage: 100Gi - template: - metadata: - labels: - app: database - spec: - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 1 - preference: - matchExpressions: - - key: homelab/capacity - operator: In - values: - - med - - low - containers: - - name: app - image: "{{ .Values.database.image.repo }}:{{ .Values.database.image.tag }}" - envFrom: - - configMapRef: - name: database-envs - env: - - name: MARIADB_USER - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.username }} - - name: MARIADB_DATABASE - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.database }} - - name: MARIADB_PASSWORD - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.password }} - - name: MARIADB_ROOT_PASSWORD - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.password }} - resources: {} - ports: - - containerPort: 3306 - protocol: TCP - volumeMounts: - - name: storage - mountPath: /var/lib/mysql \ No newline at end of file diff --git a/k8s/apps/photoprism/templates/deploy-photoprism.yaml b/k8s/apps/photoprism/templates/deploy-photoprism.yaml deleted file mode 100644 index c6067d2..0000000 --- a/k8s/apps/photoprism/templates/deploy-photoprism.yaml +++ /dev/null @@ -1,103 +0,0 @@ ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: photoprism -spec: - selector: - matchLabels: - app: photoprism - replicas: 1 - revisionHistoryLimit: 2 - updateStrategy: - type: RollingUpdate - template: - metadata: - labels: - app: photoprism - spec: - affinity: - nodeAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - weight: 1 - preference: - matchExpressions: - - key: homelab/capacity - operator: In - values: - - med - - hight - containers: - - name: app - image: "{{ .Values.photoprism.image.repo }}:{{ .Values.photoprism.image.tag }}" - envFrom: - - configMapRef: - name: photoprism-envs - env: - - name: PHOTOPRISM_ADMIN_USER - valueFrom: - secretKeyRef: - name: {{ .Values.photoprism.auth.secretName }} - key: {{ .Values.photoprism.auth.secretKeys.username }} - - name: PHOTOPRISM_ADMIN_PASSWORD - valueFrom: - secretKeyRef: - name: {{ .Values.photoprism.auth.secretName }} - key: {{ .Values.photoprism.auth.secretKeys.password }} - - name: PHOTOPRISM_AUTH_MODE - valueFrom: - secretKeyRef: - name: {{ .Values.photoprism.auth.secretName }} - key: {{ .Values.photoprism.auth.secretKeys.mode }} - - name: PHOTOPRISM_DATABASE_USER - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.username }} - - name: PHOTOPRISM_DATABASE_NAME - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.database }} - - name: PHOTOPRISM_DATABASE_PASSWORD - valueFrom: - secretKeyRef: - name: {{ .Values.database.auth.secretName }} - key: {{ .Values.database.auth.secretKeys.password }} - resources: {} - ports: - - containerPort: 2342 - protocol: TCP - volumeMounts: - {{ if .Values.photoprism.volumes.originals }} - - name: originals - mountPath: /photoprism/originals - {{- end }} - {{ if .Values.photoprism.volumes.import }} - - name: import - mountPath: /photoprism/import - {{- end }} - {{ if .Values.photoprism.volumes.storage }} - - name: storage - mountPath: /photoprism/storage - {{- end }} - volumes: - {{ if .Values.photoprism.volumes.originals }} - - name: originals - nfs: - server: "{{ $.Values.global.nfs.server }}" - path: "{{ .Values.photoprism.volumes.originals }}" - readOnly: true - {{- end }} - {{ if .Values.photoprism.volumes.import }} - - name: import - nfs: - server: "{{ $.Values.global.nfs.server }}" - path: "{{ .Values.photoprism.volumes.import }}" - readOnly: true - {{- end }} - {{ if .Values.photoprism.volumes.storage }} - - name: storage - persistentVolumeClaim: - claimName: "{{ .Values.photoprism.volumes.storage }}" - {{- end }} \ No newline at end of file diff --git a/k8s/apps/photoprism/templates/svc.yaml b/k8s/apps/photoprism/templates/svc.yaml deleted file mode 100644 index 31a899f..0000000 --- a/k8s/apps/photoprism/templates/svc.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -kind: Service -apiVersion: v1 -metadata: - name: photoprism -spec: - selector: - app: photoprism - type: ClusterIP - ports: - - port: 2342 - targetPort: 2342 - name: "http" ---- -kind: Service -apiVersion: v1 -metadata: - name: {{ .Values.database.service.name }} -spec: - selector: - app: database - type: ClusterIP - ports: - - port: 3306 - targetPort: 3306 - name: "http" diff --git a/k8s/apps/photoprism/values-dev.yaml b/k8s/apps/photoprism/values-dev.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/k8s/apps/photoprism/values-prod.yaml b/k8s/apps/photoprism/values-prod.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/k8s/apps/photoprism/values.yaml b/k8s/apps/photoprism/values.yaml deleted file mode 100644 index c62c8ec..0000000 --- a/k8s/apps/photoprism/values.yaml +++ /dev/null @@ -1,58 +0,0 @@ -version: '3.5' - -# Example Docker Compose config file for PhotoPrism (Linux / AMD64) -photoprism: - site: - caption: "AI Photos" - description: "AI Photos" - authtor: "" - url: "http://photoprism.me:2342/" - image: - repo: photoprism/photoprism - tag: "230603" - env: - PHOTOPRISM_ORIGINALS_LIMIT: 5000 # file size limit for originals in MB (increase for high-res video) - PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip) - PHOTOPRISM_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic - PHOTOPRISM_READONLY: "true" # do not modify originals directory (reduced functionality) - PHOTOPRISM_EXPERIMENTAL: "false" # enables experimental features - PHOTOPRISM_DISABLE_CHOWN: "true" # disables updating storage permissions via chmod and chown on startup - PHOTOPRISM_DISABLE_WEBDAV: "false" # disables built-in WebDAV server - PHOTOPRISM_DISABLE_SETTINGS: "false" # disables settings UI and API - PHOTOPRISM_DISABLE_TENSORFLOW: "false" # disables all features depending on TensorFlow - PHOTOPRISM_DISABLE_FACES: "false" # disables face detection and recognition (requires TensorFlow) - PHOTOPRISM_DISABLE_CLASSIFICATION: "false" # disables image classification (requires TensorFlow) - PHOTOPRISM_DISABLE_VECTORS: "false" # disables vector graphics support - PHOTOPRISM_DISABLE_RAW: "false" # disables indexing and conversion of RAW images - PHOTOPRISM_RAW_PRESETS: "false" # enables applying user presets when converting RAW images (reduces performance) - PHOTOPRISM_JPEG_QUALITY: 85 # a higher value increases the quality and file size of JPEG images and thumbnails (25-100) - PHOTOPRISM_DETECT_NSFW: "false" # automatically flags photos as private that MAY be offensive (requires TensorFlow) - PHOTOPRISM_UPLOAD_NSFW: "true" # allows uploads that MAY be offensive (no effect without TensorFlow) - volumes: - originals: ~ - import: ~ - storage: ~ - additional: [] - auth: - secretName: "" - secretKeys: - username: "PHOTOPRISM_ADMIN_USER" - password: "PHOTOPRISM_ADMIN_PASSWORD" - mode: "PHOTOPRISM_AUTH_MODE" -database: - service: - name: "database" - image: - repo: mariadb - tag: "10.11" - storageClass: ~ - auth: - secretName: "" - secretKeys: - username: "MARIADB_USER" - password: "MARIADB_PASSWORD" - root_password: "MARIADB_ROOT_PASSWORD" - database: "MARIADB_DATABASE" - env: - MARIADB_AUTO_UPGRADE: "1" - MARIADB_INITDB_SKIP_TZINFO: "1" diff --git a/k8s/apps/photos/Chart.yaml b/k8s/apps/photos/Chart.yaml deleted file mode 100644 index 25aeacc..0000000 --- a/k8s/apps/photos/Chart.yaml +++ /dev/null @@ -1,12 +0,0 @@ -apiVersion: v2 -name: photos -description: An apps service for homelab -type: application -version: 0.1.0 -appVersion: "edge" -dependencies: - - name: redis - alias: immich-redis - condition: redis.enabled - repository: https://charts.bitnami.com/bitnami - version: 17.11.6 \ No newline at end of file diff --git a/k8s/apps/photos/README_CONFIG.md.gotmpl b/k8s/apps/photos/README_CONFIG.md.gotmpl deleted file mode 100644 index 0360bf6..0000000 --- a/k8s/apps/photos/README_CONFIG.md.gotmpl +++ /dev/null @@ -1,9 +0,0 @@ -{{- define "custom.custom.configuration.header" -}} -## Custom configuration -{{- end -}} - -{{- define "custom.custom.configuration" -}} -{{ template "custom.custom.configuration.header" . }} - -N/A -{{- end -}} \ No newline at end of file diff --git a/k8s/apps/photos/templates/immich/_heplers.yaml b/k8s/apps/photos/templates/immich/_heplers.yaml deleted file mode 100644 index f2f7d43..0000000 --- a/k8s/apps/photos/templates/immich/_heplers.yaml +++ /dev/null @@ -1,124 +0,0 @@ -{{ define "homelab.immich.deployment" }} ---- -apiVersion: v1 -kind: Service -metadata: - name: immich-{{ .name }} -spec: - type: ClusterIP - ports: - - port: {{ .port }} - targetPort: http - protocol: TCP - name: http - selector: - homelab/name: immich - app.kubernetes.io/name: {{ .name }} - app.kubernetes.io/instance: photos - -{{ range $key, $val := .persistence }} ---- -apiVersion: v1 -kind: PersistentVolumeClaim -metadata: - name: immich-{{ $.name }}-{{ $key }} -spec: - storageClassName: {{ $.global.nfs.storageClass }} - accessModes: - {{- $val.accessModes | toYaml | nindent 4 }} - resources: - {{- $val.resources | toYaml | nindent 4 }} -{{ end }} - ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - name: immich-{{ .name }} -spec: - revisionHistoryLimit: 2 - replicas: {{ .replicas | int }} -{{ if .strategy }} - strategy: - {{ .strategy | toYaml | nindent 8 }} -{{ else }} - strategy: - type: RollingUpdate - rollingUpdate: - maxSurge: 2 - maxUnavailable: 0 -{{ end }} - selector: - matchLabels: - homelab/name: immich - app.kubernetes.io/name: {{ .name }} - app.kubernetes.io/instance: photos - template: - metadata: - labels: - homelab/name: immich - app.kubernetes.io/name: {{ .name }} - app.kubernetes.io/instance: photos - spec: - containers: - - name: {{ .name }} - image: "{{.image}}:{{ .version }}" - imagePullPolicy: IfNotPresent - envFrom: - - configMapRef: - name: immich-shared-envs - - secretRef: - name: immich-shared-envs - - secretRef: - name: immich-db - {{ if .env }} - env: - {{ .env | toYaml | nindent 24 }} - {{ end }} - ports: - - name: http - containerPort: {{ .port }} - protocol: TCP - volumeMounts: - - name: library - mountPath: "{{ .libraryMountPath }}" - subPath: "{{ .libraryMounSubPath }}" - - name: import - mountPath: "{{ .importMountPath }}" - subPath: "{{ .importMounSubPath }}" -{{- range $key, $val := .persistence }} - - name: {{ $key }} - mountPath: {{ $val.mountPath }} -{{ end }} - {{ if .command }} - command: - {{ .command | toYaml | nindent 24 }} - {{ end }} - {{ if .args }} - args: - {{ .args | toYaml | nindent 24 }} - {{ end }} - {{ if .livenessProbe }} - livenessProbe: - {{ .livenessProbe | toYaml | nindent 24 }} - {{ end }} - {{ if .readinessProbe }} - readinessProbe: - {{ .readinessProbe | toYaml | nindent 24 }} - {{ end }} - {{ if .startupProbe }} - startupProbe: - {{ .startupProbe | toYaml | nindent 24 }} - {{ end }} - volumes: - - name: library - {{- .libraryPVC | toYaml | nindent 20 }} - - name: import - {{- .importPVC | toYaml | nindent 20 }} -{{- range $key, $val := .persistence }} - - name: {{ $key }} - persistentVolumeClaim: - claimName: immich-{{ $.name }}-{{ $key }} -{{ end }} - -{{ end }} \ No newline at end of file diff --git a/k8s/apps/photos/templates/immich/config-shared-envs.yaml b/k8s/apps/photos/templates/immich/config-shared-envs.yaml deleted file mode 100644 index 84e4a44..0000000 --- a/k8s/apps/photos/templates/immich/config-shared-envs.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -apiVersion: v1 -kind: ConfigMap -metadata: - name: immich-shared-envs -data: - # general - TZ: {{ $.Values.global.timezone }} - LOG_LEVEL: log - PUBLIC_LOGIN_PAGE_MESSAGE: Sosnovsky - IMMICH_MEDIA_LOCATION: /shared/media/ - # ports - SERVER_PORT: "{{ $.Values.immich.apps.server.port }}" - MICROSERVICES_PORT: "{{ $.Values.immich.apps.microservices.port }}" - MACHINE_LEARNING_PORT: "{{ $.Values.immich.apps.machineLearning.port }}" - # db & redis - REDIS_HOSTNAME: "immich-redis-headless.{{ $.Release.Namespace }}.svc.cluster.local" - # typesense - TYPESENSE_ENABLED: "true" - TYPESENSE_HOST: "immich-typesense.{{ $.Release.Namespace }}.svc.cluster.local" - TYPESENSE_PORT: "{{ $.Values.immich.apps.typesense.port }}" \ No newline at end of file diff --git a/k8s/apps/photos/templates/immich/deploy.yaml b/k8s/apps/photos/templates/immich/deploy.yaml deleted file mode 100644 index 86d00f4..0000000 --- a/k8s/apps/photos/templates/immich/deploy.yaml +++ /dev/null @@ -1,8 +0,0 @@ -{{ $shared := .Values.immich.shared }} -{{- range $key, $val := .Values.immich.apps }} - {{- $settings := deepCopy $.Values.immich.shared | merge $val -}} - {{ $_ := set $settings "name" ( lower $key ) }} - {{ $_ := set $settings "global" $.Values.global }} - - {{ include "homelab.immich.deployment" $settings }} -{{ end -}} \ No newline at end of file diff --git a/k8s/apps/photos/templates/immich/secret-db.yaml b/k8s/apps/photos/templates/immich/secret-db.yaml deleted file mode 100644 index 2379114..0000000 --- a/k8s/apps/photos/templates/immich/secret-db.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -apiVersion: external-secrets.io/v1beta1 -kind: ExternalSecret -metadata: - name: "immich-db" -spec: - refreshInterval: 1h - secretStoreRef: - kind: ClusterSecretStore - name: chart-database - target: - name: "immich-db" - data: - - secretKey: "DB_USERNAME" - remoteRef: - key: "password.pg.immich" - property: username - - - secretKey: "DB_PASSWORD" - remoteRef: - key: "password.pg.immich" - property: password - - - secretKey: "DB_HOSTNAME" - remoteRef: - key: "password.pg.immich" - property: host - - - secretKey: "DB_PORT" - remoteRef: - key: "password.pg.immich" - property: host diff --git a/k8s/apps/photos/templates/immich/secret-envs.yaml b/k8s/apps/photos/templates/immich/secret-envs.yaml deleted file mode 100644 index 398f595..0000000 --- a/k8s/apps/photos/templates/immich/secret-envs.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -apiVersion: v1 -kind: Secret -type: Opaque -metadata: - name: immich-shared-envs - annotations: - secret-generator.v1.mittwald.de/autogenerate: TYPESENSE_API_KEY -stringData: - DB_DATABASE_NAME: immich \ No newline at end of file diff --git a/k8s/apps/photos/values-dev.yaml b/k8s/apps/photos/values-dev.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/k8s/apps/photos/values-prod.yaml b/k8s/apps/photos/values-prod.yaml deleted file mode 100644 index e69de29..0000000 diff --git a/k8s/apps/photos/values.yaml b/k8s/apps/photos/values.yaml deleted file mode 100644 index e3612b8..0000000 --- a/k8s/apps/photos/values.yaml +++ /dev/null @@ -1,273 +0,0 @@ - -global: - timezone: changeme - nfs: - storageClass: changeme - -immich: - shared: - version: v1.88.2 - importMountPath: /media/import - importMountSubPath: "Pictures" - importPVC: - nfs: - path: changeme - server: changeme - - libraryMounSubPath: "Pictures/Immich" - libraryMountPath: /usr/src/app/upload - libraryPVC: - nfs: - path: changeme - server: changeme - apps: - server: - replicas: 1 - port: 80 - image: ghcr.io/immich-app/immich-server - command: [ "/bin/sh" ] - args: [./start-server.sh] - livenessProbe: - failureThreshold: 3 - httpGet: - path: /api/server-info/ping - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - readinessProbe: - failureThreshold: 3 - httpGet: - path: /api/server-info/ping - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - microservices: - replicas: 1 - port: 80 - image: ghcr.io/immich-app/immich-server - args: - - ./start-microservices.sh - env: - - name: REVERSE_GEOCODING_DUMP_DIRECTORY - value: /geodata-cache - persistence: - geodata-cache: - mountPath: /geodata-cache - accessModes: - - ReadWriteMany - resources: - limits: - storage: 5Gi - requests: - storage: 5Gi - machineLearning: - replicas: 1 - port: 80 - image: ghcr.io/immich-app/immich-machine-learning - env: - - name: TRANSFORMERS_CACHE - value: /cache - persistence: - cache: - mountPath: /cache - accessModes: - - ReadWriteMany - resources: - limits: - storage: 5Gi - requests: - storage: 5Gi - livenessProbe: - failureThreshold: 3 - httpGet: - path: /ping - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - readinessProbe: - failureThreshold: 3 - httpGet: - path: /ping - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - typesense: - replicas: 1 - strategy: - type: Recreate - port: 8108 - image: docker.io/typesense/typesense - version: 0.24.0 - env: - - name: TYPESENSE_DATA_DIR - value: /tsdata - persistence: - tsdata: - mountPath: /tsdata - accessModes: - - ReadWriteMany - resources: - limits: - storage: 5Gi - requests: - storage: 5Gi - livenessProbe: - failureThreshold: 3 - httpGet: - path: /health - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - readinessProbe: - failureThreshold: 3 - httpGet: - path: /health - port: http - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 1 - -immich-redis: - enabled: true - fullnameOverride: immich-redis - architecture: standalone - auth: - enabled: false - - - - -# ## This chart relies on the common library chart from bjw-s -# ## You can find it at https://github.com/bjw-s/helm-charts/tree/main/charts/library/common -# ## Refer there for more detail about the supported values - -# # These entries are shared between all the Immich components - -# env: -# REDIS_HOSTNAME: '{{ printf "%s-redis-master" .Release.Name }}' -# DB_HOSTNAME: "{{ .Release.Name }}-postgresql" -# DB_USERNAME: "{{ .Values.postgresql.global.postgresql.auth.username }}" -# DB_DATABASE_NAME: "{{ .Values.postgresql.global.postgresql.auth.database }}" -# # -- You should provide your own secret outside of this helm-chart and use `postgresql.global.postgresql.auth.existingSecret` to provide credentials to the postgresql instance -# DB_PASSWORD: "{{ .Values.postgresql.global.postgresql.auth.password }}" -# TYPESENSE_ENABLED: "{{ .Values.typesense.enabled }}" -# TYPESENSE_API_KEY: "{{ .Values.typesense.env.TYPESENSE_API_KEY }}" -# TYPESENSE_HOST: '{{ printf "%s-typesense" .Release.Name }}' -# IMMICH_WEB_URL: '{{ printf "http://%s-web:3000" .Release.Name }}' -# IMMICH_SERVER_URL: '{{ printf "http://%s-server:3001" .Release.Name }}' -# IMMICH_MACHINE_LEARNING_URL: '{{ printf "http://%s-machine-learning:3003" .Release.Name }}' - -# image: -# tag: v1.79.1 - -# immich: -# persistence: -# # Main data store for all photos shared between different components. -# library: -# # Automatically creating the library volume is not supported by this chart -# # You have to specify an existing PVC to use -# existingClaim: - -# # Dependencies - -# postgresql: -# enabled: false -# global: -# postgresql: -# auth: -# username: immich -# database: immich -# password: immich - - -# typesense: -# enabled: true -# env: -# TYPESENSE_DATA_DIR: /tsdata -# TYPESENSE_API_KEY: typesense -# persistence: -# tsdata: -# enabled: true -# accessMode: ReadWriteOnce -# size: 1Gi -# # storageClass: storage-class -# image: -# repository: docker.io/typesense/typesense -# tag: 0.24.0 -# pullPolicy: IfNotPresent - -# # Immich components - -# server: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-server -# pullPolicy: IfNotPresent - -# microservices: -# enabled: true -# env: -# REVERSE_GEOCODING_DUMP_DIRECTORY: /geodata-cache -# persistence: -# geodata-cache: -# enabled: true -# size: 1Gi -# accessMode: ReadWriteMany -# # storageClass: your-class -# image: -# repository: ghcr.io/immich-app/immich-server -# pullPolicy: IfNotPresent - -# machine-learning: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-machine-learning -# pullPolicy: IfNotPresent -# env: -# TRANSFORMERS_CACHE: /cache -# persistence: -# cache: -# enabled: true -# size: 10Gi -# accessMode: ReadWriteMany -# # storageClass: your-class - -# web: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-web -# pullPolicy: IfNotPresent -# persistence: -# library: -# enabled: true -# size: 10Gi -# accessMode: ReadWriteMany - -# proxy: -# enabled: true -# image: -# repository: ghcr.io/immich-app/immich-proxy -# pullPolicy: IfNotPresent - -# persistence: -# library: -# enabled: true -# size: 10Gi -# accessMode: ReadWriteMany - -# ingress: -# main: -# enabled: false -# annotations: -# # proxy-body-size is set to 0 to remove the body limit on file uploads -# nginx.ingress.kubernetes.io/proxy-body-size: "0" -# hosts: -# - host: immich.local -# paths: -# - path: "/" -# tls: [] \ No newline at end of file diff --git a/k8s/argoapps/apps-values/photoprism.yaml b/k8s/argoapps/apps-values/photoprism.yaml deleted file mode 100644 index 5f7c96a..0000000 --- a/k8s/argoapps/apps-values/photoprism.yaml +++ /dev/null @@ -1,19 +0,0 @@ - -photoprism: - site: - caption: "Sosnovsky Photos" - description: "Family Photos" - authtor: "{{ .Values.global.email }}" - url: "https://photoprism.{{ .Values.global.rootSubDomain }}.{{ .Values.global.domain }}" - volumes: - originals: {{ .Values.global.nfs.additionalShares.familyphotos }} - import: ~ - storage: {{ .Values.storage.photoprism.name }} - additional: [] - auth: - secretName: {{ .Values.secrets.photoprism.secrets.auth.name }} - -database: - storageClass: {{ .Values.global.nfs.storageClass }} - auth: - secretName: {{ .Values.secrets.photoprism.secrets.db.name }}