origin / rules
Cursor rule8.7k starsChanged 4 months agoApache-2.0View on GitHub
Content and dependency rules for the test/shared module
Trending
More talk lately.about the whole repository
Who's talking about openshift/origin
- kubernetes/kubernetes“RFC: Deployment hooks”GitHub · Sep 24, 2015 · 53 reactions
- kubernetes/kubernetes“kubectl port-forward doesn't properly recover from interrupted connection errors”GitHub · May 28, 2019 · 52 reactions
- kubernetes/kubernetes“Setting defaultMode is not Fully Respected When Pod.spec.securityContext.runAsUser is Set”GitHub · Jan 6, 2018 · 38 reactions
- kubernetes/kubernetes“support label selector in RBAC”GitHub · Apr 20, 2017 · 29 reactions
- Stack Overflow“OpenShift Origin vs OpenShift Enterprise”Stack Overflow · Mar 10, 2016 · 28 votes
The biggest 5 of 52 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 52
Talked about on Stack Overflow, GitHub, Hacker News and Bluesky (52 times).
On Stack Overflow · 26
- Mar 10, 2016OpenShift Origin vs OpenShift Enterprise28 votes
- Sep 21, 2015kubernetes : Service shared between multiple namespaces10 votes · 1 answer
- Aug 10, 2017Unable to push a docker image to local OpenShift Origin registry8 votes · 2 answers
- Dec 30, 2017Kubernetes pod secrets /var/run/secrets missing7 votes · 1 answer
- Sep 15, 2017Explain the last dash in a bash/pipe expression7 votes · 1 answer
21 more on Stack Overflow
- Sep 6, 2019How to get rollback to use the older image instead of staying on the newest (externally built)?5 votes · 2 answers
- Jan 27, 2019openshift oc need libcrypto.so.105 votes
- Sep 10, 2015Can't access OpenShift console on http://ip:84435 votes · 2 answers
- Jan 9, 2017Making openshift origin docker containers persistent after reboot4 votes
- Dec 28, 2016OpenShift Origin Project(s) getting lost on bringing cluster down and up again4 votes
- Aug 31, 2021Create OpenShift TLS route from secret3 votes
- Dec 11, 2020openshift 3.11 oc command : error: Error loading config file ".kube/config": yaml: line 11: could not find expected ':'3 votes · 1 answer
- Jun 25, 2020Create OpenShift TLS route from secret3 votes
- Sep 9, 2018OpenShift docker registry can't pull an image from registry-1.docker.io3 votes · 1 answer
- Feb 18, 2018Kubernetes - Jenkins integration3 votes
- Jan 30, 2018Moving a docker-compose container to openshift V33 votes
- Mar 2, 2017How to specify OpenShift image when creating a Job3 votes
- Oct 19, 2015Unable to mount volumes for pod3 votes · 1 answer
- Apr 14, 2020Unable to reuse existing Persistent Volume (GlusterFS)2 votes · 1 answer
- Sep 23, 2019OC Cluster never goes up Error: timed out waiting for the condition2 votes
- Jan 4, 2018pods can't resolve DNS after 'oc cluster up'2 votes
- Sep 9, 2017OpenShift oc command line with Cygwin2 votes
- Dec 14, 2016Openshift online zookeeper from dockerfile pod "Crash loop back off"2 votes
- Nov 3, 2016User "system" cannot list all services in the cluster2 votes
- Feb 22, 2016Proxy configuration for OpenShift Origin2 votes · 1 answer
- Aug 22, 2014Docker application Portability in Openshift2 votes
On GitHub · 22
- Sep 24, 2015RFC: Deployment hooks — kubernetes/kubernetes53 reactions · 31 comments
- May 28, 2019kubectl port-forward doesn't properly recover from interrupted connection errors — kubernetes/kubernetes52 reactions · 57 comments
- Jan 6, 2018Setting defaultMode is not Fully Respected When Pod.spec.securityContext.runAsUser is Set — kubernetes/kubernetes38 reactions · 49 comments
- Apr 20, 2017support label selector in RBAC — kubernetes/kubernetes29 reactions · 33 comments
- Nov 29, 2018gRPC code Unavailable instead Canceled — etcd-io/etcd13 reactions · 29 comments
17 more on GitHub
- Aug 3, 2017Fix broken watches — kubernetes/kubernetes13 reactions · 90 comments
- Oct 28, 2021Allow Namespaced ArgoCD/GitOps to create Projects — redhat-developer/gitops-operator11 reactions · 5 comments
- Apr 24, 2023[OKD 4.11][AWS] Installing cluster fails since new S3 bucket settings — okd-project/okd10 reactions · 8 comments
- Nov 5, 2018ADD does not support ENV/ADD variables — GoogleContainerTools/kaniko7 reactions · 2 comments
- Jan 17, 2019Release official builds (Linux) — podman-container-tools/skopeo6 reactions · 18 comments
- Feb 26, 2018Can't use docker-registry.default.svc in pod spec — minishift/minishift-centos-iso6 reactions · 4 comments
- May 12, 2020feat(route): Implements rewrite-target for ha-proxy — openshift/router4 reactions · 54 comments
- Mar 5, 2025SPLAT-2060: Create e2e tests for vSphere Data Disk feature — openshift/machine-api-operator3 reactions · 23 comments
- Mar 29, 2023ETCD-409: add etcd-recovery suite to aws — openshift/release3 reactions · 12 comments
- Sep 26, 2022Add etcd-scaling workflows to step-registry — openshift/release3 reactions · 23 comments
- Aug 23, 2021Allow /approve to be misspelled as /approved — kubernetes/test-infra3 reactions · 13 comments
- May 12, 2020feat(router): Adds documentation for haproxy.router.openshift.io/rewrite-target — openshift/openshift-docs3 reactions · 10 comments
- Jul 14, 2025CCO-690: Integrate OpenShift Test Extension framework for CCO — openshift/cloud-credential-operator2 reactions · 55 comments
- Jan 16, 2025NO-JIRA: bump(origin) — openshift/openstack-test2 reactions · 7 comments
- Apr 9, 2020[WIP] Fix eposing for passthrough routes — tnozicka/openshift-acme2 reactions · 12 comments
- Jun 25, 2019 Introduce package kube-types: add generators for OpenShift and KubeVirt TypeScript definitions — openshift/console2 reactions · 15 comments
- Jan 4, 2019Fix systemd cpu/memory problems on RedHat — puppetlabs/puppetlabs-kubernetes2 reactions · 1 comment
On Hacker News · 3
- Aug 4, 2017Epel just broke1 point
- Jun 19, 2015OpenShift Origin v1.0.0 released1 point
- Jan 29, 2015OpenShift 3 Application Lifecycle Supports Docker1 point
On Bluesky · 1
- Nov 6, 2026origin (⭐️ 8691) Conformance test suite for OpenShift #go — @golangoss.bsky.social1 likes and repost
Where files are headingNew Cursor rule files have more rules about planning and tracking tasks, and fewer about code style.
Of the Cursor rule files we read, the 4,144 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .cursor/rules/general.mdcCursor rule
- .cursor/rules/testing.mdcCursor rule
The file
We split this test-shared.mdc into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Do not add code that is used by only a single repository.
- Very specific: line 11
Do refactor code into test/shared instead of copying code to another repository.
- Very specific: line 21
If code requires a domain-specific dependency — e.g.
≈ “Common” is an estimate: at least 1 in 5 of the 6,668 Cursor rule files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
--- description: Content and dependency rules for the test/shared module globs: test/shared/** --- ### test/shared module scope **`test/shared` is for code shared between multiple repositories.** * Do not add code that is used by only a single repository. * Do refactor code into `test/shared` instead of copying code to another repository. **`test/shared` is for code that is generally useful across OpenShift OTE tests.** **`test/shared` has a deliberately restricted set of dependencies.** Dependencies should be limited to Go modules that almost any OpenShift OTE test would already have, e.g.: * `k8s.io` modules * ginkgo * `openshift/api` If code requires a domain-specific dependency — e.g. a cluster-api provider or some specific vendor's SDK — that code is probably not suitable for `test/shared`. The dependency boundary is enforced by the `depguard` linter (`list-mode: strict`) in `test/shared/.golangci.yml`. Adding an allowed dependency requires updating that allowlist, then running `go mod tidy && go mod vendor` in `test/shared` (verified in CI by `make verify`).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

