Policy Repository Location
Step 3: Server config - policy repo location
OPAL server is responsible to track policy changes and push them to OPAL clients.
At the moment, OPAL can tracks a git repository as the policy source.
(Mandatory) Repo location
Env Var Name | Function |
---|---|
OPAL_POLICY_REPO_URL |
|
(Optional) SSH key for private repos
If your tracked policy repo is private, you should declare this env var in order to authenticate and successfully clone the repo:
Env Var Name | Function |
---|---|
OPAL_POLICY_REPO_SSH_KEY |
|
(Optional) Clone/pull settings
For these config vars, in most cases you are good with the default values:
Env Var Name | Function |
---|---|
OPAL_POLICY_REPO_CLONE_PATH | Where (i.e: base target path) to clone the repo in your docker filesystem (not important unless you mount a docker volume) |
OPAL_POLICY_REPO_MAIN_BRANCH | Name of the git branch to track for policy files (default: |
(Optional) Bundle settings
Env Var Name | Function |
---|---|
OPAL_BUNDLE_IGNORE | Comma separated list of glob paths to omit from policy bundle. Note that double asterisks ** do not recursively match; unless at the end, and without other wildcards. |