Fix template syntax in ingress.yaml
All checks were successful
/ build-and-deploy (push) Successful in 1m36s
All checks were successful
/ build-and-deploy (push) Successful in 1m36s
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: { { .Release.Name } }
|
||||
namespace: { { .Release.Namespace } }
|
||||
name: {{ .Release.Name }}
|
||||
namespace: {{ .Release.Namespace }}
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: { { .Values.host } }
|
||||
- host: {{ .Values.host }}
|
||||
http:
|
||||
paths:
|
||||
- backend:
|
||||
service:
|
||||
name: { { .Release.Name } }
|
||||
name: {{ .Release.Name }}
|
||||
port:
|
||||
number: { { .Values.env.PORT | default 5000 } }
|
||||
number: {{ .Values.env.PORT | default 5000 }}
|
||||
path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- hosts:
|
||||
- { { .Values.host } }
|
||||
- {{ .Values.host }}
|
||||
secretName: "{{ .Release.Name }}-tls"
|
||||
|
||||
Reference in New Issue
Block a user