k8s-pulse/helm-chart/templates/ingress.yaml

19 lines
544 B
YAML
Raw Normal View History

2026-07-24 00:15:19 +00:00
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 }}