Bug 1915403 - OCP 4.6 docs missing on how to properly setup pipeline with git secret
Summary: OCP 4.6 docs missing on how to properly setup pipeline with git secret
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.6
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Petr Kovar
QA Contact: Xiaoli Tian
Petr Kovar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-12 15:34 UTC by peter ducai
Modified: 2024-10-01 17:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-20 14:38:56 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description peter ducai 2021-01-12 15:34:26 UTC
Description of problem:

Customer has issue to setup pipeline with properly linked secret.

Version-Release number of selected component (if applicable):

Pipelines on OCP 4.6

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

As I didnt find any clear info on this issue in [2] I pointed customer to [1], but mentioned solution doesn't work and he get

kubectl apply --filename secret.yaml serviceaccount.yaml run.yaml
error: Unexpected args: [serviceaccount.yaml run.yaml]
See 'kubectl apply -h' for help and examples

[1] https://github.com/tektoncd/pipeline/blob/master/docs/auth.md
[2] https://access.redhat.com/documentation/en-us/openshift_container_platform/4.6/html-single/pipelines/index

Comment 2 Nikhil Thomas 2021-06-01 06:52:18 UTC
> kubectl apply --filename secret.yaml serviceaccount.yaml run.yaml
> error: Unexpected args: [serviceaccount.yaml run.yaml]
> See 'kubectl apply -h' for help and examples

This is a typo in the doc. It should be:

kubectl apply --filename secret.yaml,serviceaccount.yaml,run.yaml

I shall patch it in upstream docs. In addition, we shall improve the downstream docs as well.

Comment 3 Karthik Jeeyar 2021-06-01 09:01:57 UTC
While starting a pipeline through devconsole, we can add secrets under the Advanced options. Please Refer this https://docs.openshift.com/container-platform/4.6/pipelines/working-with-pipelines-using-the-developer-perspective.html#op-starting-pipelines_working-with-pipelines-using-the-developer-perspective

Comment 6 Petr Kovar 2022-06-20 14:38:56 UTC
Resolved in https://issues.redhat.com/browse/RHDEVDOCS-2815.


Note You need to log in before you can comment on or make changes to this bug.