blob: 1faca3472280107fe1934d23003f729ba2002186 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
- name: Add Immich remote chart
kubernetes.core.helm_repository:
name: immich
repo_url: https://immich-app.github.io/immich-charts
delegate_to: localhost
run_once: true
- name: Deploy Immich Postgres Chart
kubernetes.core.helm:
state: "{%- if immich.enabled -%} present {%- else -%} absent {%- endif -%}"
name: immich-postgres
chart_ref: "{{ lookup('env', 'PWD') }}/roles/photos/files/postgres"
values:
image: "{{ immich.postgres.image }}"
version: "{{ immich.postgres.version }}"
user: "{{ immich.postgres.user }}"
password: "{{ immich.postgres.password }}"
nfs:
server: "{{ nfs.server }}"
path: "{{ immich.postgres.nfs.path }}"
namespace: default
delegate_to: localhost
run_once: true
- name: Deploy Immich Core
kubernetes.core.helm:
state: "{%- if immich.enabled -%} present {%- else -%} absent {%- endif -%}"
name: immich-core
chart_ref: "{{ lookup('env', 'PWD') }}/roles/photos/files/core"
values:
nfs:
server: "{{ nfs.server }}"
path: "{{ nfs.path }}"
namespace: default
delegate_to: localhost
run_once: true
- name: Deploy Immich
kubernetes.core.helm:
state: "{%- if immich.enabled -%} present {%- else -%} absent {%- endif -%}"
name: immich
chart_ref: immich/immich
values:
env:
DB_USERNAME: "{{ immich.postgres.user }}"
DB_PASSWORD: "{{ immich.postgres.password }}"
DB_DATABASE_NAME: immich
DB_HOSTNAME: immich-db-service
image:
tag: "{{ immich.version }}"
immich:
persistence:
library:
existingClaim: "immich-pvc"
redis:
enabled: true
namespace: default
delegate_to: localhost
run_once: true
|