mirror of
https://github.com/coder/code-server.git
synced 2026-04-16 21:31:43 -05:00
Probes can be disabled in Helm chart (#7663)
This commit is contained in:
@@ -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: 3.32.0
|
||||
version: 3.32.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. Versions are not expected to
|
||||
|
||||
@@ -123,14 +123,18 @@ spec:
|
||||
containerPort: {{ .port }}
|
||||
protocol: {{ .protocol }}
|
||||
{{- end }}
|
||||
{{- if ne .Values.livenessProbe.enabled false }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
{{- end }}
|
||||
{{- if ne .Values.readinessProbe.enabled false }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /healthz
|
||||
port: http
|
||||
{{- end }}
|
||||
resources:
|
||||
{{- toYaml .Values.resources | nindent 12 }}
|
||||
{{- with .Values.nodeSelector }}
|
||||
|
||||
@@ -111,6 +111,12 @@ resources: {}
|
||||
# cpu: 100m
|
||||
# memory: 1000Mi
|
||||
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
|
||||
nodeSelector: {}
|
||||
|
||||
tolerations: []
|
||||
|
||||
Reference in New Issue
Block a user