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

No operator action required for CRDsWithProblematicConversionWebhooks #2108

Open
acumino opened this issue Sep 23, 2024 · 4 comments
Open

No operator action required for CRDsWithProblematicConversionWebhooks #2108

acumino opened this issue Sep 23, 2024 · 4 comments
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension

Comments

@acumino
Copy link
Member

acumino commented Sep 23, 2024

What would you like to be added:
Currently, clusters with CRDsWithProblematicConversionWebhooks condition true are not marked for no operator action required. If this condition is present on the cluster it should be marked for no operator action required.

Why is this needed:
This issue occurs when a user has CRDs which doesn't follow best practices, operator can't do anything to fix it. To keep dashboard clean we should mark CRDsWithProblematicConversionWebhooks condition true as no operator action required.

@acumino acumino added component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension labels Sep 23, 2024
@petersutter
Copy link
Member

Currently, the dashboard checks the error codes under status.lastErrors, where there is also ERR_PROBLEMATIC_WEBHOOK, which we flag as a user error. What lastError is present when the CRDsWithProblematicConversionWebhooks condition is true?

@petersutter
Copy link
Member

ping @acumino

@acumino
Copy link
Member Author

acumino commented Nov 14, 2024

CRDsWithProblematicConversionWebhooks is just a constraint in shoot status and not an error. It should not be considered for no operator action required since it can lead to other errors being ignored.

  constraints:
    - type: CRDsWithProblematicConversionWebhooks
      status: 'False'
      lastTransitionTime: ''
      lastUpdateTime: ''
      reason: CRDsWithProblematicConversionWebhooks
      message: >-
        Some CRDs in your cluster have multiple stored versions present and have
        a conversion webhook configured: <webhook-name>. Please see
        https://github.com/gardener/gardener/blob/master/docs/usage/shoot/shoot_status.md#constraints
        for more details.

@acumino
Copy link
Member Author

acumino commented Nov 14, 2024

As of now, when sorting the clusters in the dashboard based on the Issue since, this constraint is also considered. It would be better if this is not considered as this gives the impression that the cluster has an issue for a very long time, even if the actual error is a transient error of few seconds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/dashboard Gardener Dashboard kind/enhancement Enhancement, improvement, extension
Projects
None yet
Development

No branches or pull requests

2 participants