diff --git a/.gitea/workflows/notify-ntfy.yml b/.gitea/workflows/notify-ntfy.yml index 8fb8931..ef6f278 100644 --- a/.gitea/workflows/notify-ntfy.yml +++ b/.gitea/workflows/notify-ntfy.yml @@ -1,6 +1,6 @@ name: Notify NTFY on: - workflow_call: + workflow_dispatch: inputs: title: required: true diff --git a/kubernetes/gitea/gitea-cloudflare.yml b/kubernetes/gitea/gitea-cloudflare.yml index f893a69..83e3934 100644 --- a/kubernetes/gitea/gitea-cloudflare.yml +++ b/kubernetes/gitea/gitea-cloudflare.yml @@ -28,6 +28,8 @@ spec: imagePullPolicy: Always args: - tunnel + - --metrics + - 0.0.0.0:2000 - run env: - name: TUNNEL_TOKEN @@ -35,3 +37,10 @@ spec: secretKeyRef: name: cloudflared-gitea-token key: token + livenessProbe: + httpGet: + path: /ready + port: 2000 + failureThreshold: 1 + initialDelaySeconds: 10 + periodSeconds: 10