Add ingress via tailscale.
This commit is contained in:
parent
77526dbeeb
commit
8e3929d6d9
3 changed files with 19 additions and 9 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
18
kubernetes/apps/rook-ceph/rook-ceph/cluster/ingress.yaml
Normal file
18
kubernetes/apps/rook-ceph/rook-ceph/cluster/ingress.yaml
Normal 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
|
|
@ -3,3 +3,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- ./helmrelease.yaml
|
- ./helmrelease.yaml
|
||||||
|
- ./ingress.yaml
|
||||||
|
|
Reference in a new issue