redhat-cop / redhat-cop/gitops-catalog

example non-cloned apply fails due to missing tree ref in URL

Open
#348 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
383
Forks
184
PR merge metrics
No merged PRs in 30d

Description

RHACM offers this instruction to apply without cloning

oc apply -k https://github.com/redhat-cop/gitops-catalog/advanced-cluster-management/operator/overlays/<channel>

This does not work. Needs to be

oc apply -k https://github.com/redhat-cop/gitops-catalog/advanced-cluster-management/operator/overlays/<channel>\?ref\=main

This can be tested as:

oc kustomize https://github.com/redhat-cop/gitops-catalog/advanced-cluster-management/operator/overlays/release-2.12\?ref\=main

This is probably found in other READMEs. Just filing an issue before I forget again.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Search the repository's README files for the RHACM non-cloned apply instructions and similar kustomize URLs. Start by running the documented oc kustomize command against the release-2.12 overlay, then update affected examples to include the main ref and verify the corrected command works.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
Half a day
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.