feat: add woodpecker secrets
- add secrets required to integrate woodpecker into gitea/pgsql
This commit is contained in:
parent
18a62332f6
commit
dd44146d88
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