Defining the integration for GitOps
Each DataPower® domain supports a single GitOps instance that operates in either read-only mode or read/write mode.
Before you begin
To define the connection for GitOps integration, you need to know the location of the remote
repository and how to secure the connection with this repository. The connection can be secured with
the HTTPS or SSH protocol.
- HTTPS
- The connection uses HTTPS basic authentication where you must provide the username and password. Because the credentials use a password, you must create a password alias for the password. Beyond credentials, you must define the truststore, which is DataPower validation credentials.
- SSH
- The connection uses SSH where you must provide an SSH client profile. Beyond the client profile, you need an SSH authorized key file.
About this task
The DataPower GitOps implementation supports the following modes for integration with the remote
Git repository that commits by using a branch identifier, commit hash identifier, or a tag
identifier. For a GitOps write operation, you need to define the
git config
requires a user.name and user.email.- Read-only mode
- In read-only mode, the system pulls the domain configuration and local files from the Git repository. The pull interval from the repository is configurable, but you can disable polling. This mode is for production environments and facilitates the deployment of configurations that you develop in read/write mode.
- Read/write mode
- In read/write mode, the system pulls and applies changes from the Git repository to the running domain configuration. This mode for development environments and facilitates the development and publishing of configurations to the repository that are pulled when in read-only mode.