This repository has been archived on 2024-02-11. You can view files and clone it, but cannot push or open issues or pull requests.
valinor/kubernetes/apps/flux-system/add-ons/webhooks/git/externalsecret.yaml

20 lines
474 B
YAML
Raw Normal View History

2023-08-13 12:13:53 -05:00
---
2023-11-27 22:31:02 -06:00
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
2023-08-13 12:13:53 -05:00
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
2023-11-27 22:31:02 -06:00
name: git-webhook-token
2023-08-13 12:13:53 -05:00
namespace: flux-system
spec:
secretStoreRef:
kind: ClusterSecretStore
name: onepassword-connect
target:
2023-11-27 22:31:02 -06:00
name: git-webhook-token
2023-08-13 12:13:53 -05:00
creationPolicy: Owner
data:
- secretKey: token
remoteRef:
key: flux
2023-11-27 22:31:02 -06:00
property: git_webhook_token