diff --git a/stable/cerebro/Chart.yaml b/stable/cerebro/Chart.yaml index 527689248d..3934c25b2d 100644 --- a/stable/cerebro/Chart.yaml +++ b/stable/cerebro/Chart.yaml @@ -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 diff --git a/stable/cerebro/OWNERS b/stable/cerebro/OWNERS index 57d8ba9f50..43548e36cb 100644 --- a/stable/cerebro/OWNERS +++ b/stable/cerebro/OWNERS @@ -1,6 +1,8 @@ approvers: +- desaintmartin - davidkarlsen - wvidana reviewers: +- desaintmartin - davidkarlsen - wvidana diff --git a/stable/cerebro/README.md b/stable/cerebro/README.md index 8ba4fb5f10..48a162045d 100644 --- a/stable/cerebro/README.md +++ b/stable/cerebro/README.md @@ -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 | `{}` | diff --git a/stable/cerebro/templates/deployment.yaml b/stable/cerebro/templates/deployment.yaml index 2ad5c02acf..b7961e2544 100644 --- a/stable/cerebro/templates/deployment.yaml +++ b/stable/cerebro/templates/deployment.yaml @@ -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: diff --git a/stable/cerebro/values.yaml b/stable/cerebro/values.yaml index 0752d5d677..ae8bf2800e 100644 --- a/stable/cerebro/values.yaml +++ b/stable/cerebro/values.yaml @@ -15,6 +15,10 @@ deployment: # additionals labels labels: {} annotations: {} + livenessProbe: + enabled: true + readinessProbe: + enabled: true service: type: ClusterIP