Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translate isBinary attribute #13

Open
ns-it-safadi opened this issue Aug 7, 2024 · 0 comments
Open

Translate isBinary attribute #13

ns-it-safadi opened this issue Aug 7, 2024 · 0 comments

Comments

@ns-it-safadi
Copy link

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:

  • isBinary: true
    key: files/logs
    name: filename.txt
    property: file.txt

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:

  • secretKey: filename
    remoteRef:
    key: files/logs
    property: file.txt
    decodingStrategy: Auto

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant