Fixed condition issue for disabling the health check. (#25)
* Fixed condition issue for disabling the health check. * Fixed condition issue for disabling the health check.main
parent
34d3a42fe2
commit
35bdcb08ab
|
|
@ -1,6 +1,8 @@
|
|||
apiVersion: v2
|
||||
name: polymorphic-app
|
||||
description: A Helm chart for deploying any custom applications, specifically polymorphic applications.
|
||||
maintainers:
|
||||
- name: improwised
|
||||
|
||||
# A chart can be either an 'application' or a 'library' chart.
|
||||
#
|
||||
|
|
@ -14,7 +16,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.
|
||||
version: 1.0.0
|
||||
version: 1.0.1
|
||||
|
||||
# This is the version number of the application being deployed. This version number should be
|
||||
# incremented each time you make changes to the application.
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@ spec:
|
|||
exec:
|
||||
command: ["bash","-c","sleep 120"]
|
||||
|
||||
{{- if or ($.Values.serviceTemplate.healthcheck) (.healthcheck) }}
|
||||
{{- if or ($.Values.serviceTemplate.healthcheck.enabled) (.healthcheck.enabled) }}
|
||||
{{- if and (or (eq .healthcheck.type "httpGet") (eq $.Values.serviceTemplate.healthcheck.type "httpGet")) (or .healthcheck.path $.Values.serviceTemplate.healthcheck.path) }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
|
|
|
|||
Loading…
Reference in New Issue