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
|
apiVersion: networking.k8s.io/v1
|
||||||
kind: Ingress
|
kind: Ingress
|
||||||
metadata:
|
metadata:
|
||||||
name: { { .Release.Name } }
|
name: {{ .Release.Name }}
|
||||||
namespace: { { .Release.Namespace } }
|
namespace: {{ .Release.Namespace }}
|
||||||
spec:
|
spec:
|
||||||
ingressClassName: nginx
|
ingressClassName: nginx
|
||||||
rules:
|
rules:
|
||||||
- host: { { .Values.host } }
|
- host: {{ .Values.host }}
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- backend:
|
- backend:
|
||||||
service:
|
service:
|
||||||
name: { { .Release.Name } }
|
name: {{ .Release.Name }}
|
||||||
port:
|
port:
|
||||||
number: { { .Values.env.PORT | default 5000 } }
|
number: {{ .Values.env.PORT | default 5000 }}
|
||||||
path: /
|
path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- hosts:
|
- hosts:
|
||||||
- { { .Values.host } }
|
- {{ .Values.host }}
|
||||||
secretName: "{{ .Release.Name }}-tls"
|
secretName: "{{ .Release.Name }}-tls"
|
||||||
|
|||||||
Reference in New Issue
Block a user