Skip to content

Commit

Permalink
Merge pull request #186 from tstraley/probes
Browse files Browse the repository at this point in the history
Expose liveness and readiness probe configuration in values settings
  • Loading branch information
GeorgeMac authored Nov 15, 2024
2 parents 46bff26 + 7c316e6 commit 9e9a0f9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 9 deletions.
2 changes: 1 addition & 1 deletion charts/flipt/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: flipt
home: https://flipt.io
description: Flipt is an open-source, self-hosted feature flag solution.
type: application
version: 0.72.2
version: 0.73.0
appVersion: v1.51.1
maintainers:
- name: Flipt
Expand Down
10 changes: 2 additions & 8 deletions charts/flipt/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,9 @@ spec:
{{- toYaml .Values.extraVolumeMounts | nindent 12 }}
{{- end }}
livenessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 3
{{- toYaml .Values.livenessProbe | nindent 12 }}
readinessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 3
{{- toYaml .Values.readinessProbe | nindent 12 }}
resources:
{{- toYaml .Values.resources | nindent 12 }}
volumes:
Expand Down
12 changes: 12 additions & 0 deletions charts/flipt/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,18 @@ securityContext:
seccompProfile:
type: "RuntimeDefault"

readinessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 3

livenessProbe:
httpGet:
path: /health
port: http
initialDelaySeconds: 3

## Expose the flipt service to be accessed from outside the cluster (LoadBalancer service).
## or access it from within the cluster (ClusterIP service). Set the service type and the port to serve it.
## ref: http://kubernetes.io/docs/user-guide/services/
Expand Down

0 comments on commit 9e9a0f9

Please sign in to comment.