Ignore eab.KeyAlgorithm deprecation warning

Signed-off-by: Richard Wall <richard.wall@venafi.com>
This commit is contained in:
Richard Wall 2024-01-04 15:36:59 +00:00
parent a16add6019
commit 76fe8e2bbd

View File

@ -136,6 +136,7 @@ func ValidateACMEIssuerConfig(iss *cmacme.ACMEIssuer, fldPath *field.Path) (fiel
el = append(el, ValidateSecretKeySelector(&eab.Key, eabFldPath.Child("keySecretRef"))...)
// nolint:staticcheck // SA1019 accessing the deprecated eab.KeyAlgorithm field is intentional here.
if len(eab.KeyAlgorithm) != 0 {
warnings = append(warnings, deprecatedACMEEABKeyAlgorithmField)
}