2022-05-23 12:26:47 +02:00
|
|
|
apiVersion: external-secrets.io/v1beta1
|
|
|
|
kind: ExternalSecret
|
|
|
|
metadata:
|
2022-05-24 12:38:44 +02:00
|
|
|
name: pinbot-secrets
|
|
|
|
namespace: misc
|
2022-05-23 12:26:47 +02:00
|
|
|
spec:
|
|
|
|
refreshInterval: "15s"
|
|
|
|
secretStoreRef:
|
|
|
|
name: vault
|
|
|
|
kind: ClusterSecretStore
|
|
|
|
target:
|
2022-05-24 12:38:44 +02:00
|
|
|
name: pinbot-secrets
|
2022-05-23 12:26:47 +02:00
|
|
|
data:
|
2022-05-24 12:43:15 +02:00
|
|
|
- secretKey: token
|
2022-05-23 12:29:48 +02:00
|
|
|
remoteRef:
|
2022-05-24 12:38:44 +02:00
|
|
|
key: k8s/pinbot
|
|
|
|
property: token
|