Files
HetznerTerra/infrastructure/addons/rancher/rancher-bootstrap-password-flux-externalsecret.yaml

22 lines
522 B
YAML
Raw Normal View History

apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: rancher-bootstrap-password
namespace: flux-system
spec:
refreshInterval: 1h
secretStoreRef:
name: doppler-hetznerterra
kind: ClusterSecretStore
target:
name: rancher-bootstrap-password
creationPolicy: Owner
template:
type: Opaque
data:
bootstrapPassword: "{{ .RANCHER_BOOTSTRAP_PASSWORD }}"
data:
- secretKey: RANCHER_BOOTSTRAP_PASSWORD
remoteRef:
key: RANCHER_BOOTSTRAP_PASSWORD