Skip to content

Commit 627396d

Browse files
authored
Merge pull request #58 from GitGuardian/amascia/remove-deprecated-param
chore(examples): remove deprecated path param for hashicorpvault
2 parents 1a04329 + 9cb310d commit 627396d

File tree

4 files changed

+3
-5
lines changed

4 files changed

+3
-5
lines changed

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ inventory:
2929
# Token configuration can be read from environment variables like so:
3030
token: "${HASHICORP_VAULT_TOKEN}"
3131
fetch_all_versions: true
32-
path: "secret/"
3332
mode: "read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
3433
gitlabci:
3534
type: gitlabci
@@ -133,7 +132,6 @@ inventory:
133132
# Token configuration can be read from environment variables like so:
134133
token: "${`${HASHICORP_VAULT_TOKEN}`}"
135134
fetch_all_versions: true
136-
path: "secret/"
137135
mode: "read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
138136
gitlabci:
139137
type: gitlabci

charts/ggscout/examples/hashicorpvault-k8s/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,6 @@ Edit the `secret.yaml` file to match your environment:
7777
Edit the `values.yaml` file:
7878

7979
- `vault_address`: Your Vault server URL
80-
- `path`: The Vault path to collect secrets from
8180
- `gitguardian.endpoint`: Your GitGuardian instance URL
8281
- `auth.k8s.service_account`: (Optional) Custom service account name
8382
- `auth.k8s.namespace`: (Optional) Kubernetes namespace for the service account

charts/ggscout/examples/hashicorpvault-k8s/values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ inventory:
1212
role: "${VAULT_K8S_ROLE}"
1313
mount: "kubernetes" # This is the default; if the authentication path has changed, this must be updated
1414
fetch_all_versions: true # Fetch all versions of secrets or not
15-
path: "secret/dev" # Vault path or unspecified
1615
mode: "read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
1716
# To upload, set the gitguardian URL and tokens. Ensure the endpoint path ends with /v1
1817
# This is optional: omit this to prevent uploading and to only test collection.

charts/ggscout/examples/hashicorpvault/values.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@ inventory:
1010
auth:
1111
auth_mode: "token"
1212
token: "${HASHICORP_VAULT_TOKEN}"
13+
include: # To filter the secrets to fetch, you can use the `include` field.
14+
- resource_ids:
15+
- "secret/dev/*" # `secret` is the secret engine name, `dev/*` is the path within the engine
1316
fetch_all_versions: true # Fetch all versions of secrets or not
14-
path: "secret/dev" # Vault path or unspecified
1517
mode: "read/write" # Can be `read`, `write` or `read/write` depending on wether fetch and/or sync are enabled
1618
# To upload, set the gitguardian URL and tokens. Ensure the endpoint path ends with /v1
1719
# This is optional: omit this to prevent uploading and to only test collection.

0 commit comments

Comments
 (0)