Skip to content

Commit 5a90c9b

Browse files
authored
merge policy into one section (#449)
Signed-off-by: Qing Hao <[email protected]>
1 parent 15c5ec7 commit 5a90c9b

File tree

6 files changed

+14
-12
lines changed

6 files changed

+14
-12
lines changed

content/en/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ title: Open Cluster Management
4242
Use application lifecycle to create your application and deliver hybrid apps across one or more clusters, while you keep up with changes.
4343
{{% /blocks/feature %}}
4444

45-
{{% blocks/feature icon="fa-cog" title="Configure, Secure, and Manage Your Resources" url="docs/getting-started/integration/policy" %}}
45+
{{% blocks/feature icon="fa-cog" title="Configure, Secure, and Manage Your Resources" url="docs/getting-started/integration/policy-controllers" %}}
4646
Policy and configuration management uses labels to help you deploy policies and control consistently across your resources. Keep your resources secure by using access control and manage for your quota and cost.
4747
{{% /blocks/feature %}}
4848
{{% /blocks/section %}}

content/en/docs/getting-started/integration/policy-controllers/_index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ title: Policy controllers
33
weight: 10
44
---
55

6-
The [Policy API]({{< ref "docs/getting-started/integration/policy" >}}) on the hub delivers the policies defined in `spec.policy-templates` to the managed
7-
clusters via the [policy framework controllers]({{< ref "docs/getting-started/integration/policy-framework" >}}). Once on the managed
6+
The [Policy API]({{< ref "docs/getting-started/integration/policy-controllers/policy" >}}) on the hub delivers the policies defined in `spec.policy-templates` to the managed
7+
clusters via the [policy framework controllers]({{< ref "docs/getting-started/integration/policy-controllers/policy-framework" >}}). Once on the managed
88
cluster, these _Policy Templates_ are acted upon by the associated controller on the managed cluster. The policy
99
framework supports delivering the _Policy Template_ kinds listed.
1010

content/en/docs/getting-started/integration/policy-controllers/configuration-policy.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You must meet the following prerequisites to install the configuration policy co
1919
- Ensure [Golang](https://golang.org/doc/install) is installed, if you are planning to install from the source.
2020

2121
- Ensure the `open-cluster-management` _policy framework_ is installed. See
22-
[Policy Framework]({{< ref "docs/getting-started/integration/policy-framework" >}}) for more information.
22+
[Policy Framework]({{< ref "docs/getting-started/integration/policy-controllers/policy-framework" >}}) for more information.
2323

2424
## Installing the configuration policy controller
2525

@@ -49,7 +49,7 @@ Ensure `clusteradm` CLI is installed and is newer than v0.3.0. Download and extr
4949
After a successful deployment, test the policy framework and configuration policy controller with a sample policy.
5050

5151
For more information on how to use a `ConfigurationPolicy`, read the
52-
[`Policy` API concept section]({{< ref "docs/getting-started/integration/policy-framework#policy" >}}).
52+
[`Policy` API concept section]({{< ref "docs/getting-started/integration/policy-controllers/policy-framework#policy" >}}).
5353

5454
1. Run the following command to create a policy on the hub that uses `Placement`:
5555

content/en/docs/getting-started/integration/policy-framework.md content/en/docs/getting-started/integration/policy-controllers/policy-framework.md

+7-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
title: Policy framework
3-
weight: 10
3+
weight: 2
4+
aliases:
5+
- /getting-started/integration/policy-framework/
46
---
57

68
The policy framework provides governance capabilities to OCM managed Kubernetes clusters. Policies provide visibility
@@ -10,12 +12,12 @@ and drive remediation for various security and configuration aspects to help IT
1012

1113
## API Concepts
1214

13-
View the [Policy API]({{< ref "docs/getting-started/integration/policy" >}}) page for additional details about the Policy API managed by the Policy Framework
15+
View the [Policy API]({{< ref "docs/getting-started/integration/policy-controllers/policy" >}}) page for additional details about the Policy API managed by the Policy Framework
1416
components, including:
1517

16-
- [`Policy`]({{< ref "docs/getting-started/integration/policy#policy" >}})
17-
- [`PolicySet`]({{< ref "docs/getting-started/integration/policy#policyset" >}})
18-
- [`PlacementBinding`]({{< ref "docs/getting-started/integration/policy#placementbinding" >}})
18+
- [`Policy`]({{< ref "docs/getting-started/integration/policy-controllers/policy#policy" >}})
19+
- [`PolicySet`]({{< ref "docs/getting-started/integration/policy-controllers/policy#policyset" >}})
20+
- [`PlacementBinding`]({{< ref "docs/getting-started/integration/policy-controllers/policy#placementbinding" >}})
1921

2022
## Architecture
2123

content/en/docs/getting-started/integration/policy.md content/en/docs/getting-started/integration/policy-controllers/policy.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Policy
3-
weight: 5
3+
weight: 1
44
aliases:
55
- /concepts/policy/
66
- /docs/concepts/policy/

content/en/docs/getting-started/quick-start/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,5 +37,5 @@ Now you have the OCM control plane with 2 managed clusters connected! Let's star
3737
- [Deploy kubernetes resources onto a managed cluster]({{< ref "docs/scenarios/deploy-kubernetes-resources" >}})
3838
- [Visit kubernetes apiserver of managedcluster from cluster-proxy]({{< ref "docs/scenarios/pushing-kube-api-requests" >}})
3939
- Visit [integration]({{< ref "docs/getting-started/integration" >}}) to check if any certain OCM addon will meet your use cases.
40-
- [Deploy Policies onto a managed cluster]({{< ref "docs/getting-started/integration/policy-framework" >}})
40+
- [Deploy Policies onto a managed cluster]({{< ref "docs/getting-started/integration/policy-controllers/policy-framework" >}})
4141
- [Use the OCM VScode Extension to easily generate OCM related Kubernetes resources and track your cluster]({{< ref "docs/developer-guides/vscode-extension" >}})

0 commit comments

Comments
 (0)