-
Notifications
You must be signed in to change notification settings - Fork 577
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 kubernetes actions task in kubectl
#367
Conversation
Hi @vinamra28. Thanks for your PR. I'm waiting for a tektoncd member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@chmouel could you please have a look at this PR 🙂 |
@vdemeester could you please take a look at this PR 😅 |
/ok-to-test |
@vinamra28 switched the base branch to master as it got merged with |
/test pull-tekton-catalog-integration-tests |
1 similar comment
/test pull-tekton-catalog-integration-tests |
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.
/meow
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: 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 |
38324d5
to
f76930f
Compare
@vinamra28 can you rebase your PR |
6a5e8fa
to
c5c982a
Compare
/test pull-tekton-catalog-integration-tests |
Thanks for pointing me to this @vinamra28! I have some feedback
|
Thanks @a-roberts for the reviews.
I have parameterized the image so if you want to use another image then you can use it freely and also the image used was an official one from
The RBAC is a part of the existing
Manifest via the URL can be provided in the script itself. For example :-
Also as I can see in your task #393 that task is totally dependent on path of the manifest so if in case you want to
|
Perhaps we add a comment saying (if you want to use something smaller, but not official, the lachlevenson image would also work)?
I don't feel strongly enough to contend this, so that's fair 😄
I was unaware you could do that, could you add something into the docs & task yaml so users know too? That would satisfy the use case I have I think, thanks! |
c5c982a
to
bcd50a5
Compare
b54479d
to
d9a6a43
Compare
Please see : #389 |
859eae9
to
844e6ef
Compare
844e6ef
to
e850ae5
Compare
/test pull-tekton-catalog-build-tests |
e850ae5
to
de5ca79
Compare
/test pull-tekton-catalog-build-tests |
CI error should be addressed by @vdemeester's tektoncd/plumbing#485 |
/test pull-tekton-catalog-build-tests |
de5ca79
to
7f15f1c
Compare
The task `kubectl-actions` is a generic task which can be used to perform k8s-actions. We take the whole script as a `params` whereas the existing task `kubectl-deploy` only works for deploying the pod and fulfills the specific criteria. Signed-off-by: vinamra28 <[email protected]>
7f15f1c
to
753d6d5
Compare
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
The task
kubectl-actions
is a generic task which can be used to perform k8s-actions. We take the whole script as aparams
whereas the existing taskkubectl-deploy
only works for deploying the pod and fulfills the specific criteria #233The following PR also contains a task which can be used to patch image deployment as a part of example.
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:
File path follows
<kind>/<name>/<version>/name.yaml
Has
README.md
at<kind>/<name>/<version>/README.md
Has mandatory
metadata.labels
-app.kubernetes.io/version
the same as the<version>
of the resourceHas mandatory
metadata.annotations
tekton.dev/pipelines.minVersion
mandatory
spec.description
follows the conventionSee the contribution guide
for more details.