mirror of
https://github.com/external-secrets/external-secrets.git
synced 2024-12-14 11:57:59 +00:00
21 lines
736 B
YAML
21 lines
736 B
YAML
apiVersion: external-secrets.io/v1alpha1
|
|
kind: PushSecret
|
|
metadata:
|
|
name: pushsecret-example # Customisable
|
|
namespace: teamb # Same of the SecretStores
|
|
spec:
|
|
deletionPolicy: Delete
|
|
refreshInterval: 10s # Refresh interval for which push secret will reconcile
|
|
secretStoreRefs: # A list of secret stores to push secrets to
|
|
- name: teamb-secret-store
|
|
kind: SecretStore
|
|
selector:
|
|
secret:
|
|
name: my-secret # Source Kubernetes secret to be pushed
|
|
data:
|
|
- match:
|
|
secretKey: key1 # Source Kubernetes secret key to be pushed
|
|
remoteRef:
|
|
remoteKey: teamb-my-first-parameter-3 # Remote reference (where the secret is going to be pushed)
|
|
metadata:
|
|
secretPushFormat: string
|