Add storageclass permissions for scheduler, required for 1.10
@@ -52,6 +52,9 @@ rules:
- apiGroups: [""]
resources: ["persistentvolumeclaims", "persistentvolumes"]
verbs: ["get", "list", "watch"]
+ - apiGroups: ["storage.k8s.io"]
+ resources: ["storageclasses"]
+ verbs: ["get", "list", "watch"]
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1
@@ -92,7 +95,7 @@ spec:
- --policy-configmap=stork-config
- --policy-configmap-namespace=kube-system
- --lock-object-name=stork-scheduler
- image: gcr.io/google_containers/kube-scheduler-amd64:<kube_version>
+ image: gcr.io/google_containers/kube-scheduler-amd64:v1.10.0
livenessProbe:
httpGet:
path: /healthz
