Some checks failed
/ build-and-deploy (push) Failing after 51s
- Corrected spacing in Helm template syntax for deployment and service manifests. - Updated container port to use environment variable in deployment manifest. - Modified ingress manifest to use environment variable for service port. - Changed image tag in values.yaml from 'dev' to 'main'. - Updated environment variables in values.yaml for production settings. - Refined dev-application.yaml to include necessary parameters for deployment.
23 lines
548 B
YAML
23 lines
548 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: { { .Release.Name } }
|
|
namespace: { { .Release.Namespace } }
|
|
spec:
|
|
ingressClassName: nginx
|
|
rules:
|
|
- host: { { .Values.host } }
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: { { .Release.Name } }
|
|
port:
|
|
number: { { .Values.env.PORT | default 5000 } }
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- { { .Values.host } }
|
|
secretName: "{{ .Release.Name }}-tls"
|