external-secrets
external-secrets copied to clipboard
Hardcode a value a data field, usefull for simple templates that can be patched by Flux
Is your feature request related to a problem? Please describe.
I want to override part of a secret with values from Flux substitutes, imagine this secret:
apiVersion: external-secrets.io/v1beta1
kind: ExternalSecret
metadata:
name: database
namespace: default
spec:
refreshInterval: 1h
secretStoreRef:
kind: ClusterSecretStore
name: azure-store
data:
- secretKey: password
remoteRef:
key:db_password
- secretKey: username
remoteRef:
key: db_username
- secretKey: password
remoteRef:
key: db_password
- secretKey: dbname
value: "will be patched by flux"
- secretKey: dbhost
value: "will be patched by flux"
Describe the solution you'd like I want to specify a secret value in the data section
Describe alternatives you've considered Create a template (hard to target by kustomize patch), add (in this example) dbname/dbhost to key vault