Update alb

This commit is contained in:
dvirlabs 2026-01-05 20:51:29 +02:00
parent 3562c806c7
commit 42f0bc7508
2 changed files with 22 additions and 16 deletions

View File

@ -32,11 +32,12 @@ backend:
ingress: ingress:
enabled: true enabled: true
className: "traefik" className: "alb"
annotations: annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure alb.ingress.kubernetes.io/scheme: internet-facing
traefik.ingress.kubernetes.io/router.tls: "true" alb.ingress.kubernetes.io/target-type: ip
cert-manager.io/cluster-issuer: "letsencrypt-prod" alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
alb.ingress.kubernetes.io/certificate-arn: "" # Set in project-specific values
hosts: hosts:
- host: api-my-recipes.dvirlabs.com - host: api-my-recipes.dvirlabs.com
paths: paths:
@ -74,11 +75,12 @@ frontend:
ingress: ingress:
enabled: true enabled: true
className: "traefik" className: "alb"
annotations: annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure alb.ingress.kubernetes.io/scheme: internet-facing
traefik.ingress.kubernetes.io/router.tls: "true" alb.ingress.kubernetes.io/target-type: ip
cert-manager.io/cluster-issuer: "letsencrypt-prod" alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
alb.ingress.kubernetes.io/certificate-arn: "" # Set in project-specific values
hosts: hosts:
- host: my-recipes.dvirlabs.com - host: my-recipes.dvirlabs.com
paths: paths:

View File

@ -13,15 +13,17 @@ backend:
ingress: ingress:
className: "alb" className: "alb"
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
# Add your ACM certificate ARN below if you have one
# alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:..."
hosts: hosts:
- host: api-my-recipes.aws-dvirlabs.com - host: api-my-recipes.aws-dvirlabs.com
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls:
- secretName: api-my-recipes-tls
hosts:
- api-my-recipes.aws-dvirlabs.com
# Frontend configuration # Frontend configuration
frontend: frontend:
@ -35,15 +37,17 @@ frontend:
ingress: ingress:
className: "alb" className: "alb"
annotations:
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
# Add your ACM certificate ARN below if you have one
# alb.ingress.kubernetes.io/certificate-arn: "arn:aws:acm:..."
hosts: hosts:
- host: my-recipes.aws-dvirlabs.com - host: my-recipes.aws-dvirlabs.com
paths: paths:
- path: / - path: /
pathType: Prefix pathType: Prefix
tls:
- secretName: my-recipes-tls
hosts:
- my-recipes.aws-dvirlabs.com
externalUrl: "https://my-recipes.aws-dvirlabs.com" externalUrl: "https://my-recipes.aws-dvirlabs.com"