-
Notifications
You must be signed in to change notification settings - Fork 499
Update job name and service name as configurable for cert generator #1889
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
Update job name and service name as configurable for cert generator #1889
Conversation
|
Hi @andreyvelich could you help take a look for this PR, thanks! |
|
/cc @tenzen-y |
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 your contribution! @shaowei-su
I do not know of any use cases where we want to change only jobName or serviceName.
Should we change the implementation so that all names can have a prefix or suffix?
What do you think? @kubeflow/wg-automl-leads @shaowei-su
|
Isn't this harmless anyways? |
|
Yes, this feature is harmless. It makes sense. @johnugeorge @shaowei-su |
|
Good idea @tenzen-y PR updated with service resource validation. PTAL! |
tenzen-y
left a comment
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 these updates! @shaowei-su
/lgtm
@kubeflow/wg-automl-leads Can you start gh-actions?
|
It seems that all the e2e tests filed due to mysql connections cc + @johnugeorge |
|
@shaowei-su The test error is happening because |
|
Thanks @johnugeorge ! any chance we can view the error logs or reproduce the failure locally? could it be the ordering of deployments, e.g cert-generator deployed before the controller service created and thus failed the validation added in this PR? |
|
@shaowei-su
|
|
@shaowei-su Can you update this at the earliest as we are nearing the release timelines? |
|
Thanks @tenzen-y @johnugeorge for the detailed instructions! |
tenzen-y
left a comment
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 updating PR! @shaowei-su
/lgtm
@kubeflow/wg-automl-leads Can you restart Go Test?
|
@johnugeorge |
|
Go tests have been restarted few times (https://github.com/kubeflow/katib/runs/6874004788?check_suite_focus=true) but always failed on k8s version |
|
We have flaky unit tests... ref: #1649 |
|
/approve |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: johnugeorge, shaowei-su The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR adds two additional command line input args
serviceNamejobNamefor thecert-generatorjob so that it's configurable in case Katib controller is deployed to multiple envs, e.g havingkatib-controller-productionandkatib-controller-staging.By default, these two values will fall back to the hardcoded constants defined here: https://github.com/kubeflow/katib/blob/master/pkg/cert-generator/v1beta1/consts/const.go#L21
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Allows
cert-generatorusage like:Checklist: