Updates (fixes) app deploy.
This commit is contained in:
@@ -55,11 +55,11 @@ spec:
|
||||
name: postgres-secrets
|
||||
key: password
|
||||
- name: DB_HOSTNAME
|
||||
value: "{{ .config.apps.immich.dbHostname }}"
|
||||
value: "{{ .apps.immich.dbHostname }}"
|
||||
- name: DB_DATABASE_NAME
|
||||
value: "{{ .config.apps.immich.dbUsername }}"
|
||||
value: "{{ .apps.immich.dbUsername }}"
|
||||
- name: DB_USERNAME
|
||||
value: "{{ .config.apps.immich.dbUsername }}"
|
||||
value: "{{ .apps.immich.dbUsername }}"
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
|
@@ -15,14 +15,14 @@ spec:
|
||||
component: machine-learning
|
||||
spec:
|
||||
containers:
|
||||
- image: "{{ .config.apps.immich.mlImage }}"
|
||||
- image: "{{ .apps.immich.mlImage }}"
|
||||
name: immich-machine-learning
|
||||
ports:
|
||||
- containerPort: {{ .config.apps.immich.mlPort }}
|
||||
- containerPort: {{ .apps.immich.mlPort }}
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: TZ
|
||||
value: "{{ .config.apps.immich.timezone }}"
|
||||
value: "{{ .apps.immich.timezone }}"
|
||||
volumeMounts:
|
||||
- mountPath: /cache
|
||||
name: immich-cache
|
||||
|
@@ -20,22 +20,22 @@ spec:
|
||||
component: microservices
|
||||
spec:
|
||||
containers:
|
||||
- image: "{{ .config.apps.immich.serverImage }}"
|
||||
- image: "{{ .apps.immich.serverImage }}"
|
||||
name: immich-microservices
|
||||
env:
|
||||
- name: REDIS_HOSTNAME
|
||||
value: "{{ .config.apps.immich.redisHostname }}"
|
||||
value: "{{ .apps.immich.redisHostname }}"
|
||||
- name: DB_HOSTNAME
|
||||
value: "{{ .config.apps.immich.dbHostname }}"
|
||||
value: "{{ .apps.immich.dbHostname }}"
|
||||
- name: DB_USERNAME
|
||||
value: "{{ .config.apps.immich.dbUsername }}"
|
||||
value: "{{ .apps.immich.dbUsername }}"
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: immich-secrets
|
||||
key: dbPassword
|
||||
- name: TZ
|
||||
value: "{{ .config.apps.immich.timezone }}"
|
||||
value: "{{ .apps.immich.timezone }}"
|
||||
- name: IMMICH_WORKERS_EXCLUDE
|
||||
value: api
|
||||
volumeMounts:
|
||||
|
@@ -20,25 +20,25 @@ spec:
|
||||
component: server
|
||||
spec:
|
||||
containers:
|
||||
- image: "{{ .config.apps.immich.serverImage }}"
|
||||
- image: "{{ .apps.immich.serverImage }}"
|
||||
name: immich-server
|
||||
ports:
|
||||
- containerPort: {{ .config.apps.immich.serverPort }}
|
||||
- containerPort: {{ .apps.immich.serverPort }}
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: REDIS_HOSTNAME
|
||||
value: "{{ .config.apps.immich.redisHostname }}"
|
||||
value: "{{ .apps.immich.redisHostname }}"
|
||||
- name: DB_HOSTNAME
|
||||
value: "{{ .config.apps.immich.dbHostname }}"
|
||||
value: "{{ .apps.immich.dbHostname }}"
|
||||
- name: DB_USERNAME
|
||||
value: "{{ .config.apps.immich.dbUsername }}"
|
||||
value: "{{ .apps.immich.dbUsername }}"
|
||||
- name: DB_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: immich-secrets
|
||||
key: dbPassword
|
||||
- name: TZ
|
||||
value: "{{ .config.apps.immich.timezone }}"
|
||||
value: "{{ .apps.immich.timezone }}"
|
||||
- name: IMMICH_WORKERS_EXCLUDE
|
||||
value: microservices
|
||||
volumeMounts:
|
||||
|
@@ -4,11 +4,11 @@ kind: Ingress
|
||||
metadata:
|
||||
name: immich-public
|
||||
annotations:
|
||||
external-dns.alpha.kubernetes.io/target: "{{ .config.apps.immich.domain }}"
|
||||
external-dns.alpha.kubernetes.io/target: "{{ .apps.immich.domain }}"
|
||||
external-dns.alpha.kubernetes.io/cloudflare-proxied: "false"
|
||||
spec:
|
||||
rules:
|
||||
- host: "{{ .config.apps.immich.domain }}"
|
||||
- host: "{{ .apps.immich.domain }}"
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
@@ -19,6 +19,6 @@ spec:
|
||||
port:
|
||||
number: 3001
|
||||
tls:
|
||||
- secretName: wildcard-internal-wild-cloud-tls
|
||||
- secretName: wildcard-wild-cloud-tls
|
||||
hosts:
|
||||
- "{{ .config.apps.immich.domain }}"
|
||||
- "{{ .apps.immich.domain }}"
|
||||
|
@@ -9,7 +9,7 @@ spec:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .config.apps.immich.storage }}
|
||||
storage: {{ .apps.immich.storage }}
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: PersistentVolumeClaim
|
||||
@@ -21,4 +21,4 @@ spec:
|
||||
- ReadWriteOnce
|
||||
resources:
|
||||
requests:
|
||||
storage: {{ .config.apps.immich.cacheStorage }}
|
||||
storage: {{ .apps.immich.cacheStorage }}
|
||||
|
@@ -9,7 +9,7 @@ metadata:
|
||||
spec:
|
||||
ports:
|
||||
- port: 3001
|
||||
targetPort: {{ .config.apps.immich.serverPort }}
|
||||
targetPort: {{ .apps.immich.serverPort }}
|
||||
selector:
|
||||
app: immich
|
||||
component: server
|
||||
@@ -25,7 +25,7 @@ metadata:
|
||||
app: immich-machine-learning
|
||||
spec:
|
||||
ports:
|
||||
- port: {{ .config.apps.immich.mlPort }}
|
||||
- port: {{ .apps.immich.mlPort }}
|
||||
selector:
|
||||
app: immich
|
||||
component: machine-learning
|
||||
|
Reference in New Issue
Block a user