gitops-write

This command triggers a GitOps write of the domain configuration files as JSON.

Syntax

gitops-write message force dryrun file

Parameters

message
Specify the commit message. The max length of the string is 72 characters.
force
Specify whether to force the write operation regardless of being detached from HEAD.
on
Force the operation.
off
Do not force the operation. This setting is the default value.
dryrun
Specify whether to read from the GitOps location or the specified system file. The output is always written to a file in the temporary: directory.
on
Do not read from the GitOps location. Read the file from the specified directory. Use this setting for prototyping purposes.
off
Write from the GitOps location. This setting is the default value.
file
Specify the file in the system directory to read the JSON file. Only the local: and temporary: directories are supported.

Guidelines

The gitops-write command triggers a GitOps write the domain configuration files as JSON.

The gitops-write command takes the persisted configuration from the domain, templates it with the template policies on the GitOps instance, and writes to the Git repository. DataPower created commits use the GitOps name and email commands.

This command is available only when GitOps mode command is read-write.