Skip to content

Commit 3c38b4a

Browse files
Machine ID: tbot helm chart (gravitational#44615)
* 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]>
1 parent 4464ef9 commit 3c38b4a

27 files changed

+1658
-3
lines changed

Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,6 +863,7 @@ test-helm: helmunit/installed
863863
helm unittest -3 examples/chart/teleport-cluster/charts/teleport-operator
864864
helm unittest -3 examples/chart/access/*
865865
helm unittest -3 examples/chart/event-handler
866+
helm unittest -3 examples/chart/tbot
866867

867868
.PHONY: test-helm-update-snapshots
868869
test-helm-update-snapshots: helmunit/installed
@@ -871,6 +872,7 @@ test-helm-update-snapshots: helmunit/installed
871872
helm unittest -3 -u examples/chart/teleport-cluster/charts/teleport-operator
872873
helm unittest -3 -u examples/chart/access/*
873874
helm unittest -3 -u examples/chart/event-handler
875+
helm unittest -3 -u examples/chart/tbot
874876

875877
#
876878
# Runs all Go tests except integration, called by CI/CD.
@@ -1265,7 +1267,7 @@ lint-helm:
12651267
if [ "$${CI}" = "true" ]; then echo "This is a failure when running in CI." && exit 1; fi; \
12661268
exit 0; \
12671269
fi; \
1268-
for CHART in ./examples/chart/teleport-cluster ./examples/chart/teleport-kube-agent ./examples/chart/teleport-cluster/charts/teleport-operator; do \
1270+
for CHART in ./examples/chart/teleport-cluster ./examples/chart/teleport-kube-agent ./examples/chart/teleport-cluster/charts/teleport-operator ./examples/chart/tbot; do \
12691271
if [ -d $${CHART}/.lint ]; then \
12701272
for VALUES in $${CHART}/.lint/*.yaml; do \
12711273
export HELM_TEMP=$$(mktemp); \

docs/cspell.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@
489489
"fprint",
490490
"ftmg",
491491
"fullchain",
492+
"fullname",
492493
"gacc",
493494
"gcloud",
494495
"gcpproj",

0 commit comments

Comments
 (0)