Skip to content

Commit

Permalink
[v14] Fix docs markup errors (#43316)
Browse files Browse the repository at this point in the history
Backports #43223

Co-authored-by: Alexey Ivanov <[email protected]>
  • Loading branch information
ptgott and iAdramelk authored Jun 20, 2024
1 parent a3d94dc commit 545fe48
Show file tree
Hide file tree
Showing 7 changed files with 216 additions and 33 deletions.
17 changes: 1 addition & 16 deletions docs/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -3220,16 +3220,6 @@
"destination": "/access-controls/device-trust/device-management/",
"permanent": true
},
{
"source": "/management/guides/teleport-operator/",
"destination": "/management/dynamic-resources/teleport-operator/",
"permanent": true
},
{
"source": "/management/guides/terraform-provider/",
"destination": "/management/dynamic-resources/terraform-provider/",
"permanent": true
},
{
"source": "/get-started/",
"destination": "/",
Expand Down Expand Up @@ -3287,7 +3277,7 @@
},
{
"source": "/machine-id/guides/",
"destination": "/machine-id/",
"destination": "/machine-id/introduction/",
"permanent": true
},
{
Expand Down Expand Up @@ -3325,11 +3315,6 @@
"destination": "/machine-id/deployment/gitlab/",
"permanent": true
},
{
"source": "/machine-id/guides/gitlab/",
"destination": "/machine-id/deployment/github-actions/",
"permanent": true
},
{
"source": "/server-access/guides/openssh/",
"destination": "/server-access/guides/openssh/openssh/",
Expand Down
213 changes: 210 additions & 3 deletions docs/img/IBM/IBM_HA.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ To retrieve the ServiceNow rotation ID, navigate to the group record
of the ServiceNow group the rotation belongs to and right click on
header, then click 'Select copy sys_id' to copy the ID.
Then using the ServiceNow endpoint '/api/now/on_call_rota/workbench/group/{groupSysId}'
Then using the ServiceNow endpoint `/api/now/on_call_rota/workbench/group/{groupSysId}`
retrieve the group's on-call rota information.
Select the value of the desired 'rota' from the response.

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/access-controls/login-rules/guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ cluster on version `11.3.1` or greater.

Login Rules only operate on SSO logins, so make sure you have
configured an OIDC, SAML, or GitHub connector before you begin.
Check the [Single Sign-On](../sso/) docs to learn how to set this up.
Check the [Single Sign-On](../sso.mdx) docs to learn how to set this up.

## Step 1/5. Configure RBAC

Expand Down
2 changes: 1 addition & 1 deletion docs/pages/management/admin/trustedclusters.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ configured with a single sign-on identity provider that authenticates her identi
Based on the information from the identity provider, the root cluster assigns Alice the `full-access` role
and issues her a certificate. The mapping of single sign-on properties to Teleport roles is configured when
you add an authentication connector to the Teleport cluster. To learn more about configuring single sign-on
through an external identity provider, see [Configure Single Sign-on](../../access-controls/sso).
through an external identity provider, see [Configure Single Sign-on](../../access-controls/sso.mdx).

Alice receives the certificate that specifies the roles assigned to her in the root cluster. This metadata
about her roles is contained in the certificate extensions and is protected by the signature of the root
Expand Down
4 changes: 2 additions & 2 deletions docs/pages/management/operations/db-ca-rotation.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ You do not need to reconfigure databases at this point if you are rotating only
the `db` CA, although there is no harm in doing so.

Consult the appropriate
[Teleport Database Access Guide](../../database-access/guides) for your
[Teleport Database Access Guide](../../database-access/guides.mdx) for your
databases before proceeding to the `update_clients` rotation phase.
</Admonition>

Expand Down Expand Up @@ -172,7 +172,7 @@ lose access** to those databases after transitioning to the `standby` phase in
this final step.

To avoid down time, consult the appropriate
[Teleport Database Access Guide](../../database-access/guides) and reconfigure
[Teleport Database Access Guide](../../database-access/guides.mdx) and reconfigure
your databases before proceeding.
Otherwise, access may still be restored by reconfiguring your self-hosted
databases after this step.
Expand Down
9 changes: 0 additions & 9 deletions docs/pages/reference/terraform-provider.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -1413,15 +1413,6 @@ GitLab allows the configuration of options specific to the "gitlab" join method.

Allow is a list of TokenRules, nodes using this token must match one allow rule to use this token.

| Name | Type | Required | Description |
|-----------------|--------|----------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| environment | string | | Environment limits access by the environment the job deploys to (if one is associated) |
| namespace_path | string | | NamespacePath is used to limit access to jobs in a group or user's projects. Example: `mygroup` |
| pipeline_source | string | | PipelineSource limits access by the job pipeline source type. https://docs.gitlab.com/ee/ci/jobs/job_control.html#common-if-clauses-for-rules Example: `web` |
| project_path | string | | ProjectPath is used to limit access to jobs belonging to an individual project. Example: `mygroup/myproject` |
| ref | string | | Ref allows access to be limited to jobs triggered by a specific git ref. Ensure this is used in combination with ref_type. |
| ref_type | string | | RefType allows access to be limited to jobs triggered by a specific git ref type. Example: `branch` or `tag` |
| sub | string | | Sub roughly uniquely identifies the workload. Example: `project_path:mygroup/my-project:ref_type:branch:ref:main` project_path:{group}/{project}:ref_type:{type}:ref:{branch_name} |

#### spec.kubernetes

Expand Down

0 comments on commit 545fe48

Please sign in to comment.