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

[Operational Awareness] Verify KIM configuration detect invalid / incomplete configuration-parameters #520

Open
4 tasks
tobiscr opened this issue Nov 21, 2024 · 0 comments
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.

Comments

@tobiscr
Copy link
Contributor

tobiscr commented Nov 21, 2024

Description

The provided configuration of KIM should be validated before it get's applied. This can happen either when the configuration gets applied (e.g. in ArgoCD etc.) or by KIm itself by running sanity checks for each parameter during the bootstrapping phase.

Goals is to identify these configuration parameters which can be verified in a meaningful way (e.g. check credentials for Gardener by accessing it or run sanity checks to detect invalid resource requests etc.) to avoid that accidentally a wrong KIM configuration gets applied.

AC:

  • Review parameters passed to KIM and define, for those where it's possible and meaningful, validation rules to identify invalid or wrongly set parameters
  • Implement validation rules in KIM and sure they will be applied during the bootstrapping.
    • It has to be possible to turn off the parameter validation by setting an configuration parameter or env-variable
    • If an invalid parameter it detect, it has to be logged and posted on STDERR channel. The KIM process has to stop and exit.

Reasons

Attachments

@tobiscr tobiscr added kind/feature Categorizes issue or PR as related to a new feature. area/control-plane Related to all activities around Kyma Control Plane labels Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/control-plane Related to all activities around Kyma Control Plane kind/feature Categorizes issue or PR as related to a new feature.
Projects
None yet
Development

No branches or pull requests

1 participant