Skip to content

Commit 054916b

Browse files
Marcin Maciaszczykbryk
authored andcommitted
Release v1.8.0 (#2516)
* Update API versions in YAML files * Use apps/v1beta2 instead of apps/v1beta1 * Update version to 1.8.0 * Replace init container with --auto-generate-certificates flag Remove watch access rule * Update comments in YAML files * Update landing page screenshot * Update landing page screenshot * Update kubernetes-dashboard-head.yaml
1 parent 7c26f88 commit 054916b

11 files changed

+47
-63
lines changed

build/conf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const version = {
5959
/**
6060
* Current release version of the project.
6161
*/
62-
release: 'v1.7.1',
62+
release: 'v1.8.0',
6363
/**
6464
* Version name of the head release of the project.
6565
*/

docs/dashboard-ui.png

4.36 KB
Loading

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"//-1-//": "Specification of this file can be found at: https://docs.npmjs.com/files/package.json",
33
"name": "kubernetes-dashboard",
4-
"version": "1.7.1",
4+
"version": "1.8.0",
55
"repository": {
66
"type": "git",
77
"url": "https://github.com/kubernetes/dashboard.git"

src/deploy/alternative/kubernetes-dashboard-arm-head.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
# Configuration to deploy head version of the Dashboard UI compatible with
17-
# Kubernetes 1.7.
17+
# Kubernetes 1.8.
1818
#
1919
# Example usage: kubectl create -f <this_file>
2020

@@ -32,7 +32,7 @@ metadata:
3232
# ------------------- Dashboard Role & Role Binding ------------------- #
3333

3434
kind: Role
35-
apiVersion: rbac.authorization.k8s.io/v1beta1
35+
apiVersion: rbac.authorization.k8s.io/v1
3636
metadata:
3737
name: kubernetes-dashboard-minimal
3838
namespace: kube-system
@@ -57,7 +57,7 @@ rules:
5757
resourceNames: ["heapster"]
5858
verbs: ["proxy"]
5959
---
60-
apiVersion: rbac.authorization.k8s.io/v1beta1
60+
apiVersion: rbac.authorization.k8s.io/v1
6161
kind: RoleBinding
6262
metadata:
6363
name: kubernetes-dashboard-minimal
@@ -75,7 +75,7 @@ subjects:
7575
# ------------------- Dashboard Deployment ------------------- #
7676

7777
kind: Deployment
78-
apiVersion: extensions/v1beta1
78+
apiVersion: apps/v1beta2
7979
metadata:
8080
labels:
8181
k8s-app: kubernetes-dashboard-head

src/deploy/alternative/kubernetes-dashboard-arm.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
# Configuration to deploy release version of the Dashboard UI compatible with
17-
# Kubernetes 1.7.
17+
# Kubernetes 1.8.
1818
#
1919
# Example usage: kubectl create -f <this_file>
2020

@@ -32,15 +32,15 @@ metadata:
3232
# ------------------- Dashboard Role & Role Binding ------------------- #
3333

3434
kind: Role
35-
apiVersion: rbac.authorization.k8s.io/v1beta1
35+
apiVersion: rbac.authorization.k8s.io/v1
3636
metadata:
3737
name: kubernetes-dashboard-minimal
3838
namespace: kube-system
3939
rules:
40-
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
40+
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
4141
- apiGroups: [""]
4242
resources: ["secrets"]
43-
verbs: ["create", "watch"]
43+
verbs: ["create"]
4444
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
4545
- apiGroups: [""]
4646
resources: ["secrets"]
@@ -57,7 +57,7 @@ rules:
5757
resourceNames: ["heapster"]
5858
verbs: ["proxy"]
5959
---
60-
apiVersion: rbac.authorization.k8s.io/v1beta1
60+
apiVersion: rbac.authorization.k8s.io/v1
6161
kind: RoleBinding
6262
metadata:
6363
name: kubernetes-dashboard-minimal
@@ -75,7 +75,7 @@ subjects:
7575
# ------------------- Dashboard Deployment ------------------- #
7676

7777
kind: Deployment
78-
apiVersion: extensions/v1beta1
78+
apiVersion: apps/v1beta2
7979
metadata:
8080
labels:
8181
k8s-app: kubernetes-dashboard
@@ -94,7 +94,7 @@ spec:
9494
spec:
9595
containers:
9696
- name: kubernetes-dashboard
97-
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
97+
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
9898
ports:
9999
- containerPort: 9090
100100
protocol: TCP

src/deploy/alternative/kubernetes-dashboard-head.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
# Configuration to deploy head version of the Dashboard UI compatible with
17-
# Kubernetes 1.7.
17+
# Kubernetes 1.8.
1818
#
1919
# Example usage: kubectl create -f <this_file>
2020

@@ -32,7 +32,7 @@ metadata:
3232
# ------------------- Dashboard Role & Role Binding ------------------- #
3333

3434
kind: Role
35-
apiVersion: rbac.authorization.k8s.io/v1beta1
35+
apiVersion: rbac.authorization.k8s.io/v1
3636
metadata:
3737
name: kubernetes-dashboard-minimal
3838
namespace: kube-system
@@ -57,7 +57,7 @@ rules:
5757
resourceNames: ["heapster"]
5858
verbs: ["proxy"]
5959
---
60-
apiVersion: rbac.authorization.k8s.io/v1beta1
60+
apiVersion: rbac.authorization.k8s.io/v1
6161
kind: RoleBinding
6262
metadata:
6363
name: kubernetes-dashboard-minimal
@@ -75,7 +75,7 @@ subjects:
7575
# ------------------- Dashboard Deployment ------------------- #
7676

7777
kind: Deployment
78-
apiVersion: extensions/v1beta1
78+
apiVersion: apps/v1beta2
7979
metadata:
8080
labels:
8181
k8s-app: kubernetes-dashboard-head

src/deploy/alternative/kubernetes-dashboard.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515

1616
# Configuration to deploy release version of the Dashboard UI compatible with
17-
# Kubernetes 1.7.
17+
# Kubernetes 1.8.
1818
#
1919
# Example usage: kubectl create -f <this_file>
2020

@@ -32,15 +32,15 @@ metadata:
3232
# ------------------- Dashboard Role & Role Binding ------------------- #
3333

3434
kind: Role
35-
apiVersion: rbac.authorization.k8s.io/v1beta1
35+
apiVersion: rbac.authorization.k8s.io/v1
3636
metadata:
3737
name: kubernetes-dashboard-minimal
3838
namespace: kube-system
3939
rules:
40-
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
40+
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
4141
- apiGroups: [""]
4242
resources: ["secrets"]
43-
verbs: ["create", "watch"]
43+
verbs: ["create"]
4444
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
4545
- apiGroups: [""]
4646
resources: ["secrets"]
@@ -58,7 +58,7 @@ rules:
5858
verbs: ["proxy"]
5959

6060
---
61-
apiVersion: rbac.authorization.k8s.io/v1beta1
61+
apiVersion: rbac.authorization.k8s.io/v1
6262
kind: RoleBinding
6363
metadata:
6464
name: kubernetes-dashboard-minimal
@@ -76,7 +76,7 @@ subjects:
7676
# ------------------- Dashboard Deployment ------------------- #
7777

7878
kind: Deployment
79-
apiVersion: extensions/v1beta1
79+
apiVersion: apps/v1beta2
8080
metadata:
8181
labels:
8282
k8s-app: kubernetes-dashboard
@@ -95,7 +95,7 @@ spec:
9595
spec:
9696
containers:
9797
- name: kubernetes-dashboard
98-
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
98+
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0
9999
ports:
100100
- containerPort: 9090
101101
protocol: TCP

src/deploy/recommended/kubernetes-dashboard-arm-head.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ metadata:
4343
# ------------------- Dashboard Role & Role Binding ------------------- #
4444

4545
kind: Role
46-
apiVersion: rbac.authorization.k8s.io/v1beta1
46+
apiVersion: rbac.authorization.k8s.io/v1
4747
metadata:
4848
name: kubernetes-dashboard-minimal-head
4949
namespace: kube-system
@@ -68,7 +68,7 @@ rules:
6868
resourceNames: ["heapster"]
6969
verbs: ["proxy"]
7070
---
71-
apiVersion: rbac.authorization.k8s.io/v1beta1
71+
apiVersion: rbac.authorization.k8s.io/v1
7272
kind: RoleBinding
7373
metadata:
7474
name: kubernetes-dashboard-minimal-head
@@ -86,7 +86,7 @@ subjects:
8686
# ------------------- Dashboard Deployment ------------------- #
8787

8888
kind: Deployment
89-
apiVersion: extensions/v1beta1
89+
apiVersion: apps/v1beta2
9090
metadata:
9191
labels:
9292
k8s-app: kubernetes-dashboard-head

src/deploy/recommended/kubernetes-dashboard-arm.yaml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
# Configuration to deploy release version of the Dashboard UI compatible with
16-
# Kubernetes 1.7.
16+
# Kubernetes 1.8.
1717
#
1818
# Example usage: kubectl create -f <this_file>
1919

@@ -43,15 +43,15 @@ metadata:
4343
# ------------------- Dashboard Role & Role Binding ------------------- #
4444

4545
kind: Role
46-
apiVersion: rbac.authorization.k8s.io/v1beta1
46+
apiVersion: rbac.authorization.k8s.io/v1
4747
metadata:
4848
name: kubernetes-dashboard-minimal
4949
namespace: kube-system
5050
rules:
51-
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
51+
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
5252
- apiGroups: [""]
5353
resources: ["secrets"]
54-
verbs: ["create", "watch"]
54+
verbs: ["create"]
5555
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
5656
- apiGroups: [""]
5757
resources: ["secrets"]
@@ -68,7 +68,7 @@ rules:
6868
resourceNames: ["heapster"]
6969
verbs: ["proxy"]
7070
---
71-
apiVersion: rbac.authorization.k8s.io/v1beta1
71+
apiVersion: rbac.authorization.k8s.io/v1
7272
kind: RoleBinding
7373
metadata:
7474
name: kubernetes-dashboard-minimal
@@ -86,7 +86,7 @@ subjects:
8686
# ------------------- Dashboard Deployment ------------------- #
8787

8888
kind: Deployment
89-
apiVersion: extensions/v1beta1
89+
apiVersion: apps/v1beta2
9090
metadata:
9191
labels:
9292
k8s-app: kubernetes-dashboard
@@ -103,29 +103,21 @@ spec:
103103
labels:
104104
k8s-app: kubernetes-dashboard
105105
spec:
106-
initContainers:
107-
- name: kubernetes-dashboard-init
108-
image: gcr.io/google_containers/kubernetes-dashboard-init-arm:v1.0.1
109-
volumeMounts:
110-
- name: kubernetes-dashboard-certs
111-
mountPath: /certs
112106
containers:
113107
- name: kubernetes-dashboard
114-
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
108+
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
115109
ports:
116110
- containerPort: 8443
117111
protocol: TCP
118112
args:
119-
- --tls-key-file=/certs/dashboard.key
120-
- --tls-cert-file=/certs/dashboard.crt
113+
- --auto-generate-certificates
121114
# Uncomment the following line to manually specify Kubernetes API server Host
122115
# If not specified, Dashboard will attempt to auto discover the API server and connect
123116
# to it. Uncomment only if the default does not work.
124117
# - --apiserver-host=http://my-address:port
125118
volumeMounts:
126119
- name: kubernetes-dashboard-certs
127120
mountPath: /certs
128-
readOnly: true
129121
# Create on-disk volume to store exec logs
130122
- mountPath: /tmp
131123
name: tmp-volume

src/deploy/recommended/kubernetes-dashboard-head.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ kind: Secret
2424
metadata:
2525
labels:
2626
k8s-app: kubernetes-dashboard-head
27-
name: kubernetes-dashboard-certs-head
27+
name: kubernetes-dashboard-certs
2828
namespace: kube-system
2929
type: Opaque
3030

@@ -43,7 +43,7 @@ metadata:
4343
# ------------------- Dashboard Role & Role Binding ------------------- #
4444

4545
kind: Role
46-
apiVersion: rbac.authorization.k8s.io/v1beta1
46+
apiVersion: rbac.authorization.k8s.io/v1
4747
metadata:
4848
name: kubernetes-dashboard-minimal-head
4949
namespace: kube-system
@@ -68,7 +68,7 @@ rules:
6868
resourceNames: ["heapster"]
6969
verbs: ["proxy"]
7070
---
71-
apiVersion: rbac.authorization.k8s.io/v1beta1
71+
apiVersion: rbac.authorization.k8s.io/v1
7272
kind: RoleBinding
7373
metadata:
7474
name: kubernetes-dashboard-minimal-head
@@ -86,7 +86,7 @@ subjects:
8686
# ------------------- Dashboard Deployment ------------------- #
8787

8888
kind: Deployment
89-
apiVersion: extensions/v1beta1
89+
apiVersion: apps/v1beta2
9090
metadata:
9191
labels:
9292
k8s-app: kubernetes-dashboard-head

0 commit comments

Comments
 (0)