Skip to content

Commit

Permalink
polkabtc-vault: confugurable health probes
Browse files Browse the repository at this point in the history
  • Loading branch information
ns212 committed Feb 22, 2021
1 parent 7f1b4ce commit 79021db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/polkabtc-vault/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.1.1
version: 0.1.2

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
2 changes: 2 additions & 0 deletions charts/polkabtc-vault/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ spec:
- name: http
containerPort: {{ .Values.service.port }}
protocol: TCP
{{- if .Values.healthprobes.enabled }}
livenessProbe:
httpGet:
path: /health
Expand All @@ -55,6 +56,7 @@ spec:
httpGet:
path: /health
port: http
{{- end }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumeMounts:
Expand Down
4 changes: 4 additions & 0 deletions charts/polkabtc-vault/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ envSecretName: ""
keyfileSecretName: ""
networkName: testnet
extraArgs: []

healthprobes:
enabled: false

serviceAccount:
# Specifies whether a service account should be created
create: true
Expand Down

0 comments on commit 79021db

Please sign in to comment.