[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:
Cédric de Saint Martin
2020-03-22 14:24:44 -07:00
committed by GitHub
parent c0e500d4af
commit 57138eae23
5 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -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
+2
View File
@@ -1,6 +1,8 @@
approvers:
- desaintmartin
- davidkarlsen
- wvidana
reviewers:
- desaintmartin
- davidkarlsen
- wvidana
+2
View File
@@ -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 | `{}` |
+4
View File
@@ -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:
+4
View File
@@ -15,6 +15,10 @@ deployment:
# additionals labels
labels: {}
annotations: {}
livenessProbe:
enabled: true
readinessProbe:
enabled: true
service:
type: ClusterIP