瀏覽代碼

invidious: switch to tcp probe (#2366)

* invidious: switch to tcp probe

* fmt
Stavros Kois 1 年之前
父節點
當前提交
ab741f4973

+ 1 - 1
library/ix-dev/community/invidious/Chart.yaml

@@ -3,7 +3,7 @@ description: Invidious is an alternative front-end to YouTube
 annotations:
   title: Invidious
 type: application
-version: 2.0.0
+version: 2.0.1
 apiVersion: v2
 appVersion: latest
 kubeVersion: '>=1.16.0-0'

+ 3 - 6
library/ix-dev/community/invidious/templates/_invidious.tpl

@@ -26,18 +26,15 @@ workload:
           probes:
             liveness:
               enabled: true
-              type: http
-              path: /api/v1/comments/jNQXAC9IVRw
+              type: tcp
               port: {{ .Values.invidiousNetwork.webPort }}
             readiness:
               enabled: true
-              type: http
-              path: /api/v1/comments/jNQXAC9IVRw
+              type: tcp
               port: {{ .Values.invidiousNetwork.webPort }}
             startup:
               enabled: true
-              type: http
-              path: /api/v1/comments/jNQXAC9IVRw
+              type: tcp
               port: {{ .Values.invidiousNetwork.webPort }}
       initContainers:
         {{- include "ix.v1.common.app.permissions" (dict "containerName" "01-permissions"