{{ if eq .ENVIRONMENT "production" }} --- apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: {{ .NAME }} namespace: {{ .NAMESPACE }} annotations: kubernetes.io/ingress.class: alb alb.ingress.kubernetes.io/healthcheck-interval-seconds: '15' alb.ingress.kubernetes.io/healthcheck-path: /spy.v1.SpyRPCService/SubscribeSignedVAA alb.ingress.kubernetes.io/healthcheck-protocol: HTTP alb.ingress.kubernetes.io/healthcheck-timeout-seconds: '5' alb.ingress.kubernetes.io/healthy-threshold-count: '2' alb.ingress.kubernetes.io/unhealthy-threshold-count: '2' alb.ingress.kubernetes.io/success-codes: "0" alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]' alb.ingress.kubernetes.io/backend-protocol: HTTPS alb.ingress.kubernetes.io/backend-protocol-version: GRPC alb.ingress.kubernetes.io/scheme: internet-facing alb.ingress.kubernetes.io/tags: createdBy=aws-controller alb.ingress.kubernetes.io/target-type: ip alb.ingress.kubernetes.io/group.name: wormscan-grpc-group alb.ingress.kubernetes.io/certificate-arn: external-dns.alpha.kubernetes.io/hostname: {{ .HOSTNAME }} spec: rules: - host: {{ .HOSTNAME }} http: paths: - pathType: Prefix path: "/" backend: service: name: {{ .NAME }} port: number: 8001 {{ end }}