Last active
October 19, 2023 11:14
-
-
Save k4kratik/1df82010dd5f7263608b03adaecd5069 to your computer and use it in GitHub Desktop.
ExternalSecret maniefest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: external-secrets.io/v1beta1 | |
kind: ExternalSecret | |
metadata: | |
name: sample-external-secrets | |
namespace: vault-operator | |
spec: | |
refreshInterval: 15s | |
secretStoreRef: | |
name: vault-secret-store # name of the secret store | |
kind: ClusterSecretStore | |
target: | |
name: sample-k8s-secret-created-by-external-secrets # Name of K8s secret object | |
creationPolicy: Orphan | |
dataFrom: | |
- extract: | |
key: secret/sample-application-secrets # Path in Vault and name of the secret |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment