conjur-external-secret-find.yaml 711 B

12345678910111213141516171819202122
  1. apiVersion: external-secrets.io/v1beta1
  2. kind: ExternalSecret
  3. metadata:
  4. name: conjur-find-by-name
  5. spec:
  6. refreshInterval: 10s
  7. secretStoreRef:
  8. # This name must match the metadata.name in the `SecretStore`
  9. name: conjur
  10. kind: SecretStore
  11. target:
  12. name: k8s-secret-to-be-created
  13. dataFrom:
  14. - find:
  15. # You can use *either* `name` or `tags` to filter the secrets. Here are basic examples of both:
  16. name:
  17. # Match all secrets in the app1 namespace (e.g., `app1/secret00`, `app1/secret01`, etc.)
  18. regexp: "^app1\/.+$"
  19. tags:
  20. # Only fetch Conjur secrets with the following annotations
  21. environment: "prod"
  22. application: "app1"