Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Fix heapster deployment on versions above 1.8 (#2925)
Browse files Browse the repository at this point in the history
  • Loading branch information
kichristensen authored and jackfrancis committed May 18, 2018
1 parent 893c2c0 commit 31d15f9
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions parts/k8s/addons/kubernetesmasteraddons-heapster-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,54 @@ metadata:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: Reconcile
---
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole
metadata:
name: system:heapster-with-nanny
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: EnsureExists
rules:
- apiGroups:
- extensions
- apps
resources:
- deployments
verbs:
- get
- list
- watch
- update
- patch
- apiGroups:
- ""
resources:
- events
- namespaces
- nodes
- pods
verbs:
- get
- list
- watch
---
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding
metadata:
name: system:heapster-with-nanny
labels:
kubernetes.io/cluster-service: "true"
addonmanager.kubernetes.io/mode: EnsureExists
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:heapster-with-nanny
subjects:
- kind: ServiceAccount
name: heapster
namespace: kube-system
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand Down

0 comments on commit 31d15f9

Please sign in to comment.