diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ebe3b7eb..28f8a0aa 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -31,9 +31,10 @@ repos: name: "Kubeconform Helm - min k8s version" files: ^charts/[^/]+/(\.kubeconform|\.helmignore|templates/NOTES.txt|.*\.(ya?ml|json|tpl))$ args: - - --kubernetes-version=1.21.0 - - --exclude-charts=alfresco-common,alfresco-sync-service + - --kubernetes-version=1.25.0 + - --exclude-charts=alfresco-common - --values-dir=ci + - --strict - repo: https://github.com/jtyr/kubeconform-helm rev: v0.1.16 hooks: @@ -41,8 +42,9 @@ repos: name: "Kubeconform Helm - current k8s version" files: ^charts/[^/]+/(\.kubeconform|\.helmignore|templates/NOTES.txt|.*\.(ya?ml|json|tpl))$ args: - - --exclude-charts=alfresco-common,alfresco-sync-service + - --exclude-charts=alfresco-common - --values-dir=ci + - --strict - repo: local hooks: - id: custom-check-chart-versions diff --git a/docs/README.md b/docs/README.md index 291231b0..8313fa20 100644 --- a/docs/README.md +++ b/docs/README.md @@ -18,6 +18,19 @@ Each individual chart has its own documentation page that's available in the chart directory in [charts/](../charts). There are the values available for each of them. +## Testing + +Each chart is tested against a default configuration on +[KinD](https://kind.sigs.k8s.io/). You can check the currently tested K8s version +by looking at the `KIND_NODE_IMAGE` value in the main [lint-test +workflow](../.github/workflows/lint-test.yaml). + +We are ensuring backward compatibility with older K8s versions with +[kubeconform](https://github.com/yannh/kubeconform). You can check the oldest + K8s version tested by looking at `kubernetes-version` inside the + `kubeconform-helm-min` hook in [pre-commit + configuration](../.pre-commit-config.yaml). + ## Development This repository follows the