You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is no validation webhook for Tratteria Configuration Resources. Incorrect configurations are only detected at runtime.
Desired Behavior
Implement a validation webhook that performs thorough checks on Tratteria CRDs, particularly TraTs, before they are persisted in the cluster. This will catch configuration errors early in the deployment process.
Proposed Validations (non-exhaustive)
For TraTs and other Tratteria CRDs, implement validations including but not limited to:
Variable referencing:
Validate correct referencing of user-introduced variables.
Verify proper usage of standard variables (e.g., body, headers).
adzMapping validation:
Implement stricter validation for the adzMapping field, which currently accepts any input in the CRD definition.
HTTP method names:
Ensure that only valid HTTP method names (GET, POST, PUT, DELETE, etc.) are used.
Discussion Points
Are there any other important validations we should include?
The text was updated successfully, but these errors were encountered:
Current Behavior
Currently, there is no validation webhook for Tratteria Configuration Resources. Incorrect configurations are only detected at runtime.
Desired Behavior
Implement a validation webhook that performs thorough checks on Tratteria CRDs, particularly TraTs, before they are persisted in the cluster. This will catch configuration errors early in the deployment process.
Proposed Validations (non-exhaustive)
For TraTs and other Tratteria CRDs, implement validations including but not limited to:
Discussion Points
The text was updated successfully, but these errors were encountered: