vsphere-tmm / helm-charts

A repository of unofficial helm charts for vSphere components
https://vsphere-tmm.github.io/helm-charts/
21 stars 27 forks source link

Add helm-hook annotations in order to ensure that the certs will only be generated on chart install #37

Open thectrltab opened 2 years ago

thectrltab commented 2 years ago

Add helm-hook annotations in order to ensure that the certs will only be generated on chart install:

annotations:
    "helm.sh/hook": "pre-install"

Helm docs reference: https://helm.sh/docs/topics/charts_hooks/#the-available-hooks

ErikLundJensen commented 2 years ago

Could this is done by adding validdationWebhook.annotations to values instead of hardcoding the helm hook annotation?

thectrltab commented 2 years ago

Yes of course, I think is a better solution to use the values to solve this.