mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/cerebro] Add ability to disable livenessProbe/readinessProbe. (#21191)
* [stable/cerebro] Add ability to disable livenessProbe/readinessProbe. Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr> * Add myself as maintainer. Signed-off-by: Cédric de Saint Martin <cdesaintmartin@wiremind.fr>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
name: cerebro
|
||||
version: 1.5.0
|
||||
version: 1.6.0
|
||||
appVersion: 0.8.5
|
||||
apiVersion: v1
|
||||
description: A Helm chart for Cerebro - a web admin tool that replaces Kopf.
|
||||
@@ -9,6 +9,8 @@ sources:
|
||||
- https://github.com/lmenezes/cerebro-docker
|
||||
- https://github.com/lmenezes/cerebro
|
||||
maintainers:
|
||||
- name: desaintmartin
|
||||
email: cdesaintmartin@wiremind.io
|
||||
- name: davidkarlsen
|
||||
email: david@davidkarlsen.com
|
||||
- name: wvidana
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
approvers:
|
||||
- desaintmartin
|
||||
- davidkarlsen
|
||||
- wvidana
|
||||
reviewers:
|
||||
- desaintmartin
|
||||
- davidkarlsen
|
||||
- wvidana
|
||||
|
||||
@@ -50,6 +50,8 @@ The following table lists the configurable parameters of the cerebro chart and t
|
||||
| `init.image.pullPolicy` | Image pull policy | `IfNotPresent` |
|
||||
| `deployment.annotations` | Annotations for deployment | `{}` |
|
||||
| `deployment.labels` | Additional labels for deployment | `{}` |
|
||||
| `deployment.livenessProbe.enabled` | Enable livenessProbe | `true` |
|
||||
| `deployment.readinessProbe.enabled` | Enable readinessProbe | `true` |
|
||||
| `service.type` | Type of Service | `ClusterIP` |
|
||||
| `service.port` | Port for kubernetes service | `80` |
|
||||
| `service.annotations` | Annotations to add to the service | `{}` |
|
||||
|
||||
@@ -69,16 +69,20 @@ spec:
|
||||
- secretRef:
|
||||
name: "{{ .Values.envFromSecretRef }}"
|
||||
{{- end }}
|
||||
{{- if .Values.deployment.readinessProbe.enabled}}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: {{ .Values.config.basePath }}
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
{{- end }}
|
||||
{{- if .Values.deployment.livenessProbe.enabled}}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: {{ .Values.config.basePath }}
|
||||
port: http
|
||||
initialDelaySeconds: 120
|
||||
{{- end }}
|
||||
resources:
|
||||
{{ toYaml .Values.resources | indent 12 }}
|
||||
volumes:
|
||||
|
||||
@@ -15,6 +15,10 @@ deployment:
|
||||
# additionals labels
|
||||
labels: {}
|
||||
annotations: {}
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
|
||||
service:
|
||||
type: ClusterIP
|
||||
|
||||
Reference in New Issue
Block a user