Skip to content
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 OpenShift pipelines-install instruction… #511

Merged

Conversation

vdemeester
Copy link
Member

Changes

The current documentation doesn't work with OpenShift because of the
securityContext.runAsUser that comes in the way of the default
behavior of OpenShift. This fixes that.

Signed-off-by: Vincent Demeester [email protected]

Submitter Checklist

These are the criteria that every PR should meet, please check them off as you
review them:

See the contribution guide
for more details.

@tekton-robot tekton-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 10, 2023
@vdemeester
Copy link
Member Author

@afrittoli @geriom to have this fixed in "versionned" docs of pipeline, what is the process ? 👼🏼

```bash
oc apply --filename https://storage.googleapis.com/tekton-releases/pipeline/latest/release.notags.yaml
curl https://storage.googleapis.com/tekton-releases/pipeline/latest/release.notags.yaml | yq 'del(.spec.template.spec.containers[].securityContext.runAsUser, .spec.template.spec.containers[].securityContext.runAsGroup)' | oc apply -f -
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe mention explicitly that yq is needed for this, not everyone will have it installed

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point 👼🏼

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or just used sed and don't make yq as deps

curl -s https://storage.googleapis.com/tekton-releases/pipeline/latest/release.notags.yaml|sed '/runAs/d'|kubectl apply -f-

The current documentation doesn't work with OpenShift because of the
`securityContext.runAsUser` that comes in the way of the default
behavior of OpenShift. This fixes that.

Signed-off-by: Vincent Demeester <[email protected]>
@vdemeester vdemeester force-pushed the openshift-pipeline-install-fi branch from abf82ef to 98c8ec6 Compare February 10, 2023 15:06
@geriom
Copy link
Contributor

geriom commented Feb 10, 2023

@afrittoli @geriom to have this fixed in "versionned" docs of pipeline, what is the process ? 👼🏼

Currently we have to wait until the next release for this to work. Maybe we can build the site from HEAD (the site is rebuilt every night) and from there link to both the latest release and the latest LTS release. Thoughts?

We also need to come up with a way to preview this kind of content ( tracking this in #493 )

@vdemeester
Copy link
Member Author

@geriom what is the status here ? Do we still need to wait for something ?

@geriom
Copy link
Contributor

geriom commented Apr 14, 2023

@vdemeester We can merge this. I'm waiting for someone familiar with OpenShift to approve it.

@afrittoli can you take another look please?

@tekton-robot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale with a justification.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close with a justification.
If this issue should be exempted, mark the issue as frozen with /lifecycle frozen with a justification.

/lifecycle stale

Send feedback to tektoncd/plumbing.

@tekton-robot tekton-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 13, 2023
@geriom
Copy link
Contributor

geriom commented Jul 14, 2023

/remove-lifecycle stale

@tekton-robot tekton-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Jul 14, 2023
@piyush-garg
Copy link

/lgtm

@tekton-robot
Copy link

@piyush-garg: changing LGTM is restricted to collaborators

In response to this:

/lgtm

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.

@geriom
Copy link
Contributor

geriom commented Jul 20, 2023

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Jul 20, 2023
@tekton-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: geriom, khrm

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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 20, 2023
@tekton-robot tekton-robot merged commit f8c0038 into tektoncd:main Jul 20, 2023
@vdemeester vdemeester deleted the openshift-pipeline-install-fi branch July 21, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants