changes
This commit is contained in:
parent
6f4fc355ba
commit
fe43c1be02
|
|
@ -2,12 +2,13 @@ apiVersion: external-secrets.io/v1
|
||||||
kind: ExternalSecret
|
kind: ExternalSecret
|
||||||
metadata:
|
metadata:
|
||||||
name: contabo-secrets
|
name: contabo-secrets
|
||||||
namespace: backups
|
namespace: velero
|
||||||
spec:
|
spec:
|
||||||
refreshInterval: 1h
|
refreshInterval: 1h
|
||||||
secretStoreRef:
|
secretStoreRef:
|
||||||
name: bitwarden
|
name: bitwarden
|
||||||
kind: ClusterSecretStore
|
kind: ClusterSecretStore
|
||||||
|
|
||||||
target:
|
target:
|
||||||
name: contabo-secrets
|
name: contabo-secrets
|
||||||
creationPolicy: Owner
|
creationPolicy: Owner
|
||||||
|
|
@ -15,14 +16,12 @@ spec:
|
||||||
engineVersion: v2
|
engineVersion: v2
|
||||||
mergePolicy: Merge
|
mergePolicy: Merge
|
||||||
data:
|
data:
|
||||||
- secretKey: contabo-username
|
cloud: |
|
||||||
remoteRef:
|
[default]
|
||||||
key: contabo-username
|
aws_access_key_id={{ .contabo-client-id }}
|
||||||
|
aws_secret_access_key={{ .contabo-client-secret }}
|
||||||
- secretKey: contabo-password
|
|
||||||
remoteRef:
|
|
||||||
key: contabo-password
|
|
||||||
|
|
||||||
|
data:
|
||||||
- secretKey: contabo-client-id
|
- secretKey: contabo-client-id
|
||||||
remoteRef:
|
remoteRef:
|
||||||
key: contabo-client-id
|
key: contabo-client-id
|
||||||
|
|
|
||||||
32
secrets/contabosecrets.yaml.old
Normal file
32
secrets/contabosecrets.yaml.old
Normal file
|
|
@ -0,0 +1,32 @@
|
||||||
|
apiVersion: external-secrets.io/v1
|
||||||
|
kind: ExternalSecret
|
||||||
|
metadata:
|
||||||
|
name: contabo-secrets
|
||||||
|
namespace: backups
|
||||||
|
spec:
|
||||||
|
refreshInterval: 1h
|
||||||
|
secretStoreRef:
|
||||||
|
name: bitwarden
|
||||||
|
kind: ClusterSecretStore
|
||||||
|
target:
|
||||||
|
name: contabo-secrets
|
||||||
|
creationPolicy: Owner
|
||||||
|
template:
|
||||||
|
engineVersion: v2
|
||||||
|
mergePolicy: Merge
|
||||||
|
data:
|
||||||
|
- secretKey: contabo-username
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-username
|
||||||
|
|
||||||
|
- secretKey: contabo-password
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-password
|
||||||
|
|
||||||
|
- secretKey: contabo-client-id
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-client-id
|
||||||
|
|
||||||
|
- secretKey: contabo-client-secret
|
||||||
|
remoteRef:
|
||||||
|
key: contabo-client-secret
|
||||||
Loading…
Reference in a new issue