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 kubectl error code to error messages #167

Closed
sylr opened this issue Nov 9, 2020 · 0 comments · Fixed by #205
Closed

Add kubectl error code to error messages #167

sylr opened this issue Nov 9, 2020 · 0 comments · Fixed by #205
Labels
good first issue Good for newcomers

Comments

@sylr
Copy link

sylr commented Nov 9, 2020

It happens that the controller logs an error with an empty message,e.g.:

{"level":"error","ts":"2020-11-09T13:55:26.336Z","logger":"controller","msg":"Reconciler error","reconcilerGroup":"kustomize.toolkit.fluxcd.io","reconcilerKind":"Kustomization","controller":"kustomization","name":"aks20-euw-infra-main-m
onitoring","namespace":"flux","error":"apply failed: "}

In that case the error message should mention that kubectl did not write anything on stderr and print the error code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants