Skip to content

Commit

Permalink
Allow kubernetes auth to use defaults (#42)
Browse files Browse the repository at this point in the history
* Allow kubernetes auth to use defaults

* Bump version: 1.0.3 → 1.0.4

* Allow whole k8s auth to be nullable

* Bump version: 1.0.4 → 1.0.5

Co-authored-by: Eugene Davis <[email protected]>
  • Loading branch information
eugene-davis and eugene-davis authored Jul 4, 2022
1 parent f5472dd commit a6e91ae
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.0.4
current_version = 1.0.5
commit = True
tag = False
message = Bump version: {current_version} → {new_version}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
VERSION: 1.0.4
VERSION: 1.0.5

jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "vault-assessment-prometheus-exporter"
version = "1.0.4"
version = "1.0.5"
description = "Prometheus exporter to monitor custom metadata for KV2 secrets for (self-imposed) expiration."
authors = ["Eugene Davis <[email protected]>"]
readme = "README.md"
Expand Down
5 changes: 3 additions & 2 deletions vault_monitor/scripts/start_exporter.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ def get_config_schema(modules: List) -> Dict[str, Dict]:
{
"kubernetes": {
"type": "dict",
"nullable": True,
"schema": {
"token_file": {"type": "string"},
"mount_point": {"type": "string"},
"token_file": {"type": "string", "nullable": True},
"mount_point": {"type": "string", "nullable": True},
},
"meta": {"description": "Configuration for Kubernetes authentication method.", "link": "https://www.vaultproject.io/docs/auth/kubernetes"},
}
Expand Down

0 comments on commit a6e91ae

Please sign in to comment.