fix: Add Rancher DB password ExternalSecret
This commit is contained in:
@@ -5,4 +5,5 @@ resources:
|
|||||||
- helmrepository-rancher.yaml
|
- helmrepository-rancher.yaml
|
||||||
- helmrelease-rancher.yaml
|
- helmrelease-rancher.yaml
|
||||||
- rancher-bootstrap-password-externalsecret.yaml
|
- rancher-bootstrap-password-externalsecret.yaml
|
||||||
|
- rancher-db-password-externalsecret.yaml
|
||||||
- rancher-tailscale-service.yaml
|
- rancher-tailscale-service.yaml
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: rancher-db-password
|
||||||
|
namespace: cattle-system
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: doppler-hetznerterra
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: rancher-db-password
|
||||||
|
creationPolicy: Owner
|
||||||
|
template:
|
||||||
|
type: Opaque
|
||||||
|
data:
|
||||||
|
password: "{{ .RANCHER_DB_PASSWORD }}"
|
||||||
|
data:
|
||||||
|
- secretKey: RANCHER_DB_PASSWORD
|
||||||
|
remoteRef:
|
||||||
|
key: RANCHER_DB_PASSWORD
|
||||||
Reference in New Issue
Block a user