We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7e03a7e commit e9f8b20Copy full SHA for e9f8b20
main.tf
@@ -493,7 +493,7 @@ resource "kubernetes_ingress" "kafka_rest_ingress" {
493
494
http {
495
path {
496
- path = "/kafka(/|$)(.*)"
+ path = "/${var.kafka_rest_endpoint}(/|$)(.*)"
497
498
backend {
499
service_name = "${var.kafka_name}-rest-service"
variables.tf
@@ -21,3 +21,7 @@ variable "kafka_rest_enabled" {
21
type = bool
22
default = false
23
}
24
+variable "kafka_rest_endpoint" {
25
+ type = string
26
+ default = "kafka"
27
+}
0 commit comments