From 0f8cebbb5cf1adc3f807eb5e967d8bb12823c2f7 Mon Sep 17 00:00:00 2001 From: Zoltan Vigh - Zool Date: Thu, 7 Mar 2024 20:11:09 +0100 Subject: [PATCH] feat: add alb --- values.yaml | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/values.yaml b/values.yaml index d68bda2..f67eec5 100644 --- a/values.yaml +++ b/values.yaml @@ -46,13 +46,34 @@ service: ingress: enabled: true - className: "nginx" - annotations: {} + className: alb + annotations: + alb.ingress.kubernetes.io/scheme: internet-facing + alb.ingress.kubernetes.io/target-type: ip + alb.ingress.kubernetes.io/subnets: subnet-0ef754bf47ead5a45, subnet-00651fd33eba1de85, subnet-014b556e3d18c5be3 + alb.ingress.kubernetes.io/tags: Environment=production,Team=dbx + # Health Check Settings + alb.ingress.kubernetes.io/healthcheck-protocol: HTTP + alb.ingress.kubernetes.io/healthcheck-port: '8081' + alb.ingress.kubernetes.io/healthcheck-path: /actuator/health + alb.ingress.kubernetes.io/healthcheck-interval-seconds: '15' + alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '5' + alb.ingress.kubernetes.io/success-codes: '200' + alb.ingress.kubernetes.io/healthy-threshold-count: '2' + alb.ingress.kubernetes.io/unhealthy-threshold-count: '2' + ## SSL Settings + alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}, {"HTTP":80}]' + alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-central-1:500286922458:certificate/19ad4ceb-8a4d-4b37-824e-3ab84dfa9b99 + # SSL Redirect Setting + alb.ingress.kubernetes.io/actions.ssl-redirect: '{"Type": "redirect", "RedirectConfig": { "Protocol": "HTTPS", "Port": "443", "StatusCode": "HTTP_301"}}' hosts: - - host: ms-demo.pc.home + - host: dbx.codefactory.hu paths: - - path: / - pathType: ImplementationSpecific + - path: /demo/ + pathType: Prefix + serviceName: ms-demo + servicePort: 8080 + tls: [] resources: {}