-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Certificate not re-issued after keystore format change #5397
Copy link
Copy link
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.
Description
Describe the bug:
When changing an existing Certificate request to issue a pkcs12 keystore instead of jks, cert-manager does not issue a new certificate. In other words, the secret still contains just keystore.jks.
Expected behaviour:
cert-manager should issue a new certificate when the keystore section in the Certificate CRD changes.
Steps to reproduce the bug:
Create a Certificate that includes something like
spec:
keystores:
jks:
create: true
passwordSecretRef:
key: secret
name: foobarand change it to
spec:
keystores:
pkcs12:
create: true
passwordSecretRef:
key: secret
name: foobarAnything else we need to know?:
N/A
Environment details::
- Kubernetes version: v1.23.9
- Cloud-provider/provisioner:
kubeadm - cert-manager version: v1.9.1
- Install method: Helm
/kind bug
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.lifecycle/staleDenotes an issue or PR has remained open with no activity and has become stale.Denotes an issue or PR has remained open with no activity and has become stale.