cert-manager
Hard
Troubleshooting
You upgrade cert-manager from 1.20 to 1.21 with a values file that still sets prometheus.servicemonitor.targetPort. What happens?
Select your answer:
Show answer and explanation
Answer: Helm rejects the values with a schema validation error
Explanation
cert-manager 1.21 removed prometheus.servicemonitor.targetPort, prometheus.servicemonitor.path and prometheus.podmonitor.path, and renamed the controller Service metrics port to http-metrics. The chart's values schema uses additionalProperties: false, so any of the removed keys makes the upgrade fail validation until you delete them.
More hard cert-manager questions
- Which of the following is a valid way to revoke a certificate in cert-manager?
- Which of the following is a valid way to configure a Vault issuer?
- What is the purpose of the 'keystores' field in a Certificate resource?
- What is the purpose of the 'encodeUsagesInRequest' field in a Certificate resource?
- Which of the following is a valid way to debug a failing HTTP-01 challenge?
- Which of the following is a valid way to configure a DNS-01 challenge for a Route53 provider?