Merge pull request #92 from sirius0xdev/fix/tsproxy-to-proxygroup

fix: replace non-existent TsProxy CRD with ProxyGroup
This commit is contained in:
sirius0xdev 2026-05-04 00:54:20 -04:00 committed by GitHub
commit 02da0a5d74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 12 additions and 19 deletions

View file

@ -1,9 +0,0 @@
apiVersion: tailscale.com/v1
kind: TsProxy
metadata:
name: rtx6000-brain
namespace: customer1
spec:
serviceName: rtx6000-brain-service
servicePort: 8000
hostname: rtx6000-brain

View file

@ -130,6 +130,8 @@ kind: Service
metadata: metadata:
name: rtx6000-brain-service name: rtx6000-brain-service
namespace: customer1 namespace: customer1
annotations:
tailscale.com/proxy-group: rtx6000-brain
spec: spec:
selector: selector:
app: rtx6000-brain app: rtx6000-brain

View file

@ -1,4 +1,4 @@
apiVersion: kustomize.config.k8s.io/v1beta1 apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- tsproxy-rtx6000.yaml - proxygroup-rtx6000.yaml

View file

@ -0,0 +1,9 @@
apiVersion: tailscale.com/v1alpha1
kind: ProxyGroup
metadata:
name: rtx6000-brain
spec:
type: ingress
hostnamePrefix: rtx6000-brain
tags:
- tag:k8s

View file

@ -1,9 +0,0 @@
apiVersion: tailscale.com/v1
kind: TsProxy
metadata:
name: rtx6000-brain
namespace: customer1
spec:
serviceName: rtx6000-brain-service
servicePort: 8000
hostname: rtx6000-brain