first commit
This commit is contained in:
20
.helm/templates/ingress.yaml
Normal file
20
.helm/templates/ingress.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
{{- if .Values.ingress.enabled -}}
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: {{ .Release.Name }}-ingress
|
||||
spec:
|
||||
ingressClassName: {{.Values.ingress.class}}
|
||||
rules:
|
||||
- host:
|
||||
- {{ .Values.ingress.host }}
|
||||
http:
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: {{ .Release.Name }}
|
||||
port:
|
||||
number: {{ .Values.app.service.port }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user