Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add user-defined compliance messages #280

Commits on Aug 1, 2024

  1. Add user-defined compliance messages

    Policy authors can now define go templates to be used for compliance
    messages, with .DefaultMessage and .Policy fields available for getting
    useful information. If an error occurs with the template, those details
    will be appended to the default message. See the CRD description for
    more details.
    
    This also updates the default compliance message function to use a
    template, which provides an example of what is possible. The new tests
    also provide examples.
    
    Refs:
     - https://issues.redhat.com/browse/ACM-12423
    
    Signed-off-by: Justin Kulikauskas <[email protected]>
    JustinKuli committed Aug 1, 2024
    Configuration menu
    Copy the full SHA
    089c603 View commit details
    Browse the repository at this point in the history