Skip to content

Commit 48bb0f4

Browse files
authored
Merge pull request #29565 from sosiouxme/20250226-master-main
TRT-1874: rename master->main
2 parents d25eb09 + fb42d76 commit 48bb0f4

File tree

22 files changed

+54
-54
lines changed

22 files changed

+54
-54
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This repo was previously the core Kubernetes tracking repo for
1111
2020, the purpose and maintenance strategy of the repo varies by
1212
branch.
1313

14-
## Maintenance of `master` and `release-x.x` branches for 4.6 and above
14+
## Maintenance of `main` and `release-x.x` branches for 4.6 and above
1515

1616
These branches no longer include the code required to produce
1717
`hyperkube` binaries, and are limited to maintaining the `openshift-tests`
@@ -27,9 +27,9 @@ to `origin` that bumps the vendoring.
2727
Branch names are correlated across the 2 repositories such that
2828
changes merged to a given branch in `openshift/kubernetes` should be
2929
vendored into the same branch in `origin` (e.g. `master` in
30-
`openshift/kubernetes` is vendored into `master` in `origin`).
30+
`openshift/kubernetes` is vendored into `main` in `origin`).
3131

32-
**NOTE:** Vendoring of the `master` and `release-x.x` branches of
32+
**NOTE:** Vendoring of the `main` and `release-x.x` branches of
3333
`openshift/kubernetes` into the equivalent branches in `origin` is
3434
intended to be temporary. At some point in the near future, `origin`
3535
will switch to vendoring origin-specific branches (e.g
@@ -55,7 +55,7 @@ https://github.com/openshift/kubernetes/blob/master/openshift-hack/e2e/annotate/
5555

5656
Test annotation rules for openshift e2e tests are maintained in:
5757

58-
https://github.com/openshift/origin/blob/master/test/extended/util/annotate/rules.go
58+
https://github.com/openshift/origin/blob/main/test/extended/util/annotate/rules.go
5959

6060
Origin vendors the kube rules and applies both the kube and openshift
6161
rules to the set of tests included in the `openshift-tests` binary.
@@ -136,7 +136,7 @@ All e2e tests are compiled into the `openshift-tests` binary.
136136
To build the test binary, run `make`.
137137

138138
To run a specific test, or an entire suite of tests, read
139-
[test/extended/README](https://github.com/openshift/origin/blob/master/test/extended/README.md)
139+
[test/extended/README](https://github.com/openshift/origin/blob/main/test/extended/README.md)
140140
for more information.
141141

142142
## Updating external examples

docs/cli.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,7 @@ In both cases, the top-level field is `spec` and its value is another map expres
640640
This processes a Template into a valid Config resource. The processing
641641
will take care of generating values for parameters specified in the Template and
642642
substituting the values in the corresponding places. An example Template can be
643-
found in [examples/sample-app/application-template-stibuild.json](https://github.com/openshift/origin/blob/master/examples/sample-app/application-template-stibuild.json).
643+
found in [examples/sample-app/application-template-stibuild.json](https://github.com/openshift/origin/blob/main/examples/sample-app/application-template-stibuild.json).
644644

645645
```bash
646646
$ oc process -f examples/sample-app/application-template-stibuild.json > config.json

docs/cli_hacking_guide.adoc

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,14 @@ We make use of https://github.com/spf13/cobra[Cobra] and https://github.com/spf1
1818

1919
Commands are organized in the package structure as:
2020

21-
* https://github.com/openshift/origin/tree/master/pkg/cmd[pkg/cmd]
22-
** https://github.com/openshift/origin/tree/master/pkg/cmd/openshift[pkg/cmd/openshift] - `openshift` or `origin` command.
23-
** https://github.com/openshift/origin/tree/master/pkg/cmd/infra[pkg/cmd/infra]
24-
*** https://github.com/openshift/origin/tree/master/pkg/cmd/infra/deployer[pkg/cmd/infra/deployer] - `openshift-deploy` command.
25-
26-
* https://github.com/openshift/origin/tree/master/pkg/oc[pkg/oc]
27-
** https://github.com/openshift/origin/tree/master/pkg/oc/cli[pkg/oc/cli] - `oc` and `kubectl` commands.
28-
** https://github.com/openshift/origin/tree/master/pkg/oc/cli/experimental[pkg/oc/cli/experimental] - `oc ex` command.
21+
* https://github.com/openshift/origin/tree/main/pkg/cmd[pkg/cmd]
22+
** https://github.com/openshift/origin/tree/main/pkg/cmd/openshift[pkg/cmd/openshift] - `openshift` or `origin` command.
23+
** https://github.com/openshift/origin/tree/main/pkg/cmd/infra[pkg/cmd/infra]
24+
*** https://github.com/openshift/origin/tree/main/pkg/cmd/infra/deployer[pkg/cmd/infra/deployer] - `openshift-deploy` command.
25+
26+
* https://github.com/openshift/origin/tree/main/pkg/oc[pkg/oc]
27+
** https://github.com/openshift/origin/tree/main/pkg/oc/cli[pkg/oc/cli] - `oc` and `kubectl` commands.
28+
** https://github.com/openshift/origin/tree/main/pkg/oc/cli/experimental[pkg/oc/cli/experimental] - `oc ex` command.
2929

3030
=== Command Structure
3131

docs/proposals/image-promotion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ based on the verification results.
9393

9494
#### Example of using Jenkins
9595

96-
As a user I have a Jenkins server running in my project by following the instructions from the [Jenkins example](https://github.com/openshift/origin/blob/master/examples/jenkins/README.md).
96+
As a user I have a Jenkins server running in my project by following the instructions from the [Jenkins example](https://github.com/openshift/origin/blob/main/examples/jenkins/README.md).
9797
Then I create the *frontend-production* DeploymentConfig in my *Prod* project.
9898

9999
This DeploymentConfig has the ImageChangeTrigger set to watch changes in the "prod-ready" ImageStreamTag:

examples/db-templates/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ your current project. Instantiate a new database service with this command:
3737
Replace `/path/to/template.json` with an appropriate path, that can be either a
3838
local path or an URL. Example:
3939

40-
$ oc new-app https://raw.githubusercontent.com/openshift/origin/master/examples/db-templates/mariadb-ephemeral-template.json
40+
$ oc new-app https://raw.githubusercontent.com/openshift/origin/main/examples/db-templates/mariadb-ephemeral-template.json
4141

4242
The parameters listed in the output above can be tweaked by specifying values in
4343
the command line with the `-p` option:
@@ -59,7 +59,7 @@ later. Create the template with this command:
5959
Replace `/path/to/template.json` with an appropriate path, that can be either a
6060
local path or an URL. Example:
6161

62-
$ oc create -f https://raw.githubusercontent.com/openshift/origin/master/examples/db-templates/mariadb-ephemeral-template.json
62+
$ oc create -f https://raw.githubusercontent.com/openshift/origin/main/examples/db-templates/mariadb-ephemeral-template.json
6363
template "mariadb-ephemeral" created
6464

6565
The new template is now available to use in the Web Console or with `oc

examples/deployment/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Deploying in OpenShift
33

44
This guide demonstrates different types of deployments in OpenShift. The scenarios described below cover the main ways that applications can be updated. See the [OpenShift docs](https://docs.openshift.org/latest/dev_guide/deployments.html) for more details on managing deployments in OpenShift.
55

6-
The examples below assume you have cloned the OpenShift Git repository, have installed the OpenShift client tools, an OpenShift server, the OpenShift router, and have created a project. See [the Getting Started guide](https://docs.openshift.org/latest/getting_started/administrators.html) for help installing OpenShift or [CONTRIBUTING.adoc](https://github.com/openshift/origin/blob/master/CONTRIBUTING.adoc) for a more general development guide.
6+
The examples below assume you have cloned the OpenShift Git repository, have installed the OpenShift client tools, an OpenShift server, the OpenShift router, and have created a project. See [the Getting Started guide](https://docs.openshift.org/latest/getting_started/administrators.html) for help installing OpenShift or [CONTRIBUTING.adoc](https://github.com/openshift/origin/blob/main/CONTRIBUTING.adoc) for a more general development guide.
77

88
OpenShift Deployments
99
---------------------

examples/grafana/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ It uses "OAuth" token to login openshift Prometheus.
99

1010
## To run grafana and deploy dashboards
1111
Note: make sure to have openshift prometheus deployed (possibly, with node exporter).
12-
(https://github.com/openshift/origin/tree/master/examples/prometheus)
12+
(https://github.com/openshift/origin/tree/main/examples/prometheus)
1313

1414
### Run the deployment script
1515
```
@@ -37,4 +37,4 @@ https://github.com/mrsiano/grafana-ocp
3737

3838
#### Resources
3939
- example video https://youtu.be/srCApR_J3Os
40-
- deploy openshift prometheus https://github.com/openshift/origin/tree/master/examples/prometheus
40+
- deploy openshift prometheus https://github.com/openshift/origin/tree/main/examples/prometheus

examples/hello-openshift/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ address, and then curl will show your new message:
4141
$ curl 10.1.0.2:8080
4242
Hello World!
4343

44-
To test from external network, you need to create router. Please refer to [Running the router](https://github.com/openshift/origin/blob/master/docs/routing.md)
44+
To test from external network, you need to create router. Please refer to [Running the router](https://github.com/openshift/origin/blob/main/docs/routing.md)
4545

4646
If you need to rebuild the image:
4747

examples/jenkins/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Some references:
6767
Troubleshooting
6868
-----
6969

70-
If you run into difficulties running OpenShift or getting the `OpenShift Sample` job to complete successfully, start by reading through the [troubleshooting guide](https://github.com/openshift/origin/blob/master/docs/debugging-openshift.md).
70+
If you run into difficulties running OpenShift or getting the `OpenShift Sample` job to complete successfully, start by reading through the [troubleshooting guide](https://github.com/openshift/origin/blob/main/docs/debugging-openshift.md).
7171

7272
Updating
7373
-----

examples/jenkins/jenkins-ephemeral-template.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"tags": "instant-app,jenkins"
1616
}
1717
},
18-
"message": "A Jenkins service has been created in your project. Log into Jenkins with your OpenShift account. The tutorial at https://github.com/openshift/origin/blob/master/examples/jenkins/README.md contains more information about using this template.",
18+
"message": "A Jenkins service has been created in your project. Log into Jenkins with your OpenShift account. The tutorial at https://github.com/openshift/origin/blob/main/examples/jenkins/README.md contains more information about using this template.",
1919
"objects": [
2020
{
2121
"apiVersion": "route.openshift.io/v1",

0 commit comments

Comments
 (0)