Skip to content

Commit

Permalink
Issue #63 (#134)
Browse files Browse the repository at this point in the history
* Update deployment-director.yml

* Update values.yaml

* trailing spaces

* Update Chart.yaml

* Update changelog.md
  • Loading branch information
tico24 authored Jul 15, 2022
1 parent 627ab28 commit 0f3681f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/sorry-cypress/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sorry-cypress
description: A Helm chart for Sorry Cypress
type: application
version: 1.5.1
version: 1.5.2
appVersion: 2.1.6
home: https://sorry-cypress.dev/
sources:
Expand Down
8 changes: 5 additions & 3 deletions charts/sorry-cypress/changelog.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# 1.5.1

## Update
# 1.5.2
Update
Makes use of the /health-check-db endpoint on the director to provide a readiness probe.

# 1.5.1
No change. Accidental release (sorry!)

# 1.5.0

## Update
Expand Down
8 changes: 8 additions & 0 deletions charts/sorry-cypress/templates/deployment-director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,14 @@ spec:
- containerPort: {{ .Values.director.service.port }}
resources:
{{- toYaml .Values.director.resources | nindent 10 }}
readinessProbe:
httpGet:
path: /health-check-db
port: 1234
periodSeconds: {{ .Values.director.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.director.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.director.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.director.readinessProbe.failureThreshold }}
restartPolicy: Always
{{- with (.Values.director.serviceAccount.name | default .Values.director.serviceAccountName) }}
serviceAccountName: {{ . | quote }}
Expand Down
6 changes: 6 additions & 0 deletions charts/sorry-cypress/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@ director:
# cpu: 100m
# memory: 128Mi

readinessProbe:
periodSeconds: 5
timeoutSeconds: 3
successThreshold: 2
failureThreshold: 5

nodeSelector: {}

tolerations: []
Expand Down

0 comments on commit 0f3681f

Please sign in to comment.