registry-operator / adr

Collection of Architectural Decision Records (ADRs)
The Unlicense
0 stars 2 forks source link

[helm-charts]: testing and validating Helm Charts #13

Open shanduur opened 3 months ago

shanduur commented 3 months ago

Context and Problem Statement

Helm is often described as the PHP of the Kubernetes world. It relies heavily on templating, making Helm charts challenging to read and maintain, especially as they grow in complexity. Additionally, Helm does not fully leverage the features of the underlying YAML, leading to suboptimal configurations and potential compatibility issues.

Despite its popularity, maintaining Helm charts can be a daunting task. A significant portion of pull requests (PRs) to helm-charts repositories are dedicated to bug fixes, highlighting the prevalence of issues and the need for robust testing and validation processes.

Ensuring the correctness and reliability of Helm charts is crucial for maintaining the stability of Kubernetes deployments. Hence, there is a pressing need to implement effective testing and validation tools to address these challenges and streamline the Helm chart development process.

Considered Options

malgorzatadutka commented 2 months ago

KubeLinter helps identify security vulnerabilities and misconfigurations in Kubernetes manifests - I think it is quite good approach. Moreover it can be configured for automated checks of Kubernetes configurations as part of the deployment process (Github Actions).