chenshaojin commented on code in PR #2999:
URL:
https://github.com/apache/incubator-streampark/pull/2999#discussion_r1311152835
##########
streampark-flink/streampark-flink-kubernetes/src/main/scala/org/apache/streampark/flink/kubernetes/ingress/IngressStrategy.scala:
##########
@@ -48,11 +47,16 @@ trait IngressStrategy {
}
def buildIngressAnnotations(clusterId: String): Map[String, String] = {
- Map(
+ val annotations = Map(
"nginx.ingress.kubernetes.io/rewrite-target" -> "/$2",
"nginx.ingress.kubernetes.io/proxy-body-size" -> "1024m",
"nginx.ingress.kubernetes.io/configuration-snippet" -> ("rewrite ^(/" +
clusterId + ")$ $1/ permanent;")
)
+ val ingressClass =
InternalConfigHolder.get[String](K8sFlinkConfig.ingressClass)
Review Comment:
ok
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]