Closed valentinvieriu closed 8 months ago
I am ok with the policy based rules, but without hard dependency to Datree project (as it seems to be not actively maintained)
Thank you for the confirmation. By silent agreement, this decision record is approved.
Decision log
Decision Record: Policy-based Rules Integration for Kyma Cluster Scanning and Guidance
Decision Log
Context
Kyma Dashboard currently has an unreleased feature, Scan My Cluster, that uses Policy-based rules imported from Datree and custom rules to scan the Kyma cluster and provide guidance on which Kubernetes resources are not following the selected rules. This feature allows for dynamic deployment of rules along with any Kyma module, enabling users to customize the scanning and guidance process based on their specific requirements.
The choice of Datree's solution was motivated by their extensive range of open-source built-in policies and the ease with which JSON Schema can be consumed on the frontend, aligning with the declarative language of Kubernetes resources.
The purpose of this decision is to determine whether to finish the implementation of this feature for Kyma Dashboard and plan to use the same mechanics for the upcoming Kyma Companion AI feature.
Decision
The decision is to proceed with the implementation of the Policy-based Rules Integration for Scan My Cluster feature for Kyma Dashboard and plan to use the same mechanics for the Kyma Companion AI feature. This decision involves:
The integration aims to provide users with actionable feedback on resource configurations that do not align with selected rules, thereby facilitating compliance with best practices and organizational standards.
Consequences
Advantages:
Disadvantages: