Skip to content

merge policy into one section #449

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/en/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ title: Open Cluster Management
Use application lifecycle to create your application and deliver hybrid apps across one or more clusters, while you keep up with changes.
{{% /blocks/feature %}}

{{% blocks/feature icon="fa-cog" title="Configure, Secure, and Manage Your Resources" url="docs/getting-started/integration/policy" %}}
{{% blocks/feature icon="fa-cog" title="Configure, Secure, and Manage Your Resources" url="docs/getting-started/integration/policy-controllers" %}}
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.
{{% /blocks/feature %}}
{{% /blocks/section %}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ title: Policy controllers
weight: 10
---

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

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

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

## Installing the configuration policy controller

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

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

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

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
---
title: Policy framework
weight: 10
weight: 2
aliases:
- /getting-started/integration/policy-framework/
---

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

## API Concepts

View the [Policy API]({{< ref "docs/getting-started/integration/policy" >}}) page for additional details about the Policy API managed by the Policy Framework
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
components, including:

- [`Policy`]({{< ref "docs/getting-started/integration/policy#policy" >}})
- [`PolicySet`]({{< ref "docs/getting-started/integration/policy#policyset" >}})
- [`PlacementBinding`]({{< ref "docs/getting-started/integration/policy#placementbinding" >}})
- [`Policy`]({{< ref "docs/getting-started/integration/policy-controllers/policy#policy" >}})
- [`PolicySet`]({{< ref "docs/getting-started/integration/policy-controllers/policy#policyset" >}})
- [`PlacementBinding`]({{< ref "docs/getting-started/integration/policy-controllers/policy#placementbinding" >}})

## Architecture

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: Policy
weight: 5
weight: 1
aliases:
- /concepts/policy/
- /docs/concepts/policy/
Expand Down
2 changes: 1 addition & 1 deletion content/en/docs/getting-started/quick-start/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ Now you have the OCM control plane with 2 managed clusters connected! Let's star
- [Deploy kubernetes resources onto a managed cluster]({{< ref "docs/scenarios/deploy-kubernetes-resources" >}})
- [Visit kubernetes apiserver of managedcluster from cluster-proxy]({{< ref "docs/scenarios/pushing-kube-api-requests" >}})
- Visit [integration]({{< ref "docs/getting-started/integration" >}}) to check if any certain OCM addon will meet your use cases.
- [Deploy Policies onto a managed cluster]({{< ref "docs/getting-started/integration/policy-framework" >}})
- [Deploy Policies onto a managed cluster]({{< ref "docs/getting-started/integration/policy-controllers/policy-framework" >}})
- [Use the OCM VScode Extension to easily generate OCM related Kubernetes resources and track your cluster]({{< ref "docs/developer-guides/vscode-extension" >}})
Loading