Skip to content

saritasa-nest/saritasa-devops-helm-charts

Repository files navigation

Saritasa helm charts

❯ helm repo add saritasa https://saritasa-nest.github.io/saritasa-devops-helm-charts/

❯ helm search repo saritasa
NAME                              	CHART VERSION	APP VERSION	DESCRIPTION
saritasa/saritasa-rbac            	0.1.9        	           	A Helm chart for Kubernetes implementing RBAC r...
saritasa/saritasa-tekton          	0.1.7        	v0.28.2    	A Helm chart for Tekton.  Implements: - tekton ...
saritasa/saritasa-tekton-apps     	0.1.20       	v0.28.2    	A Helm chart for tekton apps (rbac, eventlisten...
saritasa/saritasa-tekton-pipelines	0.1.26       	           	A Helm chart for Tekton Pipelines  Implements: ...
saritasa/demo                     	0.0.5        	1.16.0     	A Helm chart for Kubernetes
saritasa/jitsi-meet               	1.2.2        	stable-6865	A Helm chart for Kubernetes
saritasa/opsgenie-heartbeat       	0.0.2        	           	Chart that installs our solution to send heartb...

Available helm charts

saritasa-rbac

Chart providers rbac rules inside Kubernetes clusters

saritasa-tekton

Chart provides tekton engine including:

  • dashboard
  • tektone engine itself
  • tekton triggers
  • tekton interceptors

saritasa-tekton-apps

Chart provides tekton apps to configure tekton eventlistener

saritasa-tekton-pipelines

Chart providers various pipelines for tekton

demo

For experiments - use anyway you want

jitsi-meet

Chart providers WebRTC chat used in VP

opsgenie-heartbeat

Chart providers opsgenie heartbeat for health notifications

Development

Required tools

go

You will need to have go 1.18x installed on your local PC.

go version go1.18.4 linux/amd64

helm-docs

This is needed to generate helm docs automatically

GO111MODULE=on go get github.com/norwoodj/helm-docs/cmd/helm-docs

Your values.yaml file should contain the documentation prefixed with -- in order for helm-docs to generate the documentation based on comments

# -- storage class for PVCs associated with the apps
storageClassName: gp2

# -- node selector for event listener pod
nodeSelector: ""
#  ops: 'true'

pre-commit

This is needed to check/autofix for various errors in HELM charts (git precommit hooks)

git clone [email protected]:saritasa-nest/saritasa-devops-helm-charts.git
cd saritasa-devops-helm-charts
pip install pre-commit
pre-commit install

ci/cd

  • is implemented using github actions (see implementation in .github/workflows/release.yml)
  • commit into feature/ or fix/ prefixed branches in order for github actions to compile and release new version of the chart. See this
  • make sure Chart.yaml has minor version bumped, each time you want to release a new version

After successfult build (see Actions) please make sure to update local helm saritasa repository and see that the desired chart got updated (new chart version released.)

If you want to see the result of the build (packaged HELM chart) you can do:

helm pull --version 0.0.4 --repo https://saritasa-nest.github.io/saritasa-devops-helm-charts/ demo

remove the release

If you made a release by accident and want to remove it you will need to:

  • remove remote tag, for example: git tag -d demo-0.0.3 && git push origin :refs/tags/demo-0.0.3
  • optionally remove fix or feature branch if you decided to cancel the change completely

lint the release

install the following tools:

ct lint --chart-yaml-schema .ct/chart_schema.yaml --lint-conf .ct/lintconf.yaml --all