Skip to content

Commit

Permalink
Merge branch 'main' into test.cluster.controller
Browse files Browse the repository at this point in the history
  • Loading branch information
amold1 authored Apr 12, 2024
2 parents efa2f97 + e527785 commit 79fc2aa
Show file tree
Hide file tree
Showing 10 changed files with 48 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## General:

* [ ] Have you removed all sensitive information, including but not limited to access keys and passwords?
* [ ] Have you checked to ensure there aren't other open or closed [Pull Requests](../../pulls) for the same bug/feature/question?
* [ ] Have you checked to ensure there aren't other open or closed [Pull Requests](https://github.com/linode/cluster-api-provider-linode/pulls) for the same bug/feature/question?

----

Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: 'docs/book'
- name: Check broken links
uses: ruzickap/action-my-broken-link-checker@v2
with:
url: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
pages_path: docs/book
cmd_params: '--buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --header="User-Agent:curl/7.54.0" --timeout=20'

deploy-page:
needs: generate-docs
Expand Down
28 changes: 28 additions & 0 deletions .github/workflows/link-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Check for broken links

on:
push:
branches:
- '*'
paths:
- 'README.md'
- 'docs/**'

permissions:
contents: read

jobs:
markdown-link-check:
name: Broken Links
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@v2
with:
egress-policy: audit

- uses: actions/checkout@v4
- uses: gaurav-nelson/github-action-markdown-link-check@v1
with:
use-quiet-mode: 'yes'
config-file: .markdownlinkcheck.json
11 changes: 11 additions & 0 deletions .markdownlinkcheck.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"ignorePatterns": [
{ "pattern": "^https://www.linode.com" },
{ "pattern": "^https://linode.com" }
],
"timeout": "5s",
"retryOn429": true,
"retryCount": 5,
"fallbackRetryDelay": "30s",
"aliveStatusCodes": [200]
}
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,4 +65,4 @@ If you discover a potential security issue in this project we ask that you notif

## Licensing

See the [LICENSE file](/LICENSE) for our project's licensing.
See the [LICENSE file](https://github.com/linode/cluster-api-provider-linode/blob/main/LICENSE) for our project's licensing.
2 changes: 1 addition & 1 deletion docs/src/reference/reference.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Reference

For reference documentation for CAPL API types, please refer to
the [godocs](https://pkg.go.dev/github.com/linode/cluster-api-provider-linode@v0.0.0-20240201213736-1a737bd24eca/api/v1alpha1)
the [godocs](https://pkg.go.dev/github.com/linode/cluster-api-provider-linode)
4 changes: 3 additions & 1 deletion docs/src/topics/etcd.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ The pod will need the bucket details like the name, region, endpoints and access
bucket-details secret that is created when the OBJ bucket gets created.

### Enabling SSE
Users can also enable SSE(Server_side encryption) by passing a SSE AES-256 Key as an env var. All env vars [here](../../../templates/addons/etcd-backup-restore/etcd-backup-restore.yaml) on the pod can be controlled during the provisioning process.
Users can also enable SSE (Server-side encryption) by passing a SSE AES-256 Key as an env var. All env vars
[here](https://github.com/linode/cluster-api-provider-linode/blob/main/templates/addons/etcd-backup-restore/etcd-backup-restore.yaml)
on the pod can be controlled during the provisioning process.

> [!WARNING]
> This is currently under development and will be available for use once the upstream [PR](https://github.com/gardener/etcd-backup-restore/pull/719) is merged and an official image is made available
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/dual-stack.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
|---------------|--------|--------------|-----------------------|------|------|
| Kubeadm | Cilium | Ubuntu 22.04 | No | Yes | Yes |
## Prerequisites
[Quickstart](../topics/getting-started.md) completed
[Quickstart](../getting-started.md) completed
## Usage
1. Generate cluster yaml
```bash
Expand Down
2 changes: 1 addition & 1 deletion docs/src/topics/flavors/etcd-backup-restore.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
| Kubeadm | Cilium | Ubuntu 22.04 | No | Yes | Yes | No |

## Prerequisites
[Quickstart](../topics/getting-started.md) completed
[Quickstart](../getting-started.md) completed

## Notes
This flavor is identical to the default flavor with the addon etcd-backup-restore enabled
Expand Down
2 changes: 1 addition & 1 deletion templates/flavors/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Flavors

## [Flavor usage documentation](https://linode.github.io/cluster-api-provider-linode/flavors/flavors.html)
## [Flavor usage documentation](https://linode.github.io/cluster-api-provider-linode/topics/flavors/flavors.html)

## Development

Expand Down

0 comments on commit 79fc2aa

Please sign in to comment.