TaoYang526 commented on issue #81: [YUNIKORN-28] Support validating yunikorn-configs before admitting it URL: https://github.com/apache/incubator-yunikorn-k8shim/pull/81#issuecomment-598986158 @yangwwei Thanks for the comments. According to the codes for helm charts, I can see that service name is constant and the port is configurable, I think we can only configure the name of service in configs.properties and get the http port of yunikorn service automatically in admission_util.sh via `kubectl get service yunikorn-service -n $NAMESPACE -o jsonpath="{.spec.ports[0].port}"`, then inject the serviceAddress into admission-controller by environment variable. My doubt is that the namespace in admission-controller seems not related to the helm charts, are we expecting they may be different?
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
