Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

ingress.yaml 882 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  1. {{- if $.Values.ingress.enabled }}
  2. apiVersion: networking.k8s.io/v1
  3. kind: Ingress
  4. metadata:
  5. annotations: {{ toYaml .Values.ingress.annotations | nindent 4 }}
  6. labels: {{ include "labels.standard" . | nindent 4 }}
  7. name: {{ include "name" . }}
  8. namespace: {{ .Release.Namespace }}
  9. spec:
  10. {{ if $.Values.ingress.className }}
  11. ingressClassName: {{ .Values.ingress.className }}
  12. {{ end }}
  13. {{- with .Values.ingress.tls }}
  14. tls:
  15. - hosts:
  16. - {{ $.Values.domain | quote }}
  17. {{- with .secretName }}
  18. secretName: {{ . }}
  19. {{- end }}
  20. {{- end }}
  21. rules:
  22. - host: {{ .Values.domain }}
  23. http:
  24. paths:
  25. - backend:
  26. service:
  27. name: {{ include "name" . }}
  28. port:
  29. name: http
  30. path: {{ $.Values.ingress.path | default "/" }}
  31. pathType: Prefix
  32. {{- end }}
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...