mirror of
https://github.com/pomerium/pomerium.git
synced 2025-07-31 15:29:48 +02:00
docs: update upgrading.md for v0.0.5
This commit is contained in:
parent
6a465ac294
commit
2618602ae1
1 changed files with 8 additions and 9 deletions
|
@ -13,19 +13,17 @@ This page contains the list of deprecations and important or breaking changes fo
|
||||||
|
|
||||||
### Breaking: POLICY_FILE removed
|
### Breaking: POLICY_FILE removed
|
||||||
|
|
||||||
Usage of the POLICY_FILE envvar is no longer supported. Support for file based policy configuratin has been shifted into the new unified config file.
|
Usage of the POLICY_FILE envvar is no longer supported. Support for file based policy configuration has been shifted into the new unified config file.
|
||||||
|
|
||||||
### Important: Configuration file support added
|
### Important: Configuration file support added
|
||||||
|
|
||||||
* Pomerium now supports an optional -config flag. This flag specifies a file from which to read all configuration options. It supports yaml, json, toml and properties formats.
|
- Pomerium now supports an optional -config flag. This flag specifies a file from which to read all configuration options. It supports yaml, json, toml and properties formats.
|
||||||
|
- All options which can be specified via MY_SETTING style envvars can now be specified within your configuration file as key/value. The key is generally the same as the envvar name, but lower cased. See Reference Documentation for exact names.
|
||||||
* All options which can be specified via MY_SETTING style envvars can now be specified within your configuration file as key/value. The key is generally the same as the envvar name, but lower cased. See Reference Documentation for exact names.
|
- Options precedence is `environmental variables` > `configuration file` > `defaults`
|
||||||
|
- The options file supports a policy key, which contains policy in the same format as `POLICY_FILE`. To convert an existing policy.yaml into a config.yaml, just move your policy under a policy key.
|
||||||
* Options precedence is ENV > Config > Defaults
|
|
||||||
|
|
||||||
* The options file supports a policy key, which contains policy in the same format as POLICY_FILE. To convert an existing policy.yaml into a config.yaml, just move your policy under a policy key.
|
|
||||||
|
|
||||||
Old:
|
Old:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- from: httpbin.corp.beyondperimeter.com
|
- from: httpbin.corp.beyondperimeter.com
|
||||||
to: http://httpbin
|
to: http://httpbin
|
||||||
|
@ -36,6 +34,7 @@ Usage of the POLICY_FILE envvar is no longer supported. Support for file based
|
||||||
```
|
```
|
||||||
|
|
||||||
New:
|
New:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
policy:
|
policy:
|
||||||
- from: httpbin.corp.beyondperimeter.com
|
- from: httpbin.corp.beyondperimeter.com
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue