smallstep / helm-charts

Helm packages for Kubernetes
Apache License 2.0
45 stars 71 forks source link

ca.bootstrap.postInitHook - adding "step ca provisioner add acme --type ACME" #60

Open dpaardenkooper opened 3 years ago

dpaardenkooper commented 3 years ago

Hi guys,

I want to add this step in the helm chart: "step ca provisioner add acme --type ACME". Is it simply adding at the field: postInitHook: "step ca provisioner add acme --type ACME"?

Ater deployment I see contents that the ACME protocol is added but with not many info, other then: "type": "ACME" "name": "acme-smallstep"

Is this correct? It seems that there is some info missing. https://github.com/smallstep/certificates/blob/master/docs/provisioners.md

Kind regards, Dinant

used links: https://github.com/smallstep/helm-charts/blob/6b756783d942cf1e49381bb0250fd506601ed390/step-certificates/templates/configmaps.yaml#L115-L117 https://github.com/smallstep/helm-charts/issues/29 https://github.com/smallstep/helm-charts/issues/22

flokli commented 1 year ago

This does work for me - please check step ca provisioner add --help output on the other fields you might want to / need to set.

hslatman commented 1 year ago

Hey @dpaardenkooper, this issue wasn't top of mind anymore, but just saw it again after @flokli sent a response. With https://github.com/smallstep/certificates/pull/1075 support was added to enable ACME (with creation of a default ACME provisioner) using the Helm values.yml file. It might be useful to you.