mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
Add kustomize patch immich
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user