🐦 Use tailscape expose
This commit is contained in:
parent
a7961bbfdb
commit
e2d726e8e2
1 changed files with 12 additions and 13 deletions
|
|
@ -1,16 +1,15 @@
|
||||||
apiVersion: v1
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Service
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: argocd-server-tailscale
|
name: argocd-tailscale
|
||||||
namespace: argocd
|
namespace: argocd
|
||||||
annotations:
|
|
||||||
tailscale.com/expose: "true"
|
|
||||||
tailscale.com/hostname: "argocd"
|
|
||||||
spec:
|
spec:
|
||||||
type: LoadBalancer
|
defaultBackend:
|
||||||
selector:
|
service:
|
||||||
app.kubernetes.io/name: argocd-server
|
name: argocd-server
|
||||||
ports:
|
port:
|
||||||
- name: https
|
number: 80
|
||||||
port: 443
|
ingressClassName: tailscale
|
||||||
targetPort: 8080
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- argocd-server
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue