redhat-cop / redhat-cop/gitops-catalog
example non-cloned apply fails due to missing tree ref in URL
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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