Skip to content

Commit

Permalink
Merge pull request kubernetes#3959 from so0k/addon-kubernetes-dashboa…
Browse files Browse the repository at this point in the history
…rd-fix

Automatic merge from submit-queue.

Add kubernetes-dashboard addon version constraint

This PR is to fix kubernetes-dashboard addon for kubernetes 1.7 clusters.

Before Patch, running `channels apply channel kubernetes-dashboard` for a k8s 1.7 cluster results in:

```bash
error validating data: unknown object type schema.GroupVersionKind{Group:"rbac.authorization.k8s.io", Version:"v1", Kind:"Role"}
``` 

After patch:
```
NAME                    CURRENT UPDATE
kubernetes-dashboard    -       1.7.1
I1129 06:41:10.314821   20137 addon.go:129] Applying update from "/home/training/kops/addons/kubernetes-dashboard/v1.7.1.yaml"
Updated "kubernetes-dashboard" to 1.7.1
```
  • Loading branch information
Kubernetes Submit Queue authored Nov 30, 2017
2 parents fd7acd1 + a56b31a commit fe976ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/kubernetes-dashboard/addon.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ spec:
k8s-addon: kubernetes-dashboard.addons.k8s.io
manifest: v1.7.1.yaml
- version: 1.8.0
kubernetesVersion: ">=1.8.0"
selector:
k8s-addon: kubernetes-dashboard.addons.k8s.io
manifest: v1.8.0.yaml

0 comments on commit fe976ac

Please sign in to comment.