external-secrets / kes-to-eso

tool to help migrating from kes to eso
Apache License 2.0
30 stars 12 forks source link

Translate isBinary attribute #13

Open ns-it-safadi opened 2 months ago

ns-it-safadi commented 2 months ago

I want to ask, if its possible to serve isBinary attribute from KES to ESO

apiVersion: kubernetes-client.io/v1 kind: ExternalSecret metadata: name: test-external-secret-certs namespace: msafadi-test spec: backendType: secretsManager data:

to be translated into ESO as below:

apiVersion: external-secrets.io/v1beta1 kind: ExternalSecret metadata: name: external-secret-certs-kafka namespace: msafadi-test spec: refreshInterval: 1m secretStoreRef: name: clustersecret kind: ClusterSecretStore target: name: secret-certs-kafka creationPolicy: Owner data:

Here we need to add decodingStrategy: Auto to those externalsecrets in KES which has isBinary=ture