cloudflare and ntfy
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
name: Notify NTFY
|
name: Notify NTFY
|
||||||
on:
|
on:
|
||||||
workflow_call:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
title:
|
title:
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -28,6 +28,8 @@ spec:
|
|||||||
imagePullPolicy: Always
|
imagePullPolicy: Always
|
||||||
args:
|
args:
|
||||||
- tunnel
|
- tunnel
|
||||||
|
- --metrics
|
||||||
|
- 0.0.0.0:2000
|
||||||
- run
|
- run
|
||||||
env:
|
env:
|
||||||
- name: TUNNEL_TOKEN
|
- name: TUNNEL_TOKEN
|
||||||
@@ -35,3 +37,10 @@ spec:
|
|||||||
secretKeyRef:
|
secretKeyRef:
|
||||||
name: cloudflared-gitea-token
|
name: cloudflared-gitea-token
|
||||||
key: token
|
key: token
|
||||||
|
livenessProbe:
|
||||||
|
httpGet:
|
||||||
|
path: /ready
|
||||||
|
port: 2000
|
||||||
|
failureThreshold: 1
|
||||||
|
initialDelaySeconds: 10
|
||||||
|
periodSeconds: 10
|
||||||
|
|||||||
Reference in New Issue
Block a user