From 72175d614f6f12feb936c7d94d4ff06e3eeb8f48 Mon Sep 17 00:00:00 2001 From: Jean du Plessis Date: Tue, 3 Sep 2024 12:54:19 +0200 Subject: [PATCH] Updates repo links, workflow configurations and other references from master to main. Signed-off-by: Jean du Plessis --- .github/PULL_REQUEST_TEMPLATE.md | 4 +-- .github/renovate.json5 | 18 ++++++------- .github/workflows/ci.yml | 26 +++++++++---------- ADOPTERS.md | 2 +- CHARTER.md | 2 +- CODE_OF_CONDUCT.md | 2 +- README.md | 2 +- ROADMAP.md | 2 +- SECURITY.md | 2 +- contributing/README.md | 2 +- .../guide-adding-external-secret-stores.md | 2 +- contributing/guide-adding-fuzz-test-cases.md | 8 +++--- contributing/guide-provider-development.md | 2 +- contributing/specifications/functions.md | 2 +- design/README.md | 2 +- ...sign-doc-composition-validating-webhook.md | 2 +- design/design-doc-external-secret-stores.md | 2 +- design/design-doc-observe-only-resources.md | 2 +- design/design-doc-packages-v2.md | 16 ++++++------ .../design-doc-terraform-provider-runtime.md | 2 +- design/design-doc-terrajet.md | 4 +-- .../one-pager-cross-resource-referencing.md | 8 +++--- design/one-pager-helm-provider.md | 4 +-- design/one-pager-k8s-native-providers.md | 4 +-- .../one-pager-managed-resource-api-design.md | 2 +- design/proposal-controller-code-generation.md | 2 +- hack/linter-violation.tmpl | 2 +- 27 files changed, 64 insertions(+), 64 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6f84d7d11d3..6ea685d8f15 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -27,7 +27,7 @@ I have: Need help with this checklist? See the [cheat sheet]. -[contribution process]: https://github.com/crossplane/crossplane/tree/master/contributing +[contribution process]: https://github.com/crossplane/crossplane/tree/main/contributing [docs tracking issue]: https://github.com/crossplane/docs/issues/new [document this change]: https://docs.crossplane.io/contribute/contribute -[cheat sheet]: https://github.com/crossplane/crossplane/tree/master/contributing#checklist-cheat-sheet +[cheat sheet]: https://github.com/crossplane/crossplane/tree/main/contributing#checklist-cheat-sheet diff --git a/.github/renovate.json5 b/.github/renovate.json5 index dff4a4928c4..407bc82ac0b 100644 --- a/.github/renovate.json5 +++ b/.github/renovate.json5 @@ -13,7 +13,7 @@ // The branches renovate should target // PLEASE UPDATE THIS WHEN RELEASING. "baseBranches": [ - "master", + "main", "release-1.15", "release-1.16", "release-1.17" @@ -166,12 +166,12 @@ // be at the beginning, high priority at the end "packageRules": [ { - "description": "Generate code after upgrading go dependencies (master)", + "description": "Generate code after upgrading go dependencies (main)", "matchDatasources": [ "go" ], - // Currently we only have an Earthfile on master. - matchBaseBranches: ["master"], + // Currently we only have an Earthfile on main. + matchBaseBranches: ["main"], postUpgradeTasks: { // Post-upgrade tasks that are executed before a commit is made by Renovate. "commands": [ @@ -188,7 +188,7 @@ "matchDatasources": [ "go" ], - // Currently we only have an Earthfile on master. + // Currently we only have an Earthfile on main. matchBaseBranches: ["release-.+"], postUpgradeTasks: { // Post-upgrade tasks that are executed before a commit is made by Renovate. @@ -202,12 +202,12 @@ }, }, { - "description": "Lint code after upgrading golangci-lint (master)", + "description": "Lint code after upgrading golangci-lint (main)", "matchDepNames": [ "golangci/golangci-lint" ], - // Currently we only have an Earthfile on master. - matchBaseBranches: ["master"], + // Currently we only have an Earthfile on main. + matchBaseBranches: ["main"], postUpgradeTasks: { // Post-upgrade tasks that are executed before a commit is made by Renovate. "commands": [ @@ -224,7 +224,7 @@ "matchDepNames": [ "golangci/golangci-lint" ], - // Currently we only have an Earthfile on master. + // Currently we only have an Earthfile on main. matchBaseBranches: ["release-.+"], postUpgradeTasks: { // Post-upgrade tasks that are executed before a commit is made by Renovate. diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8ae5452e615..e872dbc4b1e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,7 @@ name: CI on: push: branches: - - master + - main - release-* pull_request: {} workflow_dispatch: {} @@ -52,7 +52,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | echo "EARTHLY_PUSH=true" >> $GITHUB_ENV echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV @@ -98,7 +98,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | echo "EARTHLY_PUSH=true" >> $GITHUB_ENV echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV @@ -134,7 +134,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | echo "EARTHLY_PUSH=true" >> $GITHUB_ENV echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV @@ -198,7 +198,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | echo "EARTHLY_PUSH=true" >> $GITHUB_ENV echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV @@ -250,7 +250,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: | echo "EARTHLY_PUSH=true" >> $GITHUB_ENV echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV @@ -322,11 +322,11 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Configure Earthly to Push Cache to GitHub Container Registry - if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/main' run: echo "EARTHLY_MAX_REMOTE_CACHE=true" >> $GITHUB_ENV - name: Configure Earthly to Push Artifacts - if: (github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/heads/release-')) && env.DOCKER_USR != '' && env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' && env.AWS_USR != '' + if: (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release-')) && env.DOCKER_USR != '' && env.UPBOUND_MARKETPLACE_PUSH_ROBOT_USR != '' && env.AWS_USR != '' run: echo "EARTHLY_PUSH=true" >> $GITHUB_ENV - name: Set CROSSPLANE_VERSION GitHub Environment Variable @@ -344,7 +344,7 @@ jobs: +ci-push-build-artifacts --AWS_DEFAULT_REGION=us-east-1 --CROSSPLANE_VERSION=${CROSSPLANE_VERSION} --BUILD_DIR=${GITHUB_REF##*/} - name: Push Artifacts to https://releases.crossplane.io/master/ and https://charts.crossplane.io/master - if: env.AWS_USR != '' && github.ref == 'refs/heads/master' + if: env.AWS_USR != '' && github.ref == 'refs/heads/main' run: | earthly --strict \ --secret=AWS_ACCESS_KEY_ID=${{ secrets.AWS_USR }} \ @@ -405,14 +405,14 @@ jobs: # https://github.com/bufbuild/buf-push-action/issues/34 - name: Detect Breaking Changes in Protocol Buffers uses: bufbuild/buf-breaking-action@a074e988ee34efcd4927079e79c611f428354c01 # v1 - # We want to run this for the master branch, and PRs against master. - if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }} + # We want to run this for the main branch, and PRs against main. + if: ${{ github.ref == 'refs/heads/main' || github.base_ref == 'main' }} with: input: apis - against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=master,subdir=apis" + against: "https://github.com/${GITHUB_REPOSITORY}.git#branch=main,subdir=apis" - name: Push Protocol Buffers to Buf Schema Registry - if: ${{ github.repository == 'crossplane/crossplane' && github.ref == 'refs/heads/master' }} + if: ${{ github.repository == 'crossplane/crossplane' && github.ref == 'refs/heads/main' }} uses: bufbuild/buf-push-action@v1 with: input: apis diff --git a/ADOPTERS.md b/ADOPTERS.md index b338bfee7ef..4a764ac6aff 100644 --- a/ADOPTERS.md +++ b/ADOPTERS.md @@ -15,7 +15,7 @@ maturity, and momentum. Thank you to all adopters and contributors of the Cross To add your organization to this list, you can choose any of the following options: 1. [Open a PR](https://github.com/crossplane/crossplane/pulls) to directly update this list, or - [edit this file](https://github.com/crossplane/crossplane/edit/master/ADOPTERS.md) directly in + [edit this file](https://github.com/crossplane/crossplane/edit/main/ADOPTERS.md) directly in Github 1. Fill out the [adopters form](https://forms.gle/dBQhiyYkYSdzXovN6) 1. Send an email to with your information for the table below diff --git a/CHARTER.md b/CHARTER.md index 77305b82ec5..f010b53dcaa 100644 --- a/CHARTER.md +++ b/CHARTER.md @@ -116,4 +116,4 @@ This is a living document. Changes to the scope, principles, or mission statement of the Crossplane project require a [majority vote][sc-voting] of the steering committee. -[sc-voting]: https://github.com/crossplane/crossplane/blob/master/GOVERNANCE.md#updating-the-governance +[sc-voting]: https://github.com/crossplane/crossplane/blob/main/GOVERNANCE.md#updating-the-governance diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index a3ee6a8a5e9..ea1133ab7b1 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,3 @@ ## Community Code of Conduct -This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/master/code-of-conduct.md). +This project follows the [CNCF Code of Conduct](https://github.com/cncf/foundation/blob/main/code-of-conduct.md). diff --git a/README.md b/README.md index 6c833616a0f..6a6b24ca794 100644 --- a/README.md +++ b/README.md @@ -135,7 +135,7 @@ Crossplane is under the Apache 2.0 license. [community calendar]: https://calendar.google.com/calendar/embed?src=c_2cdn0hs9e2m05rrv1233cjoj1k%40group.calendar.google.com [releases]: https://github.com/crossplane/crossplane/releases [ADOPTERS.md]: ADOPTERS.md -[regular community meetings]: https://github.com/crossplane/crossplane/blob/master/README.md#get-involved +[regular community meetings]: https://github.com/crossplane/crossplane/blob/main/README.md#get-involved [Crossplane Roadmap]: https://github.com/orgs/crossplane/projects/20/views/9?pane=info [sig-composition-environments-slack]: https://crossplane.slack.com/archives/C05BP6QFLUW [sig-composition-functions-slack]: https://crossplane.slack.com/archives/C031Y29CSAE diff --git a/ROADMAP.md b/ROADMAP.md index 56452b2959f..737805b58a4 100644 --- a/ROADMAP.md +++ b/ROADMAP.md @@ -22,4 +22,4 @@ delivery timeline. [Crossplane Roadmap] [Crossplane Roadmap]: https://github.com/orgs/crossplane/projects/20/views/9?pane=info -[regular community meetings]: https://github.com/crossplane/crossplane/blob/master/README.md#get-involved +[regular community meetings]: https://github.com/crossplane/crossplane/blob/main/README.md#get-involved diff --git a/SECURITY.md b/SECURITY.md index 7663515d6fa..5b3504a4299 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -38,7 +38,7 @@ To report a vulnerability, either: The reporter(s) can typically expect a response within 24 hours acknowledging the issue was received. If a response is not received within 24 hours, please reach out to any -[maintainer](https://github.com/crossplane/crossplane/blob/master/OWNERS.md#maintainers) +[maintainer](https://github.com/crossplane/crossplane/blob/main/OWNERS.md#maintainers) directly to confirm receipt of the issue. ### Report Content diff --git a/contributing/README.md b/contributing/README.md index ae6eb62b32e..474afaace35 100644 --- a/contributing/README.md +++ b/contributing/README.md @@ -846,7 +846,7 @@ func TestExample(t *testing.T) { ``` [Slack]: https://slack.crossplane.io/ -[code of conduct]: https://github.com/cncf/foundation/blob/master/code-of-conduct.md +[code of conduct]: https://github.com/cncf/foundation/blob/main/code-of-conduct.md [Earthly]: https://docs.earthly.dev [get-docker]: https://docs.docker.com/get-docker [get-earthly]: https://earthly.dev/get-earthly diff --git a/contributing/guide-adding-external-secret-stores.md b/contributing/guide-adding-external-secret-stores.md index 8f4093c400e..0b14d2241ef 100644 --- a/contributing/guide-adding-external-secret-stores.md +++ b/contributing/guide-adding-external-secret-stores.md @@ -124,7 +124,7 @@ requires some dirty work as we need to this for all types: You can check [this commit as an example for changes in Setup functions] as an example. -[External Secret Stores]: https://github.com/crossplane/crossplane/blob/master/design/design-doc-external-secret-stores.md +[External Secret Stores]: https://github.com/crossplane/crossplane/blob/main/design/design-doc-external-secret-stores.md [this PR as a complete example]: https://github.com/crossplane/provider-gcp/pull/421 [this PR instead]: https://github.com/crossplane-contrib/provider-jet-template/pull/23/commits [this commit as an example on how to add the type]: https://github.com/crossplane-contrib/provider-aws/pull/1242/commits/d8a2df323fa2489d82bf1843d2fe338de033c61d diff --git a/contributing/guide-adding-fuzz-test-cases.md b/contributing/guide-adding-fuzz-test-cases.md index e6d4a0a025e..0775f5dbc26 100644 --- a/contributing/guide-adding-fuzz-test-cases.md +++ b/contributing/guide-adding-fuzz-test-cases.md @@ -102,12 +102,12 @@ put in place a few configurations across different repositories: [CIFuzz]: https://google.github.io/oss-fuzz/getting-started/continuous-integration/ -[fuzz-audit-report]: https://github.com/crossplane/crossplane/blob/master/security/ADA-fuzzing-audit-22.pdf +[fuzz-audit-report]: https://github.com/crossplane/crossplane/blob/main/security/ADA-fuzzing-audit-22.pdf [go-fuzz]: https://go.dev/security/fuzz/ [oss-fuzz-arch]: https://google.github.io/oss-fuzz/architecture/ [oss-fuzz-folder]: https://github.com/google/oss-fuzz/tree/master/projects/crossplane [oss-fuzz]: https://github.com/google/oss-fuzz -[xp-ci]: https://github.com/crossplane/crossplane/blob/master/.github/workflows/ci.yml +[xp-ci]: https://github.com/crossplane/crossplane/blob/main/.github/workflows/ci.yml [xp-fuzz-tests]: https://github.com/search?q=repo%3Acrossplane%2Fcrossplane+%22func+Fuzz%22&type=code -[xp-fuzz_oss_build]: https://github.com/crossplane/crossplane/blob/master/test/fuzz/oss_fuzz_build.sh -[xp-r-fuzz_oss_build]: https://github.com/crossplane/crossplane-runtime/blob/master/test/fuzz/oss_fuzz_build.sh +[xp-fuzz_oss_build]: https://github.com/crossplane/crossplane/blob/main/test/fuzz/oss_fuzz_build.sh +[xp-r-fuzz_oss_build]: https://github.com/crossplane/crossplane-runtime/blob/main/test/fuzz/oss_fuzz_build.sh diff --git a/contributing/guide-provider-development.md b/contributing/guide-provider-development.md index 469e13f62de..2a4b6c582d9 100644 --- a/contributing/guide-provider-development.md +++ b/contributing/guide-provider-development.md @@ -644,7 +644,7 @@ feedback you may have about the development process! [reach out]: https://github.com/crossplane/crossplane#get-involved [crossplane org]: https://github.com/crossplane [`angryjet`]: https://github.com/crossplane/crossplane-tools -[Managed Resource API Patterns]: https://github.com/crossplane/crossplane/blob/master/design/one-pager-managed-resource-api-design.md +[Managed Resource API Patterns]: https://github.com/crossplane/crossplane/blob/main/design/one-pager-managed-resource-api-design.md [Crossplane CLI]: https://github.com/crossplane/crossplane-cli#quick-start-stacks [`angryjet` documentation]: https://github.com/crossplane/crossplane-tools/blob/master/README.md [code generation guide]: https://github.com/crossplane-contrib/provider-aws/blob/master/CODE_GENERATION.md diff --git a/contributing/specifications/functions.md b/contributing/specifications/functions.md index b43b954cc63..50bf81e8f46 100644 --- a/contributing/specifications/functions.md +++ b/contributing/specifications/functions.md @@ -15,7 +15,7 @@ A Function MUST implement a gRPC `FunctionRunnerService` server. A Function SHOULD implement the latest available version of this service - e.g. `v1beta1`. The authoritative definition of this service can be found at the following URL. -https://github.com/crossplane/crossplane/tree/master/apis/apiextensions/fn/proto +https://github.com/crossplane/crossplane/tree/main/apis/apiextensions/fn/proto A Function MUST copy the tag field from a RunFunctionRequest's RequestMeta message to the ResponseMeta tag field of the corresponding RunFunctionResponse. diff --git a/design/README.md b/design/README.md index 9cd3da7dce5..b0737e656fd 100644 --- a/design/README.md +++ b/design/README.md @@ -39,7 +39,7 @@ welcome from any member of the Crossplane community, but feedback from the elected reviewers carries extra weight. The __document status__ reflects the lifecycle of the design. Designs may be -committed to master at any stage in their lifecycle as long as the status is +committed to `main` at any stage in their lifecycle as long as the status is indicated clearly. Use one of the following statuses: * _Speculative_ designs explore an idea without _yet_ explicitly proposing a diff --git a/design/design-doc-composition-validating-webhook.md b/design/design-doc-composition-validating-webhook.md index 756db6e2538..ebf44d9f789 100644 --- a/design/design-doc-composition-validating-webhook.md +++ b/design/design-doc-composition-validating-webhook.md @@ -403,7 +403,7 @@ them. Already covered in the Background section with pros and cons. [original-webhook-pr]: https://github.com/crossplane/crossplane/pull/2919 -[original-webhook-design-doc]: https://github.com/crossplane/crossplane/blob/master/design/design-doc-webhooks.md +[original-webhook-design-doc]: https://github.com/crossplane/crossplane/blob/main/design/design-doc-webhooks.md [original-composition-validation-webhook-issue]: https://github.com/crossplane/crossplane/issues/1476 [vscode-plugin]: https://github.com/upbound/vscode-up [upbound/up]: https://github.com/upbound/up/blob/main/internal/xpkg/snapshot/composition.go#L66 diff --git a/design/design-doc-external-secret-stores.md b/design/design-doc-external-secret-stores.md index 711eb1b2fc0..b3f5df333f8 100644 --- a/design/design-doc-external-secret-stores.md +++ b/design/design-doc-external-secret-stores.md @@ -635,6 +635,6 @@ related discussion or issue._ [Vault agent inject template]: https://learn.hashicorp.com/tutorials/vault/kubernetes-sidecar#apply-a-template-to-the-injected-secrets [ArgoCD cluster]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters [AWS secret manager]: https://aws.amazon.com/secrets-manager/ -[provider-aws Secret resource]: https://github.com/crossplane/provider-aws/blob/master/examples/secretsmanager/secret.yaml +[provider-aws Secret resource]: https://github.com/crossplane-contrib/provider-aws/blob/master/examples/secretsmanager/secret.yaml [GenericSecret]: https://registry.terraform.io/providers/hashicorp/vault/latest/docs/resources/generic_secret [kubernetes-sigs/secrets-store-csi-driver]: https://github.com/kubernetes-sigs/secrets-store-csi-driver diff --git a/design/design-doc-observe-only-resources.md b/design/design-doc-observe-only-resources.md index 04ba953ec1c..aab2993f696 100644 --- a/design/design-doc-observe-only-resources.md +++ b/design/design-doc-observe-only-resources.md @@ -716,5 +716,5 @@ it as a migration path to Crossplane. [most recent AMI]: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/ami#most_recent [desired tags]: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/vpc#tags [passing sensitive configuration]: https://github.com/crossplane/crossplane/pull/2886#discussion_r862615416 -[`type: Webhook` composition function]: https://github.com/crossplane/crossplane/blob/master/design/design-doc-composition-functions.md#using-webhooks-to-run-functions +[`type: Webhook` composition function]: https://github.com/crossplane/crossplane/blob/main/design/design-doc-composition-functions.md#using-webhooks-to-run-functions [ignore changes]: https://github.com/crossplane/crossplane/blob/ad0ff7d6d0e4850168883905ed8e1509089cea15/design/one-pager-ignore-changes.md \ No newline at end of file diff --git a/design/design-doc-packages-v2.md b/design/design-doc-packages-v2.md index 65fd360e301..e8268302b4a 100644 --- a/design/design-doc-packages-v2.md +++ b/design/design-doc-packages-v2.md @@ -11,21 +11,21 @@ there are many other packaging formats in the Kubernetes ecosystem, Crossplane supports its own for the following reasons: - Crossplane is [opinionated about the capabilities of a - controller](https://github.com/crossplane/crossplane/blob/master/design/one-pager-packages-security-isolation.md#allowed-resource-access) + controller](https://github.com/crossplane/crossplane/blob/main/design/one-pager-packages-security-isolation.md#allowed-resource-access) that can be installed to extend its functionality. For instance, controllers [may not run as - root](https://github.com/crossplane/crossplane/blob/master/design/one-pager-packages-security-isolation.md#package-deployment-privileges) + root](https://github.com/crossplane/crossplane/blob/main/design/one-pager-packages-security-isolation.md#package-deployment-privileges) or request cluster admin RBAC. - Crossplane [allocates and aggregates various - ClusterRoles](https://github.com/crossplane/crossplane/blob/master/design/one-pager-packages-security-isolation.md#crossplane-clusterroles--rbac) + ClusterRoles](https://github.com/crossplane/crossplane/blob/main/design/one-pager-packages-security-isolation.md#crossplane-clusterroles--rbac) to automatically provide permissions for users in the Kubernetes cluster to view / edit / create / delete CRDs installed by a package. - Crossplane guards against conflicting CRDs being installed into a cluster. - Crossplane adds [additional metadata to - CRDs](https://github.com/crossplane/crossplane/blob/master/design/one-pager-stack-ui-metadata.md#crd-annotation-example) + CRDs](https://github.com/crossplane/crossplane/blob/main/design/one-pager-stack-ui-metadata.md#crd-annotation-example) to provide additional context for displaying their configuration in a UI. - Crossplane [adds labels to - CRDs](https://github.com/crossplane/crossplane/blob/master/design/one-pager-stack-relationship-labels.md#example-wordpress-crdyaml-parented-by-stackinstall) + CRDs](https://github.com/crossplane/crossplane/blob/main/design/one-pager-stack-relationship-labels.md#example-wordpress-crdyaml-parented-by-stackinstall) in an attempt to establish parent-child relationships between CRDs. In addition, the following unimplemented features are goals of the Crossplane @@ -56,12 +56,12 @@ effective than desired in practice. The current package infrastructure, though well thought out, has become somewhat convoluted and redundant with the introduction of -[composition](https://github.com/crossplane/crossplane/blob/master/design/design-doc-composition.md) +[composition](https://github.com/crossplane/crossplane/blob/main/design/design-doc-composition.md) into the Crossplane ecosystem. Composition solves the following goals originally intended to be addressed by a `PackageInstall` and [template -stacks](https://github.com/crossplane/crossplane/blob/master/design/one-pager-resource-packs.md): +stacks](https://github.com/crossplane/crossplane/blob/main/design/one-pager-resource-packs.md): - Ability to publish infrastructure abstractions to specific namespaces. - The `PackageInstall` allowed packages to install a namespace-scoped CRD and @@ -175,7 +175,7 @@ workflow the package manager uses for installing a `Package`. We will use a [syncing](https://github.com/crossplane/crossplane/blob/6fc50822fbf11a7d31f8a9dabde5c8948c3b36ac/pkg/controller/packages/pkg/pkg.go#L696) the `Secret` for the `ServiceAccount` that are required for running the controller in [host aware - mode](https://github.com/crossplane/crossplane/blob/master/design/one-pager-host-aware-stack-manager.md). + mode](https://github.com/crossplane/crossplane/blob/main/design/one-pager-host-aware-stack-manager.md). The process for a `PackageInstall` is very similar, but the packages using the templating controller have the additional step of first producing a diff --git a/design/design-doc-terraform-provider-runtime.md b/design/design-doc-terraform-provider-runtime.md index 814e84da158..8a4c7991a25 100644 --- a/design/design-doc-terraform-provider-runtime.md +++ b/design/design-doc-terraform-provider-runtime.md @@ -372,7 +372,7 @@ between: 1. specifying structured metadata describing references to the code generator 2. add reference handling callbacks to the `plugin.Implementation` scheme. These could plug into the `Reconciler` via the - [ReferenceResolver](https://github.com/crossplane/crossplane-runtime/blob/master/pkg/reconciler/managed/reconciler.go#L143) + [ReferenceResolver](https://github.com/crossplane/crossplane-runtime/blob/main/pkg/reconciler/managed/reconciler.go#L143) interface. 3. building a reference implementation that does not need to know how resources can refer to each other diff --git a/design/design-doc-terrajet.md b/design/design-doc-terrajet.md index acaf33e1326..2f5a1e0d72b 100644 --- a/design/design-doc-terrajet.md +++ b/design/design-doc-terrajet.md @@ -553,9 +553,9 @@ license restrictions. [resolve-references-example]: https://github.com/crossplane/provider-aws/blob/c269977/apis/apigatewayv2/v1alpha1/referencers.go#L30 [resolve-references]: https://github.com/crossplane/crossplane-runtime/blob/f2440d9/pkg/reference/reference.go#L105 [dcl]: https://github.com/GoogleCloudPlatform/declarative-resource-client-library/blob/338dce1/services/google/compute/firewall_policy_rule.go#L321 -[ack-codegen]: https://github.com/crossplane/provider-aws/blob/master/CODE_GENERATION.md +[ack-codegen]: https://github.com/crossplane-contrib/provider-aws/blob/master/CODE_GENERATION.md [crossplane-tools]: https://github.com/crossplane/crossplane-tools/ -[ack-guide]: https://github.com/crossplane/provider-aws/blob/master/CODE_GENERATION.md +[ack-guide]: https://github.com/crossplane-contrib/provider-aws/blob/master/CODE_GENERATION.md [secret-key-selector]: https://github.com/crossplane/crossplane-runtime/blob/36fc69eff96ecb5856f156fec077ed3f3c3b30b1/apis/common/v1/resource.go#L72 [instance-state]: https://github.com/hashicorp/terraform-plugin-sdk/blob/0e34772/helper/schema/resource.go#L859 [resource-data]: https://github.com/hashicorp/terraform-plugin-sdk/blob/0e34772dad547d6b69148f57d95b324af9929542/helper/schema/resource_data.go#L22 diff --git a/design/one-pager-cross-resource-referencing.md b/design/one-pager-cross-resource-referencing.md index 9d696793629..34d40f1776c 100644 --- a/design/one-pager-cross-resource-referencing.md +++ b/design/one-pager-cross-resource-referencing.md @@ -281,15 +281,15 @@ dependent objects are deleted first. * [Honoring inter-resource dependency when creating/deleting resources](https://github.com/crossplane/crossplane/issues/708) * [Resource - Connectivity](https://github.com/crossplane/crossplane/blob/master/design/one-pager-resource-connectivity-mvp.md) + Connectivity](https://github.com/crossplane/crossplane/blob/main/design/one-pager-resource-connectivity-mvp.md) [gitops doc]: (https://www.weave.works/blog/what-is-gitops-really) [Subnet type]: -(https://github.com/crossplane/provider-aws/blob/master/apis/network/v1alpha2/subnet_types.go#L25-L37) +(https://github.com/crossplane-contrib/provider-aws/blob/master/apis/network/v1alpha2/subnet_types.go#L25-L37) [Subnetwork type]: -(https://github.com/crossplane/provider-gcp/blob/master/apis/compute/v1alpha2/subnetwork_types.go#L144) +(https://github.com/crossplane-contrib/provider-gcp/blob/master/apis/compute/v1alpha2/subnetwork_types.go#L144) [Managed Reconciler]: -https://github.com/crossplane/crossplane-runtime/blob/master/pkg/reconciler/managed/reconciler.go +https://github.com/crossplane/crossplane-runtime/blob/main/pkg/reconciler/managed/reconciler.go [Foreground cascading deletion]: (https://kubernetes.io/docs/concepts/workloads/controllers/garbage-collection/#foreground-cascading-deletion) diff --git a/design/one-pager-helm-provider.md b/design/one-pager-helm-provider.md index e4072681c2d..a17afee7c02 100644 --- a/design/one-pager-helm-provider.md +++ b/design/one-pager-helm-provider.md @@ -26,8 +26,8 @@ clients/libraries for helm), **we will focus and only support Helm 3**. We will implement a Kubernetes controller watching `Release` custom resources and deploying helm charts with the desired configuration. Since this controller needs to interact with Kubernetes API server, it is a good fit for [Kubernetes -native providers](https://github.com/crossplane/crossplane/blob/master/design/one-pager-k8s-native-providers.md#kubernetes-native-providers) -concept in Crossplane. By using existing [Kubernetes Provider](https://github.com/crossplane/crossplane/blob/master/design/one-pager-k8s-native-providers.md#proposal-kubernetes-provider-kind) +native providers](https://github.com/crossplane/crossplane/blob/main/design/one-pager-k8s-native-providers.md#kubernetes-native-providers) +concept in Crossplane. By using existing [Kubernetes Provider](https://github.com/crossplane/crossplane/blob/main/design/one-pager-k8s-native-providers.md#proposal-kubernetes-provider-kind) Kind, we will be able to manage helm releases in **Crossplane provisioned external clusters**, **existing external clusters** and also **Crossplane control cluster** (a.k.a. local cluster). diff --git a/design/one-pager-k8s-native-providers.md b/design/one-pager-k8s-native-providers.md index b4ae23641fb..379c6632da5 100644 --- a/design/one-pager-k8s-native-providers.md +++ b/design/one-pager-k8s-native-providers.md @@ -554,8 +554,8 @@ func (c *ClusterController) SetupWithManager(mgr ctrl.Manager) error { [Crossplane CLI]: https://github.com/crossplane/crossplane-cli [client-go]: https://github.com/kubernetes/client-go [managed reconciler]: https://github.com/crossplane/crossplane/blob/14fa6dda6a3e91d5f1ac98d1020a151b02311cb1/pkg/controller/workload/kubernetes/resource/resource.go#L401 -[claim reconciler]: https://github.com/crossplane/crossplane-runtime/blob/master/pkg/resource/claim_reconciler.go -[scheduler controller]: https://github.com/crossplane/crossplane/blob/master/pkg/controller/workload/kubernetes/scheduler/scheduler.go +[claim reconciler]: https://github.com/crossplane/crossplane-runtime/blob/main/pkg/resource/claim_reconciler.go +[scheduler controller]: https://github.com/crossplane/crossplane/blob/main/pkg/controller/workload/kubernetes/scheduler/scheduler.go [crossplane-runtime]: https://github.com/crossplane/crossplane-runtime [crossplane-runtime #22]: https://github.com/crossplane/crossplane-runtime/issues/22 [crossplane-runtime #34]: https://github.com/crossplane/crossplane-runtime/issues/34 diff --git a/design/one-pager-managed-resource-api-design.md b/design/one-pager-managed-resource-api-design.md index 26d46753a13..fedc7a6f21c 100644 --- a/design/one-pager-managed-resource-api-design.md +++ b/design/one-pager-managed-resource-api-design.md @@ -706,7 +706,7 @@ adding a field about that sync status and reconciler can mark the sync status in one of the `Condition`s we already have or add a new one. [package]: https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/eks -[terminology]: https://github.com/crossplane/crossplane/blob/master/docs/concepts/terminology.md +[terminology]: https://github.com/crossplane/crossplane/blob/main/docs/concepts/terminology.md [from crossplane-runtime]: https://github.com/crossplane/crossplane-runtime/blob/ca4b6b4/apis/core/v1alpha1/resource.go#L77 [Kubernetes API Conventions - Spec and Status]: https://github.com/kubernetes/community/blob/master/contributors/devel/sig-architecture/api-conventions.md#spec-and-status [managed reconciler]: https://github.com/crossplane/crossplane-runtime/blob/84e629b9589852df1322ff1eae4c6e7639cf6e99/pkg/reconciler/managed/reconciler.go#L637 diff --git a/design/proposal-controller-code-generation.md b/design/proposal-controller-code-generation.md index ee0ec014fc4..4a8d3159d71 100644 --- a/design/proposal-controller-code-generation.md +++ b/design/proposal-controller-code-generation.md @@ -326,7 +326,7 @@ other supported languages inc javascript, python and .NET. [Magic Moduels]: https://github.com/GoogleCloudPlatform/magic-modules [OpenAPI Directory]: https://github.com/APIs-guru/openapi-directory [Pulumi]: https://github.com/pulumi/pulumi -[Reference Resolvers]: https://github.com/crossplane/crossplane/blob/master/design/one-pager-cross-resource-referencing.md +[Reference Resolvers]: https://github.com/crossplane/crossplane/blob/main/design/one-pager-cross-resource-referencing.md [alibaba-ros]: https://www.alibabacloud.com/product/ros [amazon-aso]: https://github.com/aws/aws-service-operator-k8s [aso-v2-architecture]: https://github.com/jaypipes/aws-service-operator-k8s/blob/91e63414efb00564662adf6eaafc20e124a3b2d3/docs/code-generation.md diff --git a/hack/linter-violation.tmpl b/hack/linter-violation.tmpl index 1a91dfa0645..d1f43403fcb 100644 --- a/hack/linter-violation.tmpl +++ b/hack/linter-violation.tmpl @@ -1,3 +1,3 @@ `{{violation.rule}}`: {{violation.message}} -Refer to Crossplane's [coding style documentation](https://github.com/crossplane/crossplane/blob/master/CONTRIBUTING.md#coding-style-and-linting) for more information. \ No newline at end of file +Refer to Crossplane's [coding style documentation](https://github.com/crossplane/crossplane/blob/main/CONTRIBUTING.md#coding-style-and-linting) for more information. \ No newline at end of file