Add ingress via tailscale.

This commit is contained in:
Joseph Hanson 2023-10-09 15:52:11 -05:00
parent 77526dbeeb
commit 8e3929d6d9
3 changed files with 19 additions and 9 deletions

View file

@ -76,15 +76,6 @@ spec:
cpu: "1000m" cpu: "1000m"
memory: "1Gi" memory: "1Gi"
ingress:
ingressClassName: "tailscale"
dashboard:
annotations:
tailscale.com/hostname: "rook"
tls:
- hosts:
- rook
cephBlockPoolsVolumeSnapshotClass: cephBlockPoolsVolumeSnapshotClass:
enabled: false enabled: false

View file

@ -0,0 +1,18 @@
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: nginx
annotations:
tailscale.com/hostname: "rook"
namespace: rook-ceph
spec:
defaultBackend:
service:
name: rook-ceph-mgr-dashboard
port:
number: 8080
ingressClassName: tailscale
tls:
- hosts:
- rook

View file

@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization kind: Kustomization
resources: resources:
- ./helmrelease.yaml - ./helmrelease.yaml
- ./ingress.yaml