Add Rancher management UI
This commit is contained in:
26
infrastructure/addons/rancher/ingress-rancher.yaml
Normal file
26
infrastructure/addons/rancher/ingress-rancher.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: rancher
|
||||
namespace: cattle-system
|
||||
annotations:
|
||||
traefik.ingress.kubernetes.io/router.entrypoints: rancher
|
||||
traefik.ingress.kubernetes.io/router.tls: "true"
|
||||
cert-manager.io/cluster-issuer: "selfsigned-cluster-issuer"
|
||||
spec:
|
||||
ingressClassName: traefik
|
||||
rules:
|
||||
- host: k8s-cluster-cp-1.silverside-gopher.ts.net
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: rancher
|
||||
port:
|
||||
number: 80
|
||||
tls:
|
||||
- hosts:
|
||||
- k8s-cluster-cp-1.silverside-gopher.ts.net
|
||||
secretName: rancher-tls
|
||||
Reference in New Issue
Block a user