feat: add rancher to argocd with external secret

This commit is contained in:
2026-06-24 05:05:57 +00:00
parent 489841aa1e
commit 18e7fd7ea3
3 changed files with 43 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
apiVersion: external-secrets.io/v1
kind: ExternalSecret
metadata:
name: rancher-secret
namespace: cattle-system
spec:
refreshInterval: 1h
secretStoreRef:
name: vault-backend
kind: ClusterSecretStore
target:
name: rancher-bootstrap-secret
creationPolicy: Owner
data:
- secretKey: bootstrapPassword
remoteRef:
key: secret/rancher
property: bootstrapPassword