Open EliSauder opened 2 months ago
The default values for simulator.enabled and simulator.exampleCertificate.enabled don't match. This can result in a state where you have disabled the simulator but still create the certificate.
https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/values.yaml#L142
https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/values.yaml#L263
Recommendation: Add additional configuration to the example certificate to check both variables https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/templates/simulator-example-certificate.yaml#L1 Change to:
{{- if and .Values.simulator.enabled .Values.simulator.exampleCertificate.enabled }}
Thats correct. It will be added on the next versions.
The default values for simulator.enabled and simulator.exampleCertificate.enabled don't match. This can result in a state where you have disabled the simulator but still create the certificate.
https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/values.yaml#L142
https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/values.yaml#L263
Recommendation: Add additional configuration to the example certificate to check both variables https://github.com/djkormo/adcs-issuer/blob/96f3605d8a310dc6324c78539f809ba866ed3f3e/charts/adcs-issuer/templates/simulator-example-certificate.yaml#L1 Change to: