31 lines
759 B
YAML
31 lines
759 B
YAML
---
|
|
# yaml-language-server: $schema=https://ks.hsn.dev/external-secrets.io/externalsecret_v1beta1.json
|
|
apiVersion: external-secrets.io/v1beta1
|
|
kind: ExternalSecret
|
|
metadata:
|
|
name: hcloud
|
|
namespace: kube-system
|
|
spec:
|
|
secretStoreRef:
|
|
kind: ClusterSecretStore
|
|
name: onepassword-connect
|
|
target:
|
|
name: hcloud
|
|
creationPolicy: Owner
|
|
data:
|
|
- secretKey: token
|
|
remoteRef:
|
|
key: hetzner
|
|
property: cloud-api-token
|
|
- secretKey: network
|
|
remoteRef:
|
|
key: hetzner
|
|
property: cloud-network-name
|
|
- secretKey: robot-user
|
|
remoteRef:
|
|
key: hetzner
|
|
property: robot-api-user
|
|
- secretKey: robot-password
|
|
remoteRef:
|
|
key: hetzner
|
|
property: robot-api-password
|