feat: migrate tailscale to k8s
This commit is contained in:
parent
b71b1a269f
commit
eef08fc034
5 changed files with 50 additions and 23 deletions
36
k8s/argo-apps/tailscale.yaml
Normal file
36
k8s/argo-apps/tailscale.yaml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata:
|
||||
name: tailscale
|
||||
namespace: argocd
|
||||
spec:
|
||||
destination:
|
||||
name: ''
|
||||
namespace: apps-fuku
|
||||
server: https://kubernetes.default.svc
|
||||
project: fuku
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
sources:
|
||||
- chart: tailscale
|
||||
repoURL: https://harish2k01.github.io/helm-charts/
|
||||
targetRevision: 0.1.2
|
||||
helm:
|
||||
valuesObject:
|
||||
service:
|
||||
enabled: true
|
||||
persistence:
|
||||
enabled: true
|
||||
mountPath: /var/lib/tailscale
|
||||
accessModes:
|
||||
- ReadWriteMany
|
||||
size: 1Gi
|
||||
storageClassName: "truenas-nfs-csi"
|
||||
tailscale:
|
||||
hostname: exit-node
|
||||
advertiseExitNode: true
|
||||
routes:
|
||||
- 192.168.1.0/24
|
||||
authKey:
|
||||
existingSecret: tailscale-auth
|
||||
Loading…
Add table
Add a link
Reference in a new issue