Skip to content

Commit

Permalink
feat(tailscale): add connector for the service ipv4 cidr
Browse files Browse the repository at this point in the history
  • Loading branch information
jfroy committed Aug 4, 2024
1 parent 616cc7b commit 34d7023
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
apiVersion: tailscale.com/v1alpha1
kind: Connector
metadata:
name: ts-service-cidrs
spec:
hostname: ts-service-cidrs
subnetRouter:
advertiseRoutes:
- "10.12.0.0/16"
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./connector.yaml
22 changes: 22 additions & 0 deletions kubernetes/apps/tailscale/tailscale-operator/ks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,25 @@ spec:
interval: 30m
retryInterval: 1m
timeout: 5m
---
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: &app tailscale-connector
namespace: flux-system
spec:
targetNamespace: tailscale
commonMetadata:
labels:
app.kubernetes.io/name: *app
dependsOn:
- name: tailscale-operator
path: ./kubernetes/apps/tailscale/tailscale-operator/connector
prune: true
sourceRef:
kind: GitRepository
name: home-kubernetes
wait: false
interval: 30m
retryInterval: 1m
timeout: 5m

0 comments on commit 34d7023

Please sign in to comment.