Skip to content

Commit ce62ff2

Browse files
authored
Merge branch 'main' into restructure-new
2 parents c466c9f + 5cffac2 commit ce62ff2

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

coderd/database/types.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ import (
1010
"golang.org/x/xerrors"
1111

1212
"github.com/coder/coder/v2/coderd/rbac/policy"
13-
"github.com/coder/coder/v2/codersdk/healthsdk"
1413
)
1514

1615
// AuditOAuthConvertState is never stored in the database. It is stored in a cookie
@@ -26,8 +25,8 @@ type AuditOAuthConvertState struct {
2625
}
2726

2827
type HealthSettings struct {
29-
ID uuid.UUID `db:"id" json:"id"`
30-
DismissedHealthchecks []healthsdk.HealthSection `db:"dismissed_healthchecks" json:"dismissed_healthchecks"`
28+
ID uuid.UUID `db:"id" json:"id"`
29+
DismissedHealthchecks []string `db:"dismissed_healthchecks" json:"dismissed_healthchecks"`
3130
}
3231

3332
type NotificationsSettings struct {

coderd/debug.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"github.com/coder/coder/v2/coderd/httpmw"
2121
"github.com/coder/coder/v2/coderd/rbac"
2222
"github.com/coder/coder/v2/coderd/rbac/policy"
23+
"github.com/coder/coder/v2/coderd/util/slice"
2324
"github.com/coder/coder/v2/codersdk"
2425
"github.com/coder/coder/v2/codersdk/healthsdk"
2526
)
@@ -250,7 +251,7 @@ func (api *API) putDeploymentHealthSettings(rw http.ResponseWriter, r *http.Requ
250251

251252
aReq.New = database.HealthSettings{
252253
ID: uuid.New(),
253-
DismissedHealthchecks: settings.DismissedHealthchecks,
254+
DismissedHealthchecks: slice.ToStrings(settings.DismissedHealthchecks),
254255
}
255256

256257
err = api.Database.UpsertHealthSettings(ctx, string(settingsJSON))

docs/install/kubernetes.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -125,23 +125,23 @@ For the **mainline** Coder release:
125125

126126
<!-- autoversion(mainline): "--version [version]" -->
127127

128-
```shell
129-
helm install coder coder-v2/coder \
130-
--namespace coder \
131-
--values values.yaml \
132-
--version 2.14.2
133-
```
128+
```shell
129+
helm install coder coder-v2/coder \
130+
--namespace coder \
131+
--values values.yaml \
132+
--version 2.15.0
133+
```
134134

135135
For the **stable** Coder release:
136136

137137
<!-- autoversion(stable): "--version [version]" -->
138138

139-
```shell
140-
helm install coder coder-v2/coder \
141-
--namespace coder \
142-
--values values.yaml \
143-
--version 2.13.5
144-
```
139+
```shell
140+
helm install coder coder-v2/coder \
141+
--namespace coder \
142+
--values values.yaml \
143+
--version 2.14.2
144+
```
145145

146146
You can watch Coder start up by running `kubectl get pods -n coder`. Once Coder
147147
has started, the `coder-*` pods should enter the `Running` state.

docs/install/releases.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ pages.
4747

4848
| Release name | Release Date | Status |
4949
| ------------ | ------------------ | ---------------- |
50-
| 2.8.x | February 06, 2024 | Not Supported |
5150
| 2.9.x | March 07, 2024 | Not Supported |
5251
| 2.10.x | April 03, 2024 | Not Supported |
5352
| 2.11.x | May 07, 2024 | Not Supported |
54-
| 2.12.x | June 04, 2024 | Security Support |
55-
| 2.13.x | July 02, 2024 | Stable |
56-
| 2.14.x | August 06, 2024 | Mainline |
57-
| 2.15.x | September 03, 2024 | Not Released |
53+
| 2.12.x | June 04, 2024 | Not Supported |
54+
| 2.13.x | July 02, 2024 | Security Support |
55+
| 2.14.x | August 06, 2024 | Stable |
56+
| 2.15.x | September 03, 2024 | Mainline |
57+
| 2.16.x | October 01, 2024 | Not Released |
5858

5959
> **Tip**: We publish a
6060
> [`preview`](https://github.com/coder/coder/pkgs/container/coder-preview) image

0 commit comments

Comments
 (0)