Files
HetznerTerra/infrastructure/addons/rancher/rancher-bootstrap-password-externalsecret.yaml
MichaelFisher1997 4ffbcfa312
All checks were successful
Deploy Cluster / Terraform (push) Successful in 2m13s
Deploy Cluster / Ansible (push) Successful in 8m52s
Add Rancher management UI
2026-03-24 01:53:04 +00:00

22 lines
520 B
YAML

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