From 4f1aea08595f28c0f8957acc9e0e571c850f3c0d Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Sat, 14 Dec 2024 22:42:13 +0100 Subject: [PATCH] Add kustomize patch immich --- immich/immich.patch.yaml | 29 +++++++++++++++++++++++++++++ immich/kustomization.yaml | 13 +++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 immich/immich.patch.yaml create mode 100644 immich/kustomization.yaml diff --git a/immich/immich.patch.yaml b/immich/immich.patch.yaml new file mode 100644 index 0000000..19d1be2 --- /dev/null +++ b/immich/immich.patch.yaml @@ -0,0 +1,29 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + labels: + app.kubernetes.io/instance: helm-immich + app.kubernetes.io/managed-by: Helm + app.kubernetes.io/name: server + app.kubernetes.io/version: v1.119.0 + helm.sh/chart: immich-0.8.5 + name: helm-immich-server + namespace: immich +spec: + template: + metadata: + labels: + app.kubernetes.io/instance: helm-immich + app.kubernetes.io/name: server + spec: + automountServiceAccountToken: true + containers: + - startupProbe: + failureThreshold: 40 + httpGet: + path: /api/server/ping + port: http + initialDelaySeconds: 0 + periodSeconds: 10 + timeoutSeconds: 1 + \ No newline at end of file diff --git a/immich/kustomization.yaml b/immich/kustomization.yaml new file mode 100644 index 0000000..aeb5507 --- /dev/null +++ b/immich/kustomization.yaml @@ -0,0 +1,13 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization + +namespace: immich + + +# additional resources like ingress rules, cluster and repository secrets. +resources: +- helm-immich.yaml +- immich-pvc.yaml + +patches: + - path: immich.patch.yaml \ No newline at end of file