Skip to content

Commit

Permalink
Updated the version for gestalt (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vishesh-Gupta authored Apr 21, 2021
1 parent 9e0c8ae commit 2dae25b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,3 +232,20 @@ The `get` function will raise `TypeError`s in the following cases:
1. The key is not a string
2. The default value does not match the desired type
3. The configuration has the key with a value of type `a`, when the user desires a value of type `b`

#### Working with Vault

To work with vault, connect gestalt with your vault cluster using:

```python
g.add_vault_config_provider(vault_config, authentication_config)
```

1. The `vault_config` is a dictionary requiring url, and token
2. The `authentication_config` is a dictionary with Kubernetes `role` and `jwt`

Next, add a path to the secret for Vault to access the cluster which loads it into the running
internal data structure configuration

```python
g.add_vault_secret_path('path')
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def readme():


setup(name='gestalt-cfg',
version='1.0.5',
version='1.0.6',
description='A sensible configuration library for Python',
long_description=readme(),
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 2dae25b

Please sign in to comment.