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

feat: Enable config to log diff on objects when updating #583

Merged
merged 2 commits into from
Sep 9, 2021

Commits on Sep 7, 2021

  1. Enable config to log diff on objects when updating

    Use the experimental features flag to enable additional logging when
    updating objects on the cluster. If experimental features are enabled
    and a spec object is found to be different from the cluster one, log a
    diff between the two. This can potentially be useful for diagnosing
    reconcile loops.
    
    Due to json-structured logging, the formatted message is escaped into a
    string, and so must be parsed for reading (e.g. by piping through sed:
    
        make run 2>&1 | sed -e 's|\\n|\n|g; s|\\t|    |g'
    
    for quick checking, the .msg can be copy-pasted as the argument the
    printf to interpret \t and \n
    
    Signed-off-by: Angel Misevski <amisevsk@redhat.com>
    amisevsk committed Sep 7, 2021
    Configuration menu
    Copy the full SHA
    2c976dd View commit details
    Browse the repository at this point in the history

Commits on Sep 8, 2021

  1. Log related object name when updating services/routes/ingresses

    Signed-off-by: Angel Misevski <amisevsk@redhat.com>
    amisevsk committed Sep 8, 2021
    Configuration menu
    Copy the full SHA
    a6c4e32 View commit details
    Browse the repository at this point in the history