ngrok-push-secret.yaml 729 B

1234567891011121314151617181920
  1. apiVersion: external-secrets.io/v1alpha1
  2. kind: PushSecret
  3. metadata:
  4. name: ngrok-push-secret-example
  5. spec:
  6. deletionPolicy: Delete
  7. refreshInterval: 10m # Refresh interval for which push secret will reconcile
  8. secretStoreRefs: # A list of secret stores to push secrets to
  9. - name: ngrok # Must match SecretStore on the cluster
  10. kind: SecretStore
  11. selector:
  12. secret:
  13. name: SECRET_NAME # Source Kubernetes secret to be pushed
  14. data:
  15. - match:
  16. # The key in the Kubernetes secret to push. Leave empty to push all keys, JSON encoded.
  17. # secretKey: ""
  18. secretKey: MY_K8S_SECRET_KEY
  19. remoteRef:
  20. remoteKey: MY_NGROK_SECRET_NAME # The name of the secret in the ngrok vault