Skip to content

Commit 8cf47b5

Browse files
authored
Update dependencies and prepare for v2.6.0 release (#7140)
* Update dependencies * Update dependencies * Update dependabot config * Fix startup * Add dependabot config for Golang * Minor update * Fix unit tests Bump version * Bump metrics-server version * Fix static check * Update Goland dependencies * Revert app version in Helm chart * Update lockfile
1 parent 803efe5 commit 8cf47b5

File tree

24 files changed

+4832
-4105
lines changed

24 files changed

+4832
-4105
lines changed

.github/dependabot.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
version: 2
22
updates:
3-
# Enable version updates for npm
43
- package-ecosystem: "npm"
5-
# Look for `package.json` and `lock` files in the `root` directory
64
directory: "/"
7-
# Check the npm registry for updates every day (weekdays)
85
schedule:
96
interval: "daily"
10-
# Allow up to 10 open pull requests for npm dependencies
11-
open-pull-requests-limit: 10
12-
# Enable version github actions
7+
open-pull-requests-limit: 3
8+
- package-ecosystem: "gomod"
9+
directory: "/"
10+
schedule:
11+
interval: "daily"
1312
- package-ecosystem: "github-actions"
1413
directory: "/"
1514
schedule:
1615
interval: "daily"
17-
open-pull-requests-limit: 10
16+
open-pull-requests-limit: 3

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ PROD_BINARY = dist/amd64/dashboard
3030
SERVE_DIRECTORY = .tmp/serve
3131
SERVE_BINARY = .tmp/serve/dashboard
3232
RELEASE_IMAGE = kubernetesui/dashboard
33-
RELEASE_VERSION = v2.5.1
33+
RELEASE_VERSION = v2.6.0
3434
RELEASE_IMAGE_NAMES += $(foreach arch, $(ARCHITECTURES), $(RELEASE_IMAGE)-$(arch):$(RELEASE_VERSION))
3535
RELEASE_IMAGE_NAMES_LATEST += $(foreach arch, $(ARCHITECTURES), $(RELEASE_IMAGE)-$(arch):latest)
3636
HEAD_IMAGE = kubernetesdashboarddev/dashboard

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Kubernetes Dashboard is a general purpose, web-based UI for Kubernetes clusters.
2020
To deploy Dashboard, execute following command:
2121

2222
```shell
23-
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/recommended.yaml
23+
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/recommended.yaml
2424
```
2525

2626
Alternatively, you can install Dashboard using Helm as described at [`https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard`](https://artifacthub.io/packages/helm/k8s-dashboard/kubernetes-dashboard).

aio/deploy/alternative.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ spec:
179179
type: RuntimeDefault
180180
containers:
181181
- name: kubernetes-dashboard
182-
image: kubernetesui/dashboard:v2.5.1
182+
image: kubernetesui/dashboard:v2.6.0
183183
ports:
184184
- containerPort: 9090
185185
protocol: TCP
@@ -257,7 +257,7 @@ spec:
257257
type: RuntimeDefault
258258
containers:
259259
- name: dashboard-metrics-scraper
260-
image: kubernetesui/metrics-scraper:v1.0.7
260+
image: kubernetesui/metrics-scraper:v1.0.8
261261
ports:
262262
- containerPort: 8000
263263
protocol: TCP

aio/deploy/alternative/06_dashboard-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
type: RuntimeDefault
3636
containers:
3737
- name: kubernetes-dashboard
38-
image: kubernetesui/dashboard:v2.5.1
38+
image: kubernetesui/dashboard:v2.6.0
3939
ports:
4040
- containerPort: 9090
4141
protocol: TCP

aio/deploy/alternative/08_scraper-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
type: RuntimeDefault
3636
containers:
3737
- name: dashboard-metrics-scraper
38-
image: kubernetesui/metrics-scraper:v1.0.7
38+
image: kubernetesui/metrics-scraper:v1.0.8
3939
ports:
4040
- containerPort: 8000
4141
protocol: TCP

aio/deploy/helm-chart/kubernetes-dashboard/Chart.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
apiVersion: v2
1616
name: kubernetes-dashboard
17-
version: 5.5.1
17+
version: 5.5.2
1818
appVersion: 2.5.1
1919
description: General-purpose web UI for Kubernetes clusters
2020
keywords:

aio/deploy/helm-chart/kubernetes-dashboard/values.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ metricsScraper:
257257
enabled: false
258258
image:
259259
repository: kubernetesui/metrics-scraper
260-
tag: v1.0.7
260+
tag: v1.0.8
261261
resources: {}
262262
## SecurityContext especially for the kubernetes dashboard metrics scraper container
263263
## If not set, the global containterSecurityContext values will define these values

aio/deploy/recommended.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ spec:
190190
type: RuntimeDefault
191191
containers:
192192
- name: kubernetes-dashboard
193-
image: kubernetesui/dashboard:v2.5.1
193+
image: kubernetesui/dashboard:v2.6.0
194194
imagePullPolicy: Always
195195
ports:
196196
- containerPort: 8443
@@ -275,7 +275,7 @@ spec:
275275
type: RuntimeDefault
276276
containers:
277277
- name: dashboard-metrics-scraper
278-
image: kubernetesui/metrics-scraper:v1.0.7
278+
image: kubernetesui/metrics-scraper:v1.0.8
279279
ports:
280280
- containerPort: 8000
281281
protocol: TCP

aio/deploy/recommended/06_dashboard-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
type: RuntimeDefault
3636
containers:
3737
- name: kubernetes-dashboard
38-
image: kubernetesui/dashboard:v2.5.1
38+
image: kubernetesui/dashboard:v2.6.0
3939
imagePullPolicy: Always
4040
ports:
4141
- containerPort: 8443

aio/deploy/recommended/08_scraper-deployment.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ spec:
3535
type: RuntimeDefault
3636
containers:
3737
- name: dashboard-metrics-scraper
38-
image: kubernetesui/metrics-scraper:v1.0.7
38+
image: kubernetesui/metrics-scraper:v1.0.8
3939
ports:
4040
- containerPort: 8000
4141
protocol: TCP

docs/user/installation.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ kubectl create secret generic kubernetes-dashboard-certs --from-file=$HOME/certs
1919
For Dashboard to pickup the certificates, you must pass arguments `--tls-cert-file=/tls.crt` and `--tls-key-file=/tls.key` to the container. You can edit YAML definition and deploy Dashboard in one go:
2020

2121
```shell
22-
kubectl create --edit -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/recommended.yaml
22+
kubectl create --edit -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/recommended.yaml
2323
```
2424

2525
Under Deployment section, add arguments to pod definition, it should look as follows:
@@ -38,7 +38,7 @@ This setup is not fully secure. Certificates are not used and Dashboard is expos
3838
To deploy Dashboard execute following command:
3939

4040
```shell
41-
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/alternative.yaml
41+
kubectl create -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/alternative.yaml
4242
```
4343

4444

@@ -51,7 +51,7 @@ Besides official releases, there are also development releases, that are pushed
5151
In most of the use cases you need to execute the following command to deploy latest development release:
5252

5353
```shell
54-
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.5.1/aio/deploy/head.yaml
54+
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.6.0/aio/deploy/head.yaml
5555
```
5656

5757
### Update

go.mod

+29-31
Original file line numberDiff line numberDiff line change
@@ -3,68 +3,66 @@ module github.com/kubernetes/dashboard
33
go 1.17
44

55
require (
6-
github.com/docker/distribution v2.8.0+incompatible
7-
github.com/emicklei/go-restful/v3 v3.3.3
6+
github.com/docker/distribution v2.8.1+incompatible
7+
github.com/emicklei/go-restful/v3 v3.7.4
88
github.com/golang/glog v1.0.0
99
github.com/opencontainers/go-digest v1.0.0 // indirect
10-
github.com/prometheus/client_golang v1.12.1
10+
github.com/prometheus/client_golang v1.12.2
1111
github.com/spf13/pflag v1.0.5
12-
golang.org/x/net v0.0.0-20220127200216-cd36cc0744dd
12+
golang.org/x/net v0.0.0-20220526153639-5463443f8c37
1313
golang.org/x/text v0.3.7
1414
gopkg.in/igm/sockjs-go.v2 v2.1.0
15-
gopkg.in/square/go-jose.v2 v2.4.1
15+
gopkg.in/square/go-jose.v2 v2.6.0
1616
gopkg.in/yaml.v2 v2.4.0
17-
k8s.io/api v0.24.0
18-
k8s.io/apiextensions-apiserver v0.24.0
19-
k8s.io/apimachinery v0.24.0
20-
k8s.io/client-go v0.24.0
17+
k8s.io/api v0.24.1
18+
k8s.io/apiextensions-apiserver v0.24.1
19+
k8s.io/apimachinery v0.24.1
20+
k8s.io/client-go v0.24.1
2121
k8s.io/heapster v1.5.4
2222
)
2323

2424
require (
25-
github.com/PuerkitoBio/purell v1.1.1 // indirect
26-
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
2725
github.com/beorn7/perks v1.0.1 // indirect
2826
github.com/cespare/xxhash/v2 v2.1.2 // indirect
2927
github.com/davecgh/go-spew v1.1.1 // indirect
30-
github.com/emicklei/go-restful v2.9.5+incompatible // indirect
28+
github.com/emicklei/go-restful v2.15.0+incompatible // indirect
3129
github.com/evanphx/json-patch v4.12.0+incompatible // indirect
32-
github.com/go-logr/logr v1.2.0 // indirect
30+
github.com/go-logr/logr v1.2.3 // indirect
3331
github.com/go-openapi/jsonpointer v0.19.5 // indirect
34-
github.com/go-openapi/jsonreference v0.19.5 // indirect
35-
github.com/go-openapi/swag v0.19.14 // indirect
32+
github.com/go-openapi/jsonreference v0.20.0 // indirect
33+
github.com/go-openapi/swag v0.21.1 // indirect
3634
github.com/gogo/protobuf v1.3.2 // indirect
3735
github.com/golang/protobuf v1.5.2 // indirect
38-
github.com/google/gnostic v0.5.7-v3refs // indirect
36+
github.com/google/gnostic v0.6.9 // indirect
3937
github.com/google/go-cmp v0.5.5 // indirect
40-
github.com/google/gofuzz v1.1.0 // indirect
41-
github.com/gorilla/websocket v1.4.2 // indirect
42-
github.com/imdario/mergo v0.3.5 // indirect
38+
github.com/google/gofuzz v1.2.0 // indirect
39+
github.com/gorilla/websocket v1.5.0 // indirect
40+
github.com/imdario/mergo v0.3.13 // indirect
4341
github.com/josharian/intern v1.0.0 // indirect
4442
github.com/json-iterator/go v1.1.12 // indirect
45-
github.com/mailru/easyjson v0.7.6 // indirect
43+
github.com/mailru/easyjson v0.7.7 // indirect
4644
github.com/matttproud/golang_protobuf_extensions v1.0.2-0.20181231171920-c182affec369 // indirect
4745
github.com/moby/spdystream v0.2.0 // indirect
4846
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
4947
github.com/modern-go/reflect2 v1.0.2 // indirect
5048
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
5149
github.com/pkg/errors v0.9.1 // indirect
5250
github.com/prometheus/client_model v0.2.0 // indirect
53-
github.com/prometheus/common v0.32.1 // indirect
51+
github.com/prometheus/common v0.34.0 // indirect
5452
github.com/prometheus/procfs v0.7.3 // indirect
55-
golang.org/x/crypto v0.0.0-20220214200702-86341886e292 // indirect
56-
golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 // indirect
57-
golang.org/x/sys v0.0.0-20220209214540-3681064d5158 // indirect
58-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 // indirect
59-
golang.org/x/time v0.0.0-20220210224613-90d013bbcef8 // indirect
53+
golang.org/x/crypto v0.0.0-20220525230936-793ad666bf5e // indirect
54+
golang.org/x/oauth2 v0.0.0-20220524215830-622c5d57e401 // indirect
55+
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a // indirect
56+
golang.org/x/term v0.0.0-20220526004731-065cf7ba2467 // indirect
57+
golang.org/x/time v0.0.0-20220411224347-583f2d630306 // indirect
6058
google.golang.org/appengine v1.6.7 // indirect
61-
google.golang.org/protobuf v1.27.1 // indirect
59+
google.golang.org/protobuf v1.28.0 // indirect
6260
gopkg.in/inf.v0 v0.9.1 // indirect
63-
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect
61+
gopkg.in/yaml.v3 v3.0.1 // indirect
6462
k8s.io/klog/v2 v2.60.1 // indirect
65-
k8s.io/kube-openapi v0.0.0-20220328201542-3ee0da9b0b42 // indirect
63+
k8s.io/kube-openapi v0.0.0-20220413171646-5e7f5fdc6da6 // indirect
6664
k8s.io/utils v0.0.0-20220210201930-3a6ce19ff2f9 // indirect
67-
sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2 // indirect
65+
sigs.k8s.io/json v0.0.0-20220525155127-227cbc7cc124 // indirect
6866
sigs.k8s.io/structured-merge-diff/v4 v4.2.1 // indirect
69-
sigs.k8s.io/yaml v1.2.0 // indirect
67+
sigs.k8s.io/yaml v1.3.0 // indirect
7068
)

0 commit comments

Comments
 (0)