Skip to content

Commit 88fd467

Browse files
jan-lawopenshift-merge-bot[bot]
authored andcommitted
Add architecture section to readme
Signed-off-by: Janelle Law <[email protected]>
1 parent 879ce2d commit 88fd467

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,16 @@ spec:
100100
101101
```
102102

103+
### Architecture
104+
105+
The Deployment `config-policy-controller` contains two main controllers: Configuration Policy Controller and Operator Policy Controller. Both evaluate policy rules and support Golang text templates.
106+
107+
**Configuration Policy Controller** - Watches for `ConfigurationPolicy` resources and evaluates Kubernetes objects against desired state specifications.
108+
109+
**Operator Policy Controller** - Manages the lifecycle of Operator Lifecycle Manager (OLM) operators through `OperatorPolicy` resources. Handles `Subscriptions`, `OperatorGroups`, and monitors the health of operator deployments and `ClusterServiceVersions`. The controller can manage operator installation, upgrades, and removal with configurable behaviors for resource cleanup.
110+
111+
![Config Policy Controller Architecture](images/config-policy-controller-architecture-diagram.png)
112+
103113
## Getting started
104114

105115
Go to the

0 commit comments

Comments
 (0)