Skip to content

Commit 4f1676d

Browse files
committed
Add backup Ingress resource for tsflow and update policy to include new service tags
1 parent b3e2b4a commit 4f1676d

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

clusters/common/apps/tailscale-examples/sandbox/tsflow/ingress.yaml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,21 @@ spec:
1313
ingressClassName: tailscale
1414
tls:
1515
- hosts:
16-
- tsflow
16+
- tsflow
17+
---
18+
apiVersion: networking.k8s.io/v1
19+
kind: Ingress
20+
metadata:
21+
name: tsflow-backup-bullshit
22+
annotations:
23+
tailscale.com/proxy-group: "common-ingress"
24+
spec:
25+
defaultBackend:
26+
service:
27+
name: tsflow
28+
port:
29+
number: 8080
30+
ingressClassName: tailscale
31+
tls:
32+
- hosts:
33+
- tsflow-backup

tailscale/policy.hujson

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
},
5151
"services": {
5252
"tag:k8s": ["tag:k8s"],
53+
"svc:tsflow-backup": ["tag:ottawa","tag:robbinsdale"],
5354
},
5455
},
5556
"ssh": [

0 commit comments

Comments
 (0)