gyfora commented on a change in pull request #37:
URL:
https://github.com/apache/flink-kubernetes-operator/pull/37#discussion_r818539179
##########
File path: docker-entrypoint.sh
##########
@@ -31,7 +31,8 @@ elif [ "$1" = "operator" ]; then
elif [ "$1" = "webhook" ]; then
echo "Starting Webhook"
- exec java -jar $LOG_CONFIG /$WEBHOOK_JAR
+ # Adds the operator shaded jar on the classpath when the webhook starts
+ exec java -Xbootclasspath/a:/$OPERATOR_JAR -jar $LOG_CONFIG /$WEBHOOK_JAR
Review comment:
did you try:
```
exec java $LOG_CONFIG -classpath /$OPERATOR_JAR:/$WEBHOOK_JAR
org.apache.flink.kubernetes.operator.admission.FlinkOperatorWebhook
```
--
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]