Cert-manager: HELM: cainjector.enabled=false does not disable cainjector deployment for chart

Created on 17 Feb 2020  路  1Comment  路  Source: jetstack/cert-manager

Describe the bug:
When installing cert-manager via the helm chart, as of version 0.12.0, setting the cainjector.enabled flag to false no longer disables the deployment of the cainjector.

Expected behaviour:
Setting the cainjector.enabled flag to false should disable the deployment

Steps to reproduce the bug:

kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.12/deploy/manifests/00-crds.yaml

helm install --name cert-manager --namespace cert-manager jetstack/cert-manager --set cainjector.enabled=false --version 0.12.0

or

kubectl apply --validate=false -f https://raw.githubusercontent.com/jetstack/cert-manager/release-0.13/deploy/manifests/00-crds.yaml

helm install --name cert-manager --namespace cert-manager jetstack/cert-manager --set cainjector.enabled=false --version 0.13.0

Anything else we need to know?:
Tested working with cert-manager version 0.11.0 and 0.11.1, no longer works with 0.12.0+
Issue most likely stems from this commit: https://github.com/jetstack/cert-manager/commit/3f2e9dd37f38471df1ba06d1d1e151232a3ba935

Environment details::

  • Kubernetes version: 1.14.8-gke.33
  • Cloud-provider/provisioner: GKE
  • cert-manager version: 0.12.0+
  • Install method: helm
  • Helm version - Client: v2.13.1
  • Helm version - Server: v2.13.1

/kind bug

kinbug

Most helpful comment

This is fixed by #2552, which will be in v0.13.1 & released today!

>All comments

This is fixed by #2552, which will be in v0.13.1 & released today!

Was this page helpful?
0 / 5 - 0 ratings