Skip to content

Commit

Permalink
Release v1.8.0 (#2516)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
Marcin Maciaszczyk authored and bryk committed Nov 27, 2017
1 parent 7c26f88 commit 054916b
Show file tree
Hide file tree
Showing 11 changed files with 47 additions and 63 deletions.
2 changes: 1 addition & 1 deletion build/conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const version = {
/**
* Current release version of the project.
*/
release: 'v1.7.1',
release: 'v1.8.0',
/**
* Version name of the head release of the project.
*/
Expand Down
Binary file modified docs/dashboard-ui.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"//-1-//": "Specification of this file can be found at: https://docs.npmjs.com/files/package.json",
"name": "kubernetes-dashboard",
"version": "1.7.1",
"version": "1.8.0",
"repository": {
"type": "git",
"url": "https://github.com/kubernetes/dashboard.git"
Expand Down
8 changes: 4 additions & 4 deletions src/deploy/alternative/kubernetes-dashboard-arm-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


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

Expand All @@ -32,7 +32,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
Expand All @@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
Expand All @@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
Expand Down
14 changes: 7 additions & 7 deletions src/deploy/alternative/kubernetes-dashboard-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


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

Expand All @@ -32,15 +32,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
Expand All @@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
Expand All @@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
Expand All @@ -94,7 +94,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
ports:
- containerPort: 9090
protocol: TCP
Expand Down
8 changes: 4 additions & 4 deletions src/deploy/alternative/kubernetes-dashboard-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


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

Expand All @@ -32,7 +32,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
Expand All @@ -57,7 +57,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
Expand All @@ -75,7 +75,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
Expand Down
14 changes: 7 additions & 7 deletions src/deploy/alternative/kubernetes-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@


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

Expand All @@ -32,15 +32,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
Expand All @@ -58,7 +58,7 @@ rules:
verbs: ["proxy"]

---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
Expand All @@ -76,7 +76,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
Expand All @@ -95,7 +95,7 @@ spec:
spec:
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-amd64:v1.8.0
ports:
- containerPort: 9090
protocol: TCP
Expand Down
6 changes: 3 additions & 3 deletions src/deploy/recommended/kubernetes-dashboard-arm-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal-head
namespace: kube-system
Expand All @@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal-head
Expand All @@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
Expand Down
24 changes: 8 additions & 16 deletions src/deploy/recommended/kubernetes-dashboard-arm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# limitations under the License.

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

Expand Down Expand Up @@ -43,15 +43,15 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal
namespace: kube-system
rules:
# Allow Dashboard to create and watch for changes of 'kubernetes-dashboard-key-holder' secret.
# Allow Dashboard to create 'kubernetes-dashboard-key-holder' secret.
- apiGroups: [""]
resources: ["secrets"]
verbs: ["create", "watch"]
verbs: ["create"]
# Allow Dashboard to get, update and delete Dashboard exclusive secrets.
- apiGroups: [""]
resources: ["secrets"]
Expand All @@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal
Expand All @@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard
Expand All @@ -103,29 +103,21 @@ spec:
labels:
k8s-app: kubernetes-dashboard
spec:
initContainers:
- name: kubernetes-dashboard-init
image: gcr.io/google_containers/kubernetes-dashboard-init-arm:v1.0.1
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
containers:
- name: kubernetes-dashboard
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.7.1
image: gcr.io/google_containers/kubernetes-dashboard-arm:v1.8.0
ports:
- containerPort: 8443
protocol: TCP
args:
- --tls-key-file=/certs/dashboard.key
- --tls-cert-file=/certs/dashboard.crt
- --auto-generate-certificates
# Uncomment the following line to manually specify Kubernetes API server Host
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
# - --apiserver-host=http://my-address:port
volumeMounts:
- name: kubernetes-dashboard-certs
mountPath: /certs
readOnly: true
# Create on-disk volume to store exec logs
- mountPath: /tmp
name: tmp-volume
Expand Down
8 changes: 4 additions & 4 deletions src/deploy/recommended/kubernetes-dashboard-head.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ kind: Secret
metadata:
labels:
k8s-app: kubernetes-dashboard-head
name: kubernetes-dashboard-certs-head
name: kubernetes-dashboard-certs
namespace: kube-system
type: Opaque

Expand All @@ -43,7 +43,7 @@ metadata:
# ------------------- Dashboard Role & Role Binding ------------------- #

kind: Role
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
metadata:
name: kubernetes-dashboard-minimal-head
namespace: kube-system
Expand All @@ -68,7 +68,7 @@ rules:
resourceNames: ["heapster"]
verbs: ["proxy"]
---
apiVersion: rbac.authorization.k8s.io/v1beta1
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
name: kubernetes-dashboard-minimal-head
Expand All @@ -86,7 +86,7 @@ subjects:
# ------------------- Dashboard Deployment ------------------- #

kind: Deployment
apiVersion: extensions/v1beta1
apiVersion: apps/v1beta2
metadata:
labels:
k8s-app: kubernetes-dashboard-head
Expand Down
Loading

0 comments on commit 054916b

Please sign in to comment.