Skip to content

Commit

Permalink
Merge pull request #222 from anchore/make-account-routing-example-cle…
Browse files Browse the repository at this point in the history
…arer
  • Loading branch information
bradleyjones authored May 23, 2024
2 parents 8bc685c + 7c0b630 commit 38b2bd6
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -280,11 +280,18 @@ not set then the global credentials set in the `anchore` section will be used.

```yaml
account-routes:
# <Anchore Account Name>: # (this is the name of the anchore account e.g. admin)
# user: <username> <OPTIONAL>
# password: <password> <OPTIONAL>
# namespaces: # Can be a list of explicit namespaces matches or regex patterns
# - <namespace>
# - <regex pattern>
#
# Example
# account: # (this is the name of the anchore account e.g. admin)
# admin:
# user: username
# password: password
# namespaces: # Can be a list of explicit namespaces matches or regex patterns
# namespaces:
# - default
# - ^kube-*
```
Expand Down
9 changes: 8 additions & 1 deletion anchore-k8s-inventory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,15 @@ namespace-selectors:
ignore-empty: false

account-routes:
# <Anchore Account Name>: # (this is the name of the anchore account e.g. admin)
# user: <username> <OPTIONAL>
# password: <password> <OPTIONAL>
# namespaces: # Can be a list of explicit namespaces matches or regex patterns
# - <namespace>
# - <regex pattern>
#
# Example
# account:
# admin:
# user: username
# password: password
# namespaces:
Expand Down

0 comments on commit 38b2bd6

Please sign in to comment.