Skip to content
Snippets Groups Projects
Verified Commit 4ca25921 authored by Sheogorath's avatar Sheogorath :european_castle:
Browse files

fix(immich): Add config mount to machinelearning

parent 53239aea
No related branches found
No related tags found
No related merge requests found
...@@ -93,6 +93,28 @@ spec: ...@@ -93,6 +93,28 @@ spec:
- key: immich.config - key: immich.config
path: immich.config path: immich.config
mode: 0440 mode: 0440
- target:
version: v1
group: apps
kind: Deployment
name: immich-machine-learning
patch:
- op: "add"
path: /spec/template/spec/containers/0/volumeMounts/-
value:
name: configfile
mountPath: /mnt/config/immich/
- op: "add"
path: /spec/template/spec/volumes/-
value:
name: configfile
secret:
secretName: immich-override-values
optional: true
items:
- key: immich.config
path: immich.config
mode: 0440
--- ---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
...@@ -101,6 +123,8 @@ metadata: ...@@ -101,6 +123,8 @@ metadata:
namespace: immich namespace: immich
data: data:
values.yaml: | values.yaml: |
annotation:
rollme: 2024-02-08
env: env:
DB_HOSTNAME: immich-postgres.immich.svc.cluster.local DB_HOSTNAME: immich-postgres.immich.svc.cluster.local
DB_DATABASE_NAME: immich DB_DATABASE_NAME: immich
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment