| 1234567891011121314151617181920 |
- apiVersion: external-secrets.io/v1alpha1
- kind: PushSecret
- metadata:
- name: ngrok-push-secret-example
- spec:
- deletionPolicy: Delete
- refreshInterval: 10m # Refresh interval for which push secret will reconcile
- secretStoreRefs: # A list of secret stores to push secrets to
- - name: ngrok # Must match SecretStore on the cluster
- kind: SecretStore
- selector:
- secret:
- name: SECRET_NAME # Source Kubernetes secret to be pushed
- data:
- - match:
- # The key in the Kubernetes secret to push. Leave empty to push all keys, JSON encoded.
- # secretKey: ""
- secretKey: MY_K8S_SECRET_KEY
- remoteRef:
- remoteKey: MY_NGROK_SECRET_NAME # The name of the secret in the ngrok vault
|