apiVersion: external-secrets.io/v1alpha1 kind: PushSecret metadata: name: ngrok-push-secret-example spec: deletionPolicy: Delete refreshInterval: 10m0s # 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 metadata: apiVersion: kubernetes.external-secrets.io/v1alpha1 kind: PushSecretMetadata spec: # See https://ngrok.com/docs/api/resources/secrets/#parameters # We currently support customizing the description and metadata for the secret. description: "This is a secret for the API credentials" # Metadata for the secret in the ngrok vault. This will be merged with auto-generated metadata. metadata: environment: production team: devops