Files
HetznerTerra/infrastructure/addons/rancher/rancher-bootstrap-password-flux-externalsecret.yaml
MichaelFisher1997 a15fa50302
All checks were successful
Deploy Cluster / Terraform (push) Successful in 49s
Deploy Cluster / Ansible (push) Successful in 5m43s
fix: Use Doppler-backed Rancher bootstrap password
2026-03-28 22:51:38 +00:00

22 lines
522 B
YAML

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