Merge pull request 'feat: add woodpecker secrets' (#57) from benvin/woodpecker into master
Reviewed-on: #57
This commit is contained in:
commit
c94b2af196
6
config/auth_kubernetes_role/k8s/au/syd1/woodpecker.yaml
Normal file
6
config/auth_kubernetes_role/k8s/au/syd1/woodpecker.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
bound_service_account_names:
|
||||||
|
- default
|
||||||
|
bound_service_account_namespaces:
|
||||||
|
- woodpecker
|
||||||
|
token_ttl: 600
|
||||||
|
audience: vault
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
# Allow reading woodpecker/database integration details
|
||||||
|
---
|
||||||
|
rules:
|
||||||
|
- path: "kv/data/service/woodpecker/woodpecker-database-config"
|
||||||
|
capabilities:
|
||||||
|
- read
|
||||||
|
|
||||||
|
auth:
|
||||||
|
k8s/au/syd1:
|
||||||
|
- woodpecker
|
||||||
10
policies/kv/service/woodpecker/woodpecker-gitea/read.yaml
Normal file
10
policies/kv/service/woodpecker/woodpecker-gitea/read.yaml
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# Allow reading woodpecker/gitea integration details
|
||||||
|
---
|
||||||
|
rules:
|
||||||
|
- path: "kv/data/service/woodpecker/woodpecker-gitea"
|
||||||
|
capabilities:
|
||||||
|
- read
|
||||||
|
|
||||||
|
auth:
|
||||||
|
k8s/au/syd1:
|
||||||
|
- woodpecker
|
||||||
@ -0,0 +1,10 @@
|
|||||||
|
# Allow reading woodpecker/postgres integration details
|
||||||
|
---
|
||||||
|
rules:
|
||||||
|
- path: "kv/data/service/woodpecker/woodpecker-postgres-credentials"
|
||||||
|
capabilities:
|
||||||
|
- read
|
||||||
|
|
||||||
|
auth:
|
||||||
|
k8s/au/syd1:
|
||||||
|
- woodpecker
|
||||||
Loading…
Reference in New Issue
Block a user