Add Rancher prod tenant ingress
This commit is contained in:
26
rancher-prod-ingress.yaml
Normal file
26
rancher-prod-ingress.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
---
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: rancher-prod-ingress
|
||||
namespace: cattle-system
|
||||
annotations:
|
||||
nginx.ingress.kubernetes.io/ssl-redirect: "true"
|
||||
cert-manager.io/cluster-issuer: "selfsigned-issuer"
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
tls:
|
||||
- hosts:
|
||||
- rancher.prod.connectvm.cloud
|
||||
secretName: rancher-prod-tls
|
||||
rules:
|
||||
- host: rancher.prod.connectvm.cloud
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: rancher
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user