This commit is contained in:
2025-04-22 06:34:33 -05:00
parent 5a8fa58e9b
commit 2097a8dd3a
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
apiVersion: v1
kind: ServiceAccount
metadata:
name: vault
---
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: agent-token
spec:
secretStoreRef:
name: vault
kind: ClusterSecretStore
target:
name: agent-token
data:
- secretKey: bearer-token
remoteRef:
key: kv/octopusdeploy
property: infra-bearer-token