Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(values): explain default value for server.policyRepoMainBranch #60

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ This is not a comprehensive list, but includes the main variables you have to th
| Variable | Description |
| ---------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| `server.policyRepoUrl` | Git repository holding policy code (& optionally policy data) to be tracked by OPAL |
| `server.policyRepoMainBranch` | sets OPAL_POLICY_REPO_MAIN_BRANCH which defaults to `master` |
| `server.dataConfigSources` | Data sources to be published to clients (and their managed OPAs) |
| `server.dataConfigSources.config.entries` | Static list of data source entries (See [OPAL Docs](https://docs.opal.ac/getting-started/running-opal/run-opal-server/data-sources)) |
| `server.dataConfigSources.external_source_url` | URL to dynamically fetch data sources entries from (See [OPAL Docs](https://docs.opal.ac/tutorials/configure_external_data_sources)) |
Expand Down
2 changes: 1 addition & 1 deletion values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
"type": ["null", "string"], "title": "policy clone path","default": null
},
"policyRepoMainBranch": {
"type": ["null", "string"], "title": "policy main branch","default": null
"type": ["null", "string"], "title": "sets OPAL_POLICY_REPO_MAIN_BRANCH which defaults to master","default": null
},
"pollingInterval": {
"type": "integer", "title": "polling interval (sec)", "default": 30
Expand Down
2 changes: 1 addition & 1 deletion values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ server:
policyRepoUrl: "https://github.com/permitio/opal-example-policy-repo"
policyRepoSshKey: null
policyRepoClonePath: null
policyRepoMainBranch: null
policyRepoMainBranch: null # sets OPAL_POLICY_REPO_MAIN_BRANCH which defaults to master
pollingInterval: 30
dataConfigSources:
# Option #1 - No data sources
Expand Down
Loading