mirror of
https://github.com/kemko/nomad.git
synced 2026-01-01 16:05:42 +03:00
ignore KEK wrapper struct for codegen (#18973)
Our codec code generation doesn't honor `json:"..."` tags which, if we were to ever implement `json.Marshaller` for the `KeyEncryptionKeyWrapper` struct, would break the on-disk format of all the existing KEKs. As a precaution, add this struct to the code generator's ignore list (just like we have done with `IdentityClaims`).
This commit is contained in:
@@ -11,5 +11,5 @@ codecgen \
|
||||
-d 100 \
|
||||
-t codegen_generated \
|
||||
-o structs.generated.go \
|
||||
-nr="(^ACLCache$)|(^IdentityClaims$)|(^OIDCDiscoveryConfig$)" \
|
||||
-nr="(^ACLCache$)|(^IdentityClaims$)|(^OIDCDiscoveryConfig$)|(^KeyEncryptionKeyWrapper$)" \
|
||||
${FILES}
|
||||
|
||||
Reference in New Issue
Block a user