Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ Here's a summary of the available configuration options:
| relay.secrets | array | `[]` | Defines container environment variables or volumes populated from k8s secrets |
| relay.volume | object | `{}` | Enables offline mode or references an existing config file from a defined volume |
| relay.livenessProbe | object | `{httpGet: { port: "api", path: "/status" }}` | Defines the liveness probe for the relay container |
| relay.readinessProbe | object | `{httpGet: { port: "api", path: "/status" }}` | Defines the readiness probe for the relay container |
| relay.readinessProbe | object | `{httpGet: null, failureThreshold: 1, exec: ... curl,grep }` | Defines the readiness probe for the relay container |
| replicaCount | integer | `1` | Number of replicas of the relay pod |
| image.repository | string | `launchdarkly/ld-relay` | ld-relay image repository |
| image.pullPolicy | string | `IfNotPresent` | ld-relay image pull policy |
Expand Down
13 changes: 9 additions & 4 deletions values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,10 +188,15 @@ relay:
path: /status
port: api
readinessProbe:
httpGet:
path: /status
port: api

httpGet: null
failureThreshold: 1
exec:
command:
- sh
- -c
- >-
curl -s -X GET "http://127.0.0.1:8030/status" |
grep -q healthy

# Enables mounting a k8s volume onto the relay container.
#
Expand Down