full-pushsecret.yaml 767 B

12345678910111213141516171819
  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: 10s # 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. secretKey: best-pokemon # Source Kubernetes secret key to be pushed
  18. remoteRef:
  19. remoteKey: my-first-parameter # Remote reference (where the secret is going to be pushed)