Dieser Inhalt ist in der von Ihnen ausgewählten Sprache nicht verfügbar.
Chapter 17. Using RHACS with GitOps
You can configure key RHACS attributes by using GitOps workflows by storing the values as code and applying them to RHACS declaratively.
RHACS provides the following two different mechanisms to control two different sets of attributes:
- Declarative configuration is a lightweight mechanism that uses config maps and secrets to configure mostly authentication and authorization resources.
- Policy as code leverages a RHACS-provided custom resource (CR), along with its controller, to manage RHACS policies.
17.1. Configuration by using declarative configuration Link kopierenLink in die Zwischenablage kopiert!
You can configure the following resources by using the RHACS declarative configuration method:
- Authentication providers
- Roles
- Permission sets
- Notifiers
- Access scopes
To configure these resources, you create YAML files that contain configuration information. These files are used to create a ConfigMap or Secret that is added to RHACS by using a mount point during installation of the RHACS Central resource.
17.2. Configuration by using policy as code Link kopierenLink in die Zwischenablage kopiert!
You can create and manage policies as code by authoring policies as Kubernetes custom resources (CRs), and then applying them to the RHACS Central namespace by using a GitOps tool such as OpenShift GitOps, which is built on ArgoCD.