Aitozi commented on code in PR #190:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/190#discussion_r862345942
##########
flink-kubernetes-webhook/src/main/java/org/apache/flink/kubernetes/operator/admission/FlinkOperatorWebhook.java:
##########
@@ -57,8 +59,8 @@ public class FlinkOperatorWebhook {
public static void main(String[] args) throws Exception {
EnvUtils.logEnvironmentInfo(LOG, "Flink Kubernetes Webhook", args);
FlinkConfigManager configManager = new FlinkConfigManager();
- AdmissionHandler endpoint =
- new AdmissionHandler(new FlinkValidator(new
DefaultValidator(configManager)));
+ Set<FlinkResourceValidator> validators =
ValidatorUtils.discoverValidators(configManager);
Review Comment:
The env `FLINK_PLUGINS_DIR` has been set in the `flink-operator.yaml` for
webhook container
--
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]