Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 1.88 KB

README.md

File metadata and controls

53 lines (35 loc) · 1.88 KB

Charts

OpenSSF Scorecard

A collection of Helm charts

helm repo add miracum https://miracum.github.io/charts
helm repo update

Note

Also available as OCI artifacts: https://github.com/orgs/miracum/packages?repo_name=charts.

Development

  1. (Optional) Setup a KinD cluster with Nginx ingress support

    kind create cluster --config=hack/kind-config.yaml
    kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/master/deploy/static/provider/kind/deploy.yaml
  2. Make changes to the charts

  3. Mount the folder in the kube-powertools container to easily run linters and checks

    docker run --rm -it -v $PWD:/root/workspace ghcr.io/chgl/kube-powertools:v2.3.36@sha256:1424a809e85eda3a6d7afb2386bdc3b9ac03b2b5244924a7be4851b15a2eca4f
  4. Run chart-testing and the chart-powerlint.sh script to lint the chart

    ct lint --config .github/ct/ct.yaml && chart-powerlint.sh
  5. (Optional) View the results of the polaris audit check in your browser

    $ docker run --rm -it -p 9090:8080 -v $PWD:/root/workspace ghcr.io/chgl/kube-powertools:v2.3.36@sha256:1424a809e85eda3a6d7afb2386bdc3b9ac03b2b5244924a7be4851b15a2eca4f
    bash-5.0: helm template charts/fhir-gateway/ | polaris dashboard --config .polaris.yaml --audit-path -

    You can now open your browser at http://localhost:9090 and see the results and recommendations.

  6. Run generate-docs.sh to auto-generate an updated README

    generate-docs.sh
  7. Bump the version in the changed Chart.yaml according to SemVer (The ct lint step above will complain if you forget to update the version.)