Created
April 23, 2022 09:08
-
-
Save Havoc24k/621d0e742eab328ec18deff6827fbcbc to your computer and use it in GitHub Desktop.
waypoint.release.hcl
This file contains 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
release { | |
use "kubernetes" { | |
// Sets up a load balancer to access released application | |
load_balancer = false | |
ports = [ | |
{ "port" = "50051", "target_port" = "50051" } | |
] | |
ingress "http" { | |
default = false | |
path = "/" | |
host = var.GRPS_URL | |
tls { | |
hosts = [var.GRPS_URL] | |
secret_name = "grpc-tls" | |
} | |
annotations = { | |
"kubernetes.io/ingress.class" = "nginx", | |
"cert-manager.io/cluster-issuer" = "letsencrypt-prod", | |
"kubernetes.io/tls-acme" = "true", | |
"nginx.ingress.kubernetes.io/ssl-redirect" = "true", | |
"nginx.ingress.kubernetes.io/backend-protocol" = "GRPC" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment