Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/chart/tbot/.lint/full.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
clusterName: "test.teleport.sh"
teleportAuthAddress: "my-auth:3024"
defaultOutput:
enabled: false
enabled: true
token: "my-token"
joinMethod: "modified-join-method"

Expand Down
4 changes: 2 additions & 2 deletions examples/chart/tbot/templates/_config.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ outputs:
name: {{ include "tbot.defaultOutputName" . }}
{{- end }}
{{- if .Values.outputs }}
{{- toYaml .Values.outputs | nindent 6}}
{{- toYaml .Values.outputs | nindent 2}}
{{- end }}
{{- end }}
{{- if .Values.services }}
services: {{- toYaml .Values.services | nindent 6}}
services: {{- toYaml .Values.services | nindent 2}}
{{- end }}
{{- end -}}
4 changes: 4 additions & 0 deletions examples/chart/tbot/tests/__snapshot__/config_test.yaml.snap
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ should match the snapshot (full):
join_method: modified-join-method
token: my-token
outputs:
- destination:
name: RELEASE-NAME-tbot-out
type: kubernetes_secret
type: identity
- app_name: foo
destination:
path: /bar
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ should match the snapshot (full):
template:
metadata:
annotations:
checksum/config: 094cdbfc4e4fe3824a33426d8eea4e9e8a4b2711823d4fbb4102e11caa7f62c0
checksum/config: 010d3421120a26bed12d1b9df8443e0eeafa362e88bd830e4a81688d13689483
test-key: test-annotation-pod
labels:
app.kubernetes.io/component: tbot
Expand Down