diff --git a/build/conf.js b/build/conf.js index cec96cc2a89c..4ff1b5a05588 100644 --- a/build/conf.js +++ b/build/conf.js @@ -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. */ diff --git a/docs/dashboard-ui.png b/docs/dashboard-ui.png index 21731ae2270f..05616e283901 100644 Binary files a/docs/dashboard-ui.png and b/docs/dashboard-ui.png differ diff --git a/package.json b/package.json index 54372aa4c44f..634ddbe225ad 100644 --- a/package.json +++ b/package.json @@ -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" diff --git a/src/deploy/alternative/kubernetes-dashboard-arm-head.yaml b/src/deploy/alternative/kubernetes-dashboard-arm-head.yaml index ebd1900a1789..2b59c20de921 100755 --- a/src/deploy/alternative/kubernetes-dashboard-arm-head.yaml +++ b/src/deploy/alternative/kubernetes-dashboard-arm-head.yaml @@ -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 @@ -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 @@ -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 @@ -75,7 +75,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard-head diff --git a/src/deploy/alternative/kubernetes-dashboard-arm.yaml b/src/deploy/alternative/kubernetes-dashboard-arm.yaml index 77b7346de8b5..2c8cb1a09c27 100644 --- a/src/deploy/alternative/kubernetes-dashboard-arm.yaml +++ b/src/deploy/alternative/kubernetes-dashboard-arm.yaml @@ -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 @@ -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"] @@ -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 @@ -75,7 +75,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard @@ -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 diff --git a/src/deploy/alternative/kubernetes-dashboard-head.yaml b/src/deploy/alternative/kubernetes-dashboard-head.yaml index 54cbb6328b1f..43381e3ad0dc 100755 --- a/src/deploy/alternative/kubernetes-dashboard-head.yaml +++ b/src/deploy/alternative/kubernetes-dashboard-head.yaml @@ -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 @@ -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 @@ -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 @@ -75,7 +75,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard-head diff --git a/src/deploy/alternative/kubernetes-dashboard.yaml b/src/deploy/alternative/kubernetes-dashboard.yaml index 20fc6fe5c2f0..5a50fa254d63 100644 --- a/src/deploy/alternative/kubernetes-dashboard.yaml +++ b/src/deploy/alternative/kubernetes-dashboard.yaml @@ -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 @@ -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"] @@ -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 @@ -76,7 +76,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard @@ -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 diff --git a/src/deploy/recommended/kubernetes-dashboard-arm-head.yaml b/src/deploy/recommended/kubernetes-dashboard-arm-head.yaml index 67cc15de7bf8..b27d66a7659c 100755 --- a/src/deploy/recommended/kubernetes-dashboard-arm-head.yaml +++ b/src/deploy/recommended/kubernetes-dashboard-arm-head.yaml @@ -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 @@ -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 @@ -86,7 +86,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard-head diff --git a/src/deploy/recommended/kubernetes-dashboard-arm.yaml b/src/deploy/recommended/kubernetes-dashboard-arm.yaml index a504cd69dac4..d8caac435b4f 100644 --- a/src/deploy/recommended/kubernetes-dashboard-arm.yaml +++ b/src/deploy/recommended/kubernetes-dashboard-arm.yaml @@ -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 @@ -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"] @@ -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 @@ -86,7 +86,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard @@ -103,21 +103,14 @@ 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. @@ -125,7 +118,6 @@ spec: volumeMounts: - name: kubernetes-dashboard-certs mountPath: /certs - readOnly: true # Create on-disk volume to store exec logs - mountPath: /tmp name: tmp-volume diff --git a/src/deploy/recommended/kubernetes-dashboard-head.yaml b/src/deploy/recommended/kubernetes-dashboard-head.yaml index c01641965132..7630867d0496 100755 --- a/src/deploy/recommended/kubernetes-dashboard-head.yaml +++ b/src/deploy/recommended/kubernetes-dashboard-head.yaml @@ -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 @@ -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 @@ -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 @@ -86,7 +86,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard-head diff --git a/src/deploy/recommended/kubernetes-dashboard.yaml b/src/deploy/recommended/kubernetes-dashboard.yaml index 3a3dab25f483..2520ecd2f79d 100644 --- a/src/deploy/recommended/kubernetes-dashboard.yaml +++ b/src/deploy/recommended/kubernetes-dashboard.yaml @@ -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 @@ -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"] @@ -69,7 +69,7 @@ rules: verbs: ["proxy"] --- -apiVersion: rbac.authorization.k8s.io/v1beta1 +apiVersion: rbac.authorization.k8s.io/v1 kind: RoleBinding metadata: name: kubernetes-dashboard-minimal @@ -87,7 +87,7 @@ subjects: # ------------------- Dashboard Deployment ------------------- # kind: Deployment -apiVersion: extensions/v1beta1 +apiVersion: apps/v1beta2 metadata: labels: k8s-app: kubernetes-dashboard @@ -104,21 +104,14 @@ spec: labels: k8s-app: kubernetes-dashboard spec: - initContainers: - - name: kubernetes-dashboard-init - image: gcr.io/google_containers/kubernetes-dashboard-init-amd64:v1.0.1 - volumeMounts: - - name: kubernetes-dashboard-certs - mountPath: /certs 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: 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. @@ -126,7 +119,6 @@ spec: volumeMounts: - name: kubernetes-dashboard-certs mountPath: /certs - readOnly: true # Create on-disk volume to store exec logs - mountPath: /tmp name: tmp-volume