Skip to content
Closed
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
22 changes: 22 additions & 0 deletions docs/pages/reference/helm-reference/teleport-cluster.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,28 @@ For possible values, [see the Teleport Configuration Reference](../../reference/
</TabItem>
</Tabs>

## `motd`

| Type | Default value | Required? | `teleport.yaml` equivalent | Can be used in `custom` mode? |
| - | - | - | - | - |
| `string` | `""` | no | `auth_service.message_of_the_day` | ❌ |

`motd` set the cluster wide message of the day.
The message will be shown during the tsh login process, and must be positively acknowledged before the user is allowed to log in to the cluster.

<Tabs>
<TabItem label="values.yaml">
```yaml
motd: Unauthorized access is prohibited
```
</TabItem>
<TabItem label="--set">
```code
$ --set motd="Unauthorized access is prohibited"
```
</TabItem>
</Tabs>


## `separatePostgresListener`

Expand Down
3 changes: 3 additions & 0 deletions examples/chart/teleport-cluster/templates/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ data:
{{- end }}
{{- if eq .Values.proxyListenerMode "multiplex" }}
proxy_listener_mode: multiplex
{{- end }}
{{- if .Values.motd }}
message_of_the_day: {{ .Values.motd }}
{{- end }}
kubernetes_service:
enabled: true
Expand Down
5 changes: 5 additions & 0 deletions examples/chart/teleport-cluster/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,11 @@
"type": "string",
"default": ""
},
"motd": {
"$id": "#/properties/motd",
"type": "string",
"default": ""
},
"separatePostgresListener": {
"$id": "#/properties/separatePostgresListener",
"type": "boolean",
Expand Down
3 changes: 3 additions & 0 deletions examples/chart/teleport-cluster/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,9 @@ labels: {}
# kubectl -n ${TELEPORT_NAMESPACE?} create configmap ${HELM_RELEASE_NAME?} --from-file=teleport.yaml
chartMode: standalone

#A cluster wide message of the day (motd) that will be shown during the tsh login process, and must be positively acknowledged before the user is allowed to log in to the cluster.
motd: ""

######################################################################
# Persistence settings (only used in "standalone" and "custom" modes)
# NOTE: Changes in Kubernetes 1.23+ mean that persistent volumes will not automatically be provisioned in AWS EKS clusters
Expand Down