device42-external-secret.yaml 368 B

12345678910111213141516
  1. apiVersion: external-secrets.io/v1
  2. kind: ExternalSecret
  3. metadata:
  4. name: device42-find-by-id
  5. spec:
  6. refreshInterval: 1h
  7. secretStoreRef:
  8. # This name must match the metadata.name in the `SecretStore`
  9. name: device42
  10. kind: SecretStore
  11. target:
  12. name: k8s-secret-to-be-created
  13. data:
  14. - secretKey: K8S_PASSWORD
  15. remoteRef:
  16. key: "12345"