ce7cb702218693d08ea6d83464d2457c9250027c
This commit is contained in:
commit
34c5f8963c
1 changed files with 145336 additions and 0 deletions
29
vendor/infrastructure/flux/vso.yaml
vendored
Normal file
29
vendor/infrastructure/flux/vso.yaml
vendored
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
---
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultAuth
|
||||
metadata:
|
||||
name: flux
|
||||
namespace: flux-system
|
||||
spec:
|
||||
method: kubernetes
|
||||
mount: kubernetes
|
||||
kubernetes:
|
||||
role: flux
|
||||
serviceAccount: flux-vso
|
||||
vaultConnectionRef: vault/vault
|
||||
---
|
||||
apiVersion: secrets.hashicorp.com/v1beta1
|
||||
kind: VaultStaticSecret
|
||||
metadata:
|
||||
name: forgejo-git-ssh
|
||||
namespace: flux-system
|
||||
spec:
|
||||
type: kv-v2
|
||||
mount: secret
|
||||
path: flux/forgejo/git-ssh
|
||||
destination:
|
||||
name: git-ssh-auth
|
||||
create: true
|
||||
overwrite: true
|
||||
refreshAfter: 1h
|
||||
vaultAuthRef: flux
|
||||
Loading…
Reference in a new issue