diff --git a/aws-eks-tutorial/components/helm-chart/templates/api_alb.tpl b/aws-eks-tutorial/components/helm-chart/templates/api_alb.tpl index 62bd364..937f9e5 100644 --- a/aws-eks-tutorial/components/helm-chart/templates/api_alb.tpl +++ b/aws-eks-tutorial/components/helm-chart/templates/api_alb.tpl @@ -9,12 +9,9 @@ metadata: annotations: alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/target-type: ip - alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}]' - {{- /* alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]' alb.ingress.kubernetes.io/certificate-arn: {{ .Values.api.nlbs.public_domain_certificate }} alb.ingress.kubernetes.io/aws-load-balancer-ssl-ports: https - */}} alb.ingress.kubernetes.io/healthcheck-path: /livez external-dns.alpha.kubernetes.io/hostname: {{ .Values.api.nlbs.public_domain }} spec: @@ -43,5 +40,5 @@ spec: type: ClusterIP ports: - name: http - port: 8080 + port: {{ .Values.api.port }} targetPort: http