smallstep / helm-charts

Helm packages for Kubernetes
Apache License 2.0
49 stars 73 forks source link

Adding provisioners (or making other configuration changes) #80

Closed iamwillbar closed 2 years ago

iamwillbar commented 2 years ago

It is unclear from the documentation what the preferred way to make post-deployment configuration changes to the CA is. When using the "inject" method it appears that editing the values and "upgrading" the Helm chart doesn't result in the updated configuration being applied.

Investigating it seems that:

  1. The config map does get updated.
  2. The files from the config maps are updated in the pod.
  3. The step-ca has not reloaded the updated files.

Deleting the pod to force it to restart picks up the new configuration. Ideally, editing the Helm values and upgrading the chart would result in the updated configuration being "live".

iamwillbar commented 2 years ago

This Helm documentation suggests how this could be baked into the template itself: https://helm.sh/docs/howto/charts_tips_and_tricks/#automatically-roll-deployments

maraino commented 2 years ago

Fixed by #81