helm-charts icon indicating copy to clipboard operation
helm-charts copied to clipboard

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

Open dpaardenkooper opened this issue 3 years ago • 2 comments

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

dpaardenkooper avatar Jul 19 '21 10:07 dpaardenkooper

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

flokli avatar Feb 23 '23 10:02 flokli

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.

hslatman avatar Feb 23 '23 11:02 hslatman