datreeio / admission-webhook-datree

Datree offers cluster integration that allows you to validate your resources against your configured policy upon pushing them into a cluster, by using an admission webhook.
https://datree.io/
Apache License 2.0
24 stars 10 forks source link

Conceal secrets on the helm chart #273

Closed atropos112 closed 1 year ago

atropos112 commented 1 year ago

Hello there,

I am running my cluster using argocd with a git repo as ground source of truth. Naturally I wanted admission webhook datree to be present in that repository.

I couldn't find a way (without editing helm chart) to provide token via secret rather than directly in the values override file. Since the token is confidential I would like to avoid having it out in the open in the git repository.

Is there currently a way of doing this? That is can I provide "secret" that has a token instead of providing it directly in the values override?

atropos112 commented 1 year ago

I had some more ideas along with this one created an pull request here https://github.com/datreeio/admission-webhook-datree/pull/274

myishay commented 1 year ago

Resolved by #274