Skip to content

Commit 9e9a0f9

Browse files
authored
Merge pull request #186 from tstraley/probes
Expose liveness and readiness probe configuration in values settings
2 parents 46bff26 + 7c316e6 commit 9e9a0f9

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

charts/flipt/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: flipt
33
home: https://flipt.io
44
description: Flipt is an open-source, self-hosted feature flag solution.
55
type: application
6-
version: 0.72.2
6+
version: 0.73.0
77
appVersion: v1.51.1
88
maintainers:
99
- name: Flipt

charts/flipt/templates/deployment.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,15 +88,9 @@ spec:
8888
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
8989
{{- end }}
9090
livenessProbe:
91-
httpGet:
92-
path: /health
93-
port: http
94-
initialDelaySeconds: 3
91+
{{- toYaml .Values.livenessProbe | nindent 12 }}
9592
readinessProbe:
96-
httpGet:
97-
path: /health
98-
port: http
99-
initialDelaySeconds: 3
93+
{{- toYaml .Values.readinessProbe | nindent 12 }}
10094
resources:
10195
{{- toYaml .Values.resources | nindent 12 }}
10296
volumes:

charts/flipt/values.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,18 @@ securityContext:
4444
seccompProfile:
4545
type: "RuntimeDefault"
4646

47+
readinessProbe:
48+
httpGet:
49+
path: /health
50+
port: http
51+
initialDelaySeconds: 3
52+
53+
livenessProbe:
54+
httpGet:
55+
path: /health
56+
port: http
57+
initialDelaySeconds: 3
58+
4759
## Expose the flipt service to be accessed from outside the cluster (LoadBalancer service).
4860
## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
4961
## ref: http://kubernetes.io/docs/user-guide/services/

0 commit comments

Comments
 (0)