-
Notifications
You must be signed in to change notification settings - Fork 255
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
Add create command for task and clustertask #1359
Conversation
The following is the coverage report on the affected files.
|
c904c0b
to
938efe6
Compare
The following is the coverage report on the affected files.
|
938efe6
to
a524ba7
Compare
The following is the coverage report on the affected files.
|
a524ba7
to
1c9d73b
Compare
The following is the coverage report on the affected files.
|
1c9d73b
to
47d045b
Compare
The following is the coverage report on the affected files.
|
47d045b
to
502326c
Compare
502326c
to
765fb26
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
765fb26
to
73e1c65
Compare
The following is the coverage report on the affected files.
|
73e1c65
to
79223e5
Compare
The following is the coverage report on the affected files.
|
79223e5
to
e76d7fc
Compare
The following is the coverage report on the affected files.
|
e76d7fc
to
892bab7
Compare
The following is the coverage report on the affected files.
|
028242f
to
8372057
Compare
The following is the coverage report on the affected files.
|
fc19e63
to
0b1ee96
Compare
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
The following is the coverage report on the affected files.
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: piyush-garg, vdemeester 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 |
- This commit adds a create function which can create a `ClusterTask` and it's corresponding tests. - Add a subcommand for `ClusterTask` which can create a `ClusterTask` from a `Task` with the help of command `tkn clustertask create --from=taskname`. Signed-off-by: vinamra28 <[email protected]>
- This commit add a create function which can create a `Task` and add it's corresponding tests. - Add a subcommand for `Task` which can create a `Task` from a `ClusterTask` with the help of command `tkn task create --from=clustertaskname`. Signed-off-by: vinamra28 <[email protected]>
0b1ee96
to
4956625
Compare
The following is the coverage report on the affected files.
|
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
Changes
Since
Task
andClusterTask
shares the same spec, there can be ausecase where user want to convert the Task to ClusterTask which they
have built so that it can be used ClusterWide.
In this PR:-
task
which can be executed as:-tkn task create tname --from-clustertask=clustertaskname
Task
from the existingClusterTask
if exists
clustertask
which can be executed as:-tkn clustertask create ctname --from-task tname -n ns
v1alpha1
.closes #642
Signed-off-by: vinamra28 [email protected]
Submitter Checklist
These are the criteria that every PR should meet, please check them off as you
review them:
make check
make generated
See the contribution guide
for more details.
Release Notes