Skip to content

Commit

Permalink
Merge branch 'main' of github.com:getlago/lago-helm-charts into fix-a…
Browse files Browse the repository at this point in the history
…ction-3
  • Loading branch information
electrosenpai committed Oct 29, 2024
2 parents b76df8a + 9776190 commit 137927b
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
4 changes: 4 additions & 0 deletions templates/events-worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -116,5 +116,9 @@ spec:
livenessProbe:
exec:
command: ["/bin/bash", "-l", "-c", "bundle exec sidekiqmon processes | grep $(hostname) || exit 1"]
initialDelaySeconds: {{ .Values.eventsWorker.livenessProbe.initialDelaySeconds | default 0 }}
periodSeconds: {{ .Values.eventsWorker.livenessProbe.periodSeconds | default 10 }}
timeoutSeconds: {{ .Values.eventsWorker.livenessProbe.timeoutSeconds | default 1 }}
failureThreshold: {{ .Values.eventsWorker.livenessProbe.failureThreshold | default 3 }}
restartPolicy: Always
serviceAccountName: {{ .Values.global.serviceAccountName | default (printf "%s-serviceaccount" .Release.Name) }}
4 changes: 4 additions & 0 deletions templates/worker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ spec:
livenessProbe:
exec:
command: ["/bin/bash", "-l", "-c", "bundle exec sidekiqmon processes | grep $(hostname) || exit 1"]
initialDelaySeconds: {{ .Values.worker.livenessProbe.initialDelaySeconds | default 0 }}
periodSeconds: {{ .Values.worker.livenessProbe.periodSeconds | default 10 }}
timeoutSeconds: {{ .Values.worker.livenessProbe.timeoutSeconds | default 1 }}
failureThreshold: {{ .Values.worker.livenessProbe.failureThreshold | default 3 }}
{{- with .Values.worker.resources }}
resources:
{{- toYaml . | nindent 12}}
Expand Down
10 changes: 10 additions & 0 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,11 @@ worker:
podAnnotations: {}
podLabels: {}
extraEnv: {}
livenessProbe:
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3

eventsWorker:
replicas: 1
Expand All @@ -158,6 +163,11 @@ eventsWorker:
podAnnotations: {}
podLabels: {}
extraEnv: {}
livenessProbe:
initialDelaySeconds: 0
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3


clock:
Expand Down

0 comments on commit 137927b

Please sign in to comment.