Replace the Helm chart deployment with plain kustomize manifests following the Authentik pattern (separate deployments per component). Consolidate the immich-storage ArgoCD app into the main immich app. Add no-helm-policy doc establishing kustomize as the standard deployment mechanism. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
791 B
YAML
39 lines
791 B
YAML
---
|
|
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: immich-valkey
|
|
namespace: immich
|
|
spec:
|
|
replicas: 1
|
|
strategy:
|
|
type: Recreate
|
|
selector:
|
|
matchLabels:
|
|
app: immich
|
|
component: valkey
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: immich
|
|
component: valkey
|
|
spec:
|
|
containers:
|
|
- name: valkey
|
|
image: docker.io/valkey/valkey:kustomized
|
|
ports:
|
|
- name: redis
|
|
containerPort: 6379
|
|
volumeMounts:
|
|
- name: data
|
|
mountPath: /data
|
|
resources:
|
|
requests:
|
|
memory: "64Mi"
|
|
cpu: "25m"
|
|
limits:
|
|
memory: "256Mi"
|
|
volumes:
|
|
- name: data
|
|
emptyDir:
|
|
sizeLimit: 1Gi
|