Created
February 13, 2024 10:12
-
-
Save nimboya/10e5b67e80709f39f2fa258813892546 to your computer and use it in GitHub Desktop.
alb-ingress-waf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking:k8s.io/v1 | |
kind: Ingress | |
metadata: | |
name: app-name | |
annotations: | |
alb.ingress.kubernetes.io/group.name: staging | |
alb.ingress.kubernetes.io/scheme: internet-facing | |
alb.ingress.kubernetes.io/target-type: ip | |
alb.ingress.kubernetes.io/certificate-arn: arn:aws:acm:eu-west-2:123456789:certificate/124-123-12babc | |
alb.ingress.kubernetes.io/actions.ssl-redirect: '{"type":"redirect", "redirectconfig": {"protocol":"https","port":"443","statuscode":"HTTP_301"}}' | |
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}' | |
alb.ingress.kubernetes.io/healthcheck-path: / | |
alb.ingress.kubernetes.io/waf-acl-id: abc1234567890 | |
spec: | |
ingressClassName: alb | |
rules: | |
- host: "app.pipeops.dev" | |
http: | |
paths: | |
- path: / | |
pathType: Prefix | |
backend: | |
service: | |
name: app-svc | |
port: | |
number: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment