full-pushsecret.yaml 674 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. refreshInterval: 10s # Refresh interval for which push secret will reconcile
  8. secretStoreRefs: # A list of secret stores to push secrets to
  9. - name: aws-parameterstore
  10. kind: SecretStore
  11. selector:
  12. secret:
  13. name: pokedex-credentials # Source Kubernetes secret to be pushed
  14. data:
  15. - match:
  16. secretKey: best-pokemon # Source Kubernetes secret key to be pushed
  17. remoteRef:
  18. remoteKey: my-first-parameter # Remote reference (where the secret is going to be pushed)