iits-consulting / common-kubernetes-policies-chart

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated

We switched over to here: https://github.com/iits-consulting/charts/tree/main/charts/iits-kyverno-policies

Common Kubernetes Policies

This chart contains useful policies for you kubernetes cluster.

  • Verify all images are signed with cosign
  • Verify all images come from allowed image repositories

Installation

export CHART_NAME=common-kubernetes-policies
export CHART_REPO_NAME=common-kubernetes-policies
helm repo add $CHART_REPO_NAME https://iits-consulting.github.io/$CHART_REPO_NAME/
helm search repo $CHART_NAME
helm install $CHART_NAME $CHART_REPO_NAME/$CHART_NAME

Running tests

To quickly check if it works as intended run the tests. This requires the kyverno binary.

kyverno test test

Acceptance criteria

Any helm chart provided by iits-consulting needs to adhere to the following acceptance criteria:

  • The README.md has to contain a description about the chart
  • Enable custom annotations in values.yaml (does not apply)
  • Define common labels for better separation of concerns
  • Whenever possible, sensitive information should be injected by something like a mutating webhook rather than be part of your chart
  • Use subcharts to manage dependencies whenever possible
  • Document every values.yaml variable that is meant to be adjusted
  • Specify a license
  • Provide a default .helmignore
  • Have a NOTES.txt that provides information about the deployment

About

License:MIT License