19 lines
544 B
YAML
19 lines
544 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: {{ include "k8smonitor.fullname" . }}
|
|
annotations:
|
|
{{- toYaml .Values.ingress.annotations | nindent 4 }}
|
|
spec:
|
|
rules:
|
|
- host: {{ index .Values.ingress.hosts 0 .host | default "k8smonitor.local" }}
|
|
http:
|
|
path:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: {{ include "k8smonitor.fullname" . }}
|
|
port:
|
|
number: {{ .Values.service.port }}
|