-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add support for custom service labels #1952
feat: add support for custom service labels #1952
Conversation
Signed-off-by: Cian Gallagher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution. Indentation has issues. Please make sure to run go fmt
to reformat the code. serviceLabels
sounds generic. Can we make it clear by renaming it to something like sparkUiSvcLabels
?
Signed-off-by: Cian Gallagher <[email protected]>
@yuchaoran2011 Thanks for taking a look, and the quick response. I have pushed a fix for the formatting 👍 However, with regards to renaming I can make this change if insisted, but I personally don't see the benefit in the following configuration (as this suggestion might entail): sparkUIOptions:
sparkUiSvcLabels:
test-label/v1: 'true' vs sparkUIOptions:
serviceLabels:
test-label/v1: 'true' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right. I missed that the newly added serviceLabels is under UI configurations. That's good then. One last change: another PR got merged before yours that took the 1.1.29 version number, now the chart number needs to be bump up to 1.1.30
Signed-off-by: Cian Gallagher <[email protected]>
@yuchaoran2011 Done :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: Cian911, yuchaoran2011 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Andrew Chubatiuk <[email protected]>
* cleanup after upgrade Signed-off-by: Andrew Chubatiuk <[email protected]> * pr comments Signed-off-by: Andrew Chubatiuk <[email protected]> * feat: add support for custom service labels (#1952) * feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Andrew Chubatiuk <[email protected]> --------- Signed-off-by: Andrew Chubatiuk <[email protected]> Signed-off-by: Cian Gallagher <[email protected]> Co-authored-by: Cian Gallagher <[email protected]>
* feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Peter McClonski <[email protected]>
* cleanup after upgrade Signed-off-by: Andrew Chubatiuk <[email protected]> * pr comments Signed-off-by: Andrew Chubatiuk <[email protected]> * feat: add support for custom service labels (kubeflow#1952) * feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Andrew Chubatiuk <[email protected]> --------- Signed-off-by: Andrew Chubatiuk <[email protected]> Signed-off-by: Cian Gallagher <[email protected]> Co-authored-by: Cian Gallagher <[email protected]> Signed-off-by: Peter McClonski <[email protected]>
* feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]>
* cleanup after upgrade Signed-off-by: Andrew Chubatiuk <[email protected]> * pr comments Signed-off-by: Andrew Chubatiuk <[email protected]> * feat: add support for custom service labels (kubeflow#1952) * feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Andrew Chubatiuk <[email protected]> --------- Signed-off-by: Andrew Chubatiuk <[email protected]> Signed-off-by: Cian Gallagher <[email protected]> Co-authored-by: Cian Gallagher <[email protected]>
* feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]>
* cleanup after upgrade Signed-off-by: Andrew Chubatiuk <[email protected]> * pr comments Signed-off-by: Andrew Chubatiuk <[email protected]> * feat: add support for custom service labels (kubeflow#1952) * feat: add support for custom service labels Signed-off-by: Cian Gallagher <[email protected]> * chore: correctly format files Signed-off-by: Cian Gallagher <[email protected]> * chore: bump chart version to 1.1.30 Signed-off-by: Cian Gallagher <[email protected]> --------- Signed-off-by: Cian Gallagher <[email protected]> Signed-off-by: Andrew Chubatiuk <[email protected]> --------- Signed-off-by: Andrew Chubatiuk <[email protected]> Signed-off-by: Cian Gallagher <[email protected]> Co-authored-by: Cian Gallagher <[email protected]>
There is no way currently to add custom labels to services created by the
spark-operator
. This can be very useful for anyone who uses opa-gatekeeper for policy controls in their kubernetes clusters.See related issues of users asking for this: #1342