Merge pull request #92 from sirius0xdev/fix/tsproxy-to-proxygroup
fix: replace non-existent TsProxy CRD with ProxyGroup
This commit is contained in:
commit
02da0a5d74
5 changed files with 12 additions and 19 deletions
|
|
@ -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
|
||||
|
|
@ -130,6 +130,8 @@ kind: Service
|
|||
metadata:
|
||||
name: rtx6000-brain-service
|
||||
namespace: customer1
|
||||
annotations:
|
||||
tailscale.com/proxy-group: rtx6000-brain
|
||||
spec:
|
||||
selector:
|
||||
app: rtx6000-brain
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- tsproxy-rtx6000.yaml
|
||||
- proxygroup-rtx6000.yaml
|
||||
|
|
|
|||
9
infrastructure/tailnet/proxygroup-rtx6000.yaml
Normal file
9
infrastructure/tailnet/proxygroup-rtx6000.yaml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
apiVersion: tailscale.com/v1alpha1
|
||||
kind: ProxyGroup
|
||||
metadata:
|
||||
name: rtx6000-brain
|
||||
spec:
|
||||
type: ingress
|
||||
hostnamePrefix: rtx6000-brain
|
||||
tags:
|
||||
- tag:k8s
|
||||
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue