File tree Expand file tree Collapse file tree 6 files changed +106
-0
lines changed
tutorials-howtos/dashboard-customization
tutorials-howtos/dashboard-customization
tutorials-howtos/dashboard-customization Expand file tree Collapse file tree 6 files changed +106
-0
lines changed Original file line number Diff line number Diff line change @@ -131,3 +131,38 @@ assume that we have downloaded a `light.css` file and will be preparing a new th
131
131
```
132
132
133
133
That's it. After restarting the application, theme picker in the `Account` view should show your new `Solar` theme.
134
+
135
+ ## Setting Custom Postfix for the Page Title
136
+
137
+ You can add a custom postfix to the page title from the UI config in the KubermaticConfiguration CRD on the master cluster.
138
+
139
+ Add the `postfix_page_title` field under `spec.ui.config` as shown below:
140
+
141
+ ```bash
142
+ kubectl -n kubermatic get kubermaticconfigurations
143
+ # NAME AGE
144
+ # kubermatic 2h
145
+
146
+ kubectl -n kubermatic get kubermaticconfiguration kubermatic -o yaml
147
+ # apiVersion: kubermatic.k8c.io/v1
148
+ # kind: KubermaticConfiguration
149
+ # metadata:
150
+ # finalizers:
151
+ # - operator.kubermatic.io/cleanup
152
+ # name: kubermatic
153
+ # namespace: kubermatic
154
+ # spec:
155
+ # ...
156
+ # ui:
157
+ # config: |
158
+ # {
159
+ # ...
160
+ # "postfix_page_title": "Kubermatic Kubernetes Platform",
161
+ # ...
162
+ # }
163
+ # ...
164
+ ```
165
+
166
+ After adding the postfix_page_title, you will see the postfix displayed in the browser tab title.
167
+
168
+ ![ Page Title] ( @/images/ui/page-title.png?classes=shadow,border " Page title ")
Original file line number Diff line number Diff line change @@ -131,3 +131,38 @@ assume that we have downloaded a `light.css` file and will be preparing a new th
131
131
```
132
132
133
133
That's it. After restarting the application, theme picker in the `Account` view should show your new `Solar` theme.
134
+
135
+ ## Setting Custom Postfix for the Page Title
136
+
137
+ You can add a custom postfix to the page title from the UI config in the KubermaticConfiguration CRD on the master cluster.
138
+
139
+ Add the `postfix_page_title` field under `spec.ui.config` as shown below:
140
+
141
+ ```bash
142
+ kubectl -n kubermatic get kubermaticconfigurations
143
+ # NAME AGE
144
+ # kubermatic 2h
145
+
146
+ kubectl -n kubermatic get kubermaticconfiguration kubermatic -o yaml
147
+ # apiVersion: kubermatic.k8c.io/v1
148
+ # kind: KubermaticConfiguration
149
+ # metadata:
150
+ # finalizers:
151
+ # - operator.kubermatic.io/cleanup
152
+ # name: kubermatic
153
+ # namespace: kubermatic
154
+ # spec:
155
+ # ...
156
+ # ui:
157
+ # config: |
158
+ # {
159
+ # ...
160
+ # "postfix_page_title": "Kubermatic Kubernetes Platform",
161
+ # ...
162
+ # }
163
+ # ...
164
+ ```
165
+
166
+ After adding the postfix_page_title, you will see the postfix displayed in the browser tab title.
167
+
168
+ ![ Page Title] ( @/images/ui/page-title.png?classes=shadow,border " Page title ")
Original file line number Diff line number Diff line change @@ -131,3 +131,39 @@ assume that we have downloaded a `light.css` file and will be preparing a new th
131
131
```
132
132
133
133
That's it. After restarting the application, theme picker in the `Account` view should show your new `Solar` theme.
134
+
135
+
136
+ ## Setting Custom Postfix for the Page Title
137
+
138
+ You can add a custom postfix to the page title from the UI config in the KubermaticConfiguration CRD on the master cluster.
139
+
140
+ Add the `postfix_page_title` field under `spec.ui.config` as shown below:
141
+
142
+ ```bash
143
+ kubectl -n kubermatic get kubermaticconfigurations
144
+ # NAME AGE
145
+ # kubermatic 2h
146
+
147
+ kubectl -n kubermatic get kubermaticconfiguration kubermatic -o yaml
148
+ # apiVersion: kubermatic.k8c.io/v1
149
+ # kind: KubermaticConfiguration
150
+ # metadata:
151
+ # finalizers:
152
+ # - operator.kubermatic.io/cleanup
153
+ # name: kubermatic
154
+ # namespace: kubermatic
155
+ # spec:
156
+ # ...
157
+ # ui:
158
+ # config: |
159
+ # {
160
+ # ...
161
+ # "postfix_page_title": "Kubermatic Kubernetes Platform",
162
+ # ...
163
+ # }
164
+ # ...
165
+ ```
166
+
167
+ After adding the postfix_page_title, you will see the postfix displayed in the browser tab title.
168
+
169
+ ![ Page Title] ( @/images/ui/page-title.png?classes=shadow,border " Page title ")
You can’t perform that action at this time.
0 commit comments