You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
477 B
18 lines
477 B
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ .ObjectMeta.Name }}
|
|
namespace: {{ .ObjectMeta.Namespace }}
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: {{ .Spec.Expose.IngressDomain }}
|
|
http:
|
|
paths:
|
|
- pathType: Prefix
|
|
path: "/"
|
|
backend:
|
|
service:
|
|
name: {{ .ObjectMeta.Name }}
|
|
port:
|
|
number: {{ .Spec.Expose.ServicePort }} |