full-pushsecret-no-key-no-property.yaml 690 B

123456789101112131415161718
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: PushSecret
  3. metadata:
  4. name: pushsecret-example # Customisable
  5. namespace: default # Same of the SecretStores
  6. spec:
  7. deletionPolicy: Delete # the provider' secret will be deleted if the PushSecret is deleted
  8. refreshInterval: 1h # Refresh interval for which push secret will reconcile
  9. secretStoreRefs: # A list of secret stores to push secrets to
  10. - name: aws-parameterstore
  11. kind: SecretStore
  12. selector:
  13. secret:
  14. name: pokedex-credentials # Source Kubernetes secret to be pushed
  15. data:
  16. - match:
  17. remoteRef:
  18. remoteKey: my-first-parameter # Remote reference (where the secret is going to be pushed)