Skip to content

Commit

Permalink
feat(helm): Add probes and nginx rules
Browse files Browse the repository at this point in the history
  • Loading branch information
sylus committed Jul 29, 2024
1 parent 0ce63a2 commit c6e3cee
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/drupal/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: drupal
apiVersion: v2
type: application
version: 1.0.0-beta8
version: 1.0.0-beta9
appVersion: 5.2.3
description: Drupal 10 variant of the Web Experience Toolkit (WxT).
keywords:
Expand Down
6 changes: 6 additions & 0 deletions charts/drupal/templates/deploy/nginx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@ spec:
- name: https
containerPort: 443
protocol: TCP
{{- if .Values.nginx.healthcheck.enabled }}
{{- if .Values.nginx.healthcheck.probes }}
{{- toYaml .Values.nginx.healthcheck.probes | nindent 8 }}
{{- else }}
readinessProbe:
httpGet:
path: /_healthz
Expand All @@ -76,6 +80,8 @@ spec:
port: 8080
initialDelaySeconds: 1
periodSeconds: 5
{{- end }}
{{- end }}
{{- if .Values.nginx.resources }}
resources:
{{- toYaml .Values.nginx.resources | nindent 10 }}
Expand Down

0 comments on commit c6e3cee

Please sign in to comment.