Skip to content

Commit cfabe8d

Browse files
joelanfordcamilamacedo86asmacdo
authored
[1.0.x] Fix broken links (#3893)
Co-authored-by: Camila Macedo <[email protected]> Co-authored-by: Austin Macdonald <[email protected]>
1 parent ec7b61f commit cfabe8d

File tree

9 files changed

+20
-20
lines changed

9 files changed

+20
-20
lines changed

netlify.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
[build]
66
publish = "public"
77
base = "website"
8-
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && npm install postcss-cli autoprefixer && hugo version && hugo"
8+
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && npm install postcss-cli autoprefixer@^9.0.0 && hugo version && hugo"
99

1010
# "production" environment specific build settings
1111
[build.environment]

website/content/en/docs/advanced-topics/scorecard/custom-tests.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -291,13 +291,13 @@ connection to invoke the Kube API.
291291

292292

293293
[client_go]: https://github.com/kubernetes/client-go
294-
[olm_tests]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/tests/olm.go
295-
[basic_tests]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/tests/basic.go
296-
[config_yaml]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/testdata/bundle/tests/scorecard/config.yaml
297-
[scorecard_main_func]: https://github.com/operator-framework/operator-sdk/blob/master/images/scorecard-test/cmd/test/main.go
298-
[custom_scorecard_repo]: https://github.com/operator-framework/operator-sdk/tree/master/internal/scorecard/examples
294+
[olm_tests]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/tests/olm.go
295+
[basic_tests]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/tests/basic.go
296+
[config_yaml]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/testdata/bundle/tests/scorecard/config.yaml
297+
[scorecard_main_func]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/images/scorecard-test/cmd/test/main.go
298+
[custom_scorecard_repo]: https://github.com/operator-framework/operator-sdk/tree/v1.0.x/internal/scorecard/examples
299299
[user_doc]: /docs/advanced-topics/scorecard/scorecard/
300-
[scorecard_binary]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/examples/custom-scorecard-tests/images/custom-scorecard-tests/cmd/test/main.go
301-
[sample_makefile]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/examples/custom-scorecard-tests/Makefile
300+
[scorecard_binary]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/examples/custom-scorecard-tests/images/custom-scorecard-tests/cmd/test/main.go
301+
[sample_makefile]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/examples/custom-scorecard-tests/Makefile
302302
[kustomize-patchJson6902]: https://kubernetes-sigs.github.io/kustomize/api-reference/kustomization/patchesjson6902/
303303
[testresults]:https://github.com/operator-framework/api/blob/333d064/pkg/apis/scorecard/v1alpha3/test_types.go#L35

website/content/en/docs/advanced-topics/scorecard/scorecard.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,5 +267,5 @@ if the test image follows the above guidelines.
267267

268268
[quickstart-bundle]: /docs/olm-integration/quickstart-bundle
269269
[cli-scorecard]: /docs/cli/operator-sdk_scorecard/
270-
[custom-image]: https://github.com/operator-framework/operator-sdk/blob/master/internal/scorecard/examples/custom-scorecard-tests
270+
[custom-image]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/internal/scorecard/examples/custom-scorecard-tests
271271
[olm-bundle]:https://github.com/operator-framework/operator-registry#manifest-format

website/content/en/docs/building-operators/ansible/reference/retroactively-owned-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ resource is a cluster level resource.
6666

6767
**NOTE**: The {group} can be found by splitting the `apiVersion`
6868
metadata of the CR, into `group` and `version`. As an example,
69-
[this apiVersion field](https://github.com/operator-framework/operator-sdk-samples/blob/master/ansible/memcached-operator/deploy/crds/cache.example.com_v1alpha1_memcached_cr.yaml#L1)
69+
[this apiVersion field](https://github.com/operator-framework/operator-sdk-samples/blob/master/ansible/memcached-operator/config/samples/cache_v1alpha1_memcached.yaml#L1)
7070
gives us the group `cache.example.com`.
7171

7272
**Example Annotation:**

website/content/en/docs/building-operators/golang/project_migration_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ E.g `kubectl logs deployment.apps/memcached-operator-controller-manager -n memca
363363
[ginkgo]: https://onsi.github.io/ginkgo/
364364
[gomega]: https://onsi.github.io/gomega/
365365
[builder]: https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/builder?tab=doc
366-
[writing-controller-tests]: https://book.kubebuilder.io/reference/writing-tests.html?highlight=controller,test#writing-controller-tests
366+
[writing-controller-tests]: https://book.kubebuilder.io/cronjob-tutorial/writing-tests.html
367367
[openapi-gen]: https://github.com/kubernetes/kube-openapi/tree/master/cmd/openapi-gen
368368
[controller-runtime-leader]: https://godoc.org/sigs.k8s.io/controller-runtime/pkg/manager#LeaderElectionRunnable
369369
[operator-lib]: https://github.com/operator-framework/operator-lib/

website/content/en/docs/building-operators/golang/references/envtest-setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ If using `git`, it is recommended to add `testbin/*` to your `.gitignore` file t
2020

2121
[envtest]: https://godoc.org/sigs.k8s.io/controller-runtime/pkg/envtest
2222
[controller-test]: https://book.kubebuilder.io/reference/writing-tests.html
23-
[script]: https://raw.githubusercontent.com/kubernetes-sigs/kubebuilder/master/scripts/setup_envtest_bins.sh
23+
[script]: https://raw.githubusercontent.com/kubernetes-sigs/controller-runtime/master/hack/setup-envtest.sh

website/content/en/docs/contribution-guidelines/testing/travis-build.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,10 +64,10 @@ The Go, Ansible, and Helm tests then differ in what tests they run.
6464

6565
[branches]: https://travis-ci.org/operator-framework/operator-sdk/branches
6666
[pr-builds]: https://travis-ci.org/operator-framework/operator-sdk/pull_requests
67-
[k8s-script]: https://github.com/operator-framework/operator-sdk/blob/master/hack/ci/setup-k8s.sh
67+
[k8s-script]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/hack/ci/setup-k8s.sh
6868
[kind]: https://kind.sigs.k8s.io/
69-
[sanity]: https://github.com/operator-framework/operator-sdk/blob/master/hack/tests/sanity-check.sh
70-
[go-e2e]: https://github.com/operator-framework/operator-sdk/blob/master/test/e2e/e2e_suite_test.go
71-
[ansible-molecule]: https://github.com/operator-framework/operator-sdk/blob/master/hack/tests/e2e-ansible-molecule.sh
72-
[ansible-test]: https://github.com/operator-framework/operator-sdk/tree/master/test/ansible
73-
[helm-e2e]: https://github.com/operator-framework/operator-sdk/blob/master/hack/tests/e2e-helm.sh
69+
[sanity]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/hack/tests/sanity-check.sh
70+
[go-e2e]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/test/e2e/e2e_suite_test.go
71+
[ansible-molecule]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/hack/tests/e2e-ansible-molecule.sh
72+
[ansible-test]: https://github.com/operator-framework/operator-sdk/tree/v1.0.x/test/ansible
73+
[helm-e2e]: https://github.com/operator-framework/operator-sdk/blob/v1.0.x/hack/tests/e2e-helm.sh

website/content/en/docs/upgrading-sdk-version/v1.0.0-alpha.1.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The following subcommands were removed:
2929
| `operator-sdk migrate` | Removed support for hybrid operators, no migration | [#3385](https://github.com/operator-framework/operator-sdk/pull/3385)
3030
| `operator-sdk print-deps` | Removed, no migration | [#3385](https://github.com/operator-framework/operator-sdk/pull/3385)
3131
| `operator-sdk run local` | Use `make run` | [#3406](https://github.com/operator-framework/operator-sdk/pull/3406)
32-
| `operator-sdk test` | Use controller-runtime's [envtest](https://book.kubebuilder.io/reference/testing/envtest.html) framework | [#3409](https://github.com/operator-framework/operator-sdk/pull/3409)
32+
| `operator-sdk test` | Use controller-runtime's [envtest](https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/envtest?tab=doc) framework | [#3409](https://github.com/operator-framework/operator-sdk/pull/3409)
3333

3434
## Useful libraries have been split out into a separate repository
3535

website/content/en/docs/upgrading-sdk-version/v1.0.0.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ The following subcommands were removed:
178178
| `operator-sdk migrate` | Removed support for hybrid operators, no migration | [#3385](https://github.com/operator-framework/operator-sdk/pull/3385)
179179
| `operator-sdk print-deps` | Removed, no migration | [#3385](https://github.com/operator-framework/operator-sdk/pull/3385)
180180
| `operator-sdk run local` | Use `make run` | [#3406](https://github.com/operator-framework/operator-sdk/pull/3406)
181-
| `operator-sdk test` | Use controller-runtime's [envtest](https://book.kubebuilder.io/reference/testing/envtest.html) framework | [#3409](https://github.com/operator-framework/operator-sdk/pull/3409)
181+
| `operator-sdk test` | Use controller-runtime's [envtest](https://pkg.go.dev/sigs.k8s.io/[email protected]/pkg/envtest?tab=doc) framework | [#3409](https://github.com/operator-framework/operator-sdk/pull/3409)
182182

183183
### Useful libraries have been split out into a separate repository
184184

0 commit comments

Comments
 (0)