feat(infrastructure): automatic deploy

This commit is contained in:
2025-10-05 18:39:00 +02:00
parent bda4cafcf6
commit 35e2ca6a72

View File

@@ -1,20 +1,20 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: {{ .Values.worker.name }}
name: {{ printf "%s-worker" .Values.app.name }}
spec:
replicas: {{ .Values.worker.replicas }}
revisionHistoryLimit: 3
selector:
matchLabels:
app: {{ .Values.worker.name }}
app: {{ printf "%s-worker" .Values.app.name }}
template:
metadata:
labels:
app: {{ .Values.worker.name }}
app: {{ printf "%s-worker" .Values.app.name }}
spec:
containers:
- name: {{ .Values.worker.name }}
- name: {{ printf "%s-worker" .Values.app.name }}
image: "{{- if .Values.image.digest -}}{{ .Values.image.repository }}@{{ .Values.image.digest }}{{- else -}}{{ .Values.image.repository }}:{{ default "latest" .Values.image.tag }}{{- end -}}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: