mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-15 17:51:01 +00:00
833658699d
* Adds Keyvault PushSecret Signed-off-by: Gustavo Carvalho <gusfcarvalho@gmail.com>
26 lines
No EOL
694 B
YAML
26 lines
No EOL
694 B
YAML
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: source-secret
|
|
stringData:
|
|
source-key: "my-secret"
|
|
---
|
|
apiVersion: external-secrets.io/v1alpha1
|
|
kind: PushSecret
|
|
metadata:
|
|
name: pushsecret-example
|
|
namespace: default
|
|
spec:
|
|
refreshInterval: 10s # Refresh interval for which push secret will reconcile
|
|
deletionPolicy: Delete
|
|
secretStoreRefs: # A list of secret stores to push secrets to
|
|
- name: azure-store
|
|
kind: SecretStore
|
|
selector:
|
|
secret:
|
|
name: source-secret # Source Kubernetes secret to be pushed
|
|
data:
|
|
- match:
|
|
secretKey: source-key # Source Kubernetes secret key containing the secret
|
|
remoteRef:
|
|
remoteKey: my-azkv-secret-name |