Browse Source

Use a noauth endpoint for syncthing probe (#1057)

Stavros Kois 2 years ago
parent
commit
cb8bea12bd

+ 1 - 1
library/ix-dev/charts/syncthing/Chart.yaml

@@ -3,7 +3,7 @@ description: Syncthing is a continuous file synchronization program.
 annotations:
   title: Syncthing
 type: application
-version: 1.0.19
+version: 1.0.20
 apiVersion: v2
 appVersion: '1.23.2'
 kubeVersion: '>=1.16.0-0'

+ 3 - 3
library/ix-dev/charts/syncthing/templates/deployment.yaml

@@ -49,7 +49,7 @@ spec:
               protocol: UDP
           readinessProbe:
             httpGet:
-              path: /
+              path: /rest/noauth/health
               port: 8384
             initialDelaySeconds: 10
             periodSeconds: 10
@@ -58,7 +58,7 @@ spec:
             successThreshold: 2
           livenessProbe:
             httpGet:
-              path: /
+              path: /rest/noauth/health
               port: 8384
             initialDelaySeconds: 10
             periodSeconds: 10
@@ -67,7 +67,7 @@ spec:
             successThreshold: 1
           startupProbe:
             httpGet:
-              path: /
+              path: /rest/noauth/health
               port: 8384
             initialDelaySeconds: 10
             periodSeconds: 5