Skip to content

Commit 73070e9

Browse files
authored
Merge pull request #10 from holysoles/update_health_check_url
feat(chart): use official health check endpoints for probes
2 parents f0603f8 + d493213 commit 73070e9

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

charts/pixelfed/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ type: application
1515
# This is the chart version. This version number should be incremented each time you make changes
1616
# to the chart and its templates, including the app version.
1717
# Versions are expected to follow Semantic Versioning (https://semver.org/)
18-
version: 0.2.2
18+
version: 0.2.3
1919

2020
# This is the version number of the application being deployed.
2121
# renovate:image=ghcr.io/mattlqx/docker-pixelfed

charts/pixelfed/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# pixelfed
22

3-
![Version: 0.2.2](https://img.shields.io/badge/Version-0.2.2-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
3+
![Version: 0.2.3](https://img.shields.io/badge/Version-0.2.3-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v0.12.3-nginx](https://img.shields.io/badge/AppVersion-v0.12.3--nginx-informational?style=flat-square)
44

55
A Helm chart for deploying Pixelfed on Kubernetes
66

@@ -61,7 +61,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
6161
| ingress.hosts[0].paths[0].path | string | `"/"` | |
6262
| ingress.hosts[0].paths[0].pathType | string | `"ImplementationSpecific"` | |
6363
| ingress.tls | list | `[]` | |
64-
| livenessProbe.httpGet.path | string | `"/"` | |
64+
| livenessProbe.httpGet.path | string | `"/api/service/health-check"` | |
6565
| livenessProbe.httpGet.port | string | `"http"` | |
6666
| nameOverride | string | `""` | This is to override the chart name. |
6767
| nodeSelector | object | `{}` | |
@@ -156,7 +156,7 @@ A Helm chart for deploying Pixelfed on Kubernetes
156156
| podSecurityContext | object | `{}` | |
157157
| postgresql.enabled | bool | `true` | enable the bundled postgresql sub chart from Bitnami. Must set to true if externalDatabase.enabled=false |
158158
| postgresql.fullnameOverride | string | `"postgresql"` | |
159-
| readinessProbe.httpGet.path | string | `"/"` | |
159+
| readinessProbe.httpGet.path | string | `"/api/service/health-check"` | |
160160
| readinessProbe.httpGet.port | string | `"http"` | |
161161
| replicaCount | int | `1` | This will set the replicaset count more information can be found here: https://kubernetes.io/docs/concepts/workloads/controllers/replicaset/ |
162162
| resources | object | `{}` | |

charts/pixelfed/values.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,12 @@ resources: {}
8787
# This is to setup the liveness and readiness probes more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/
8888
livenessProbe:
8989
httpGet:
90-
path: /
90+
path: /api/service/health-check
9191
port: http
9292

9393
readinessProbe:
9494
httpGet:
95-
path: /
95+
path: /api/service/health-check
9696
port: http
9797

9898
# This section is for setting up autoscaling more information can be found here: https://kubernetes.io/docs/concepts/workloads/autoscaling/

0 commit comments

Comments
 (0)