Skip to content

Instantly share code, notes, and snippets.

@Havoc24k
Created April 23, 2022 09:08
Show Gist options
  • Save Havoc24k/621d0e742eab328ec18deff6827fbcbc to your computer and use it in GitHub Desktop.
Save Havoc24k/621d0e742eab328ec18deff6827fbcbc to your computer and use it in GitHub Desktop.
waypoint.release.hcl
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