Skip to content

Commit

Permalink
Machine ID: tbot helm chart (#44615)
Browse files Browse the repository at this point in the history
* Start roughly hacking on a chart for tobt

* Start templating out the deployment spec

* Add image pull secrets

* Add more configurability to deployment spec

* Pull most config into params rather than config map

* Prefer configuring using config file

* Add to index

* Allow configuration of extraEnv

* Fix extraEnv

* Update makefile to test/lint new tbot chart

* Start adding tests for `tbot` chart

* Fix spurious newline in config mpa

* Add more tests for volumes/tolerations etc

* Appease vale linting

* Add docstrings to all values

* Add required values

* Make services/outputs manually configurable

* Use simpler storage technique

* Generate docs

* Fix linting issues

* Simple -> Basic

* Add support for fullnameoverride and nameoverride

* Add extended timeout seconds to liveness and readiness probe

* Add _config.tpl with merging

* Tweak readme for latest changes

* Allow persistence to be configured and use `secret` by default

* Further add validation

* Update snapshtos

* Fix newlining in templates

* Fixes after real testing against cluster

* More value docs + derive the default output name

* fixup! More value docs + derive the default output name

* Update cpsell

* Update Chart.yaml

* Appease prose linter

* Remove unused value

---------

Co-authored-by: hugoShaka <[email protected]>
  • Loading branch information
strideynet and hugoShaka committed Sep 9, 2024
1 parent 1cf3251 commit f9b74dc
Show file tree
Hide file tree
Showing 27 changed files with 1,658 additions and 4 deletions.
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,7 @@ test-helm: helmunit/installed
helm unittest -3 examples/chart/teleport-cluster/charts/teleport-operator
helm unittest -3 examples/chart/access/*
helm unittest -3 examples/chart/event-handler
helm unittest -3 examples/chart/tbot

.PHONY: test-helm-update-snapshots
test-helm-update-snapshots: helmunit/installed
Expand All @@ -755,6 +756,7 @@ test-helm-update-snapshots: helmunit/installed
helm unittest -3 -u examples/chart/teleport-cluster/charts/teleport-operator
helm unittest -3 -u examples/chart/access/*
helm unittest -3 -u examples/chart/event-handler
helm unittest -3 -u examples/chart/tbot

#
# Runs all Go tests except integration, called by CI/CD.
Expand Down Expand Up @@ -1139,7 +1141,7 @@ lint-helm:
if [ "$${CI}" = "true" ]; then echo "This is a failure when running in CI." && exit 1; fi; \
exit 0; \
fi; \
for CHART in ./examples/chart/teleport-cluster ./examples/chart/teleport-kube-agent ./examples/chart/teleport-cluster/charts/teleport-operator; do \
for CHART in ./examples/chart/teleport-cluster ./examples/chart/teleport-kube-agent ./examples/chart/teleport-cluster/charts/teleport-operator ./examples/chart/tbot; do \
if [ -d $${CHART}/.lint ]; then \
for VALUES in $${CHART}/.lint/*.yaml; do \
export HELM_TEMP=$$(mktemp); \
Expand Down
1 change: 1 addition & 0 deletions docs/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,7 @@
"ftmg",
"fullchain",
"fprint",
"fullname",
"gacc",
"gcloud",
"gcpproj",
Expand Down
Loading

0 comments on commit f9b74dc

Please sign in to comment.