puppet-prod/modules/rke2/files/ingres-route-rancher.yaml
Ben Vincent bb51a7c6f6
All checks were successful
Build / precommit (pull_request) Successful in 5m13s
fix: resolve rke2-server errors
- kubectl yaml files must not use underscores
- replace unicode hyphen with ascii hyphen
2025-09-20 18:16:57 +10:00

23 lines
480 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: rancher
namespace: cattle-system
annotations:
kubernetes.io/ingress.class: nginx
spec:
tls:
- hosts: [rancher.main.unkin.net]
secretName: tls-rancher
rules:
- host: rancher.main.unkin.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: rancher
port:
number: 80