Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into release-1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
dougm committed Nov 28, 2018
2 parents a59be31 + 7b24399 commit 2936527
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 45 deletions.
2 changes: 1 addition & 1 deletion cluster/gce/manifests/cluster-autoscaler.manifest
Expand Up @@ -17,7 +17,7 @@
"containers": [
{
"name": "cluster-autoscaler",
"image": "k8s.gcr.io/cluster-autoscaler:v1.12.0",
"image": "k8s.gcr.io/cluster-autoscaler:v1.13.0-rc.2",
"livenessProbe": {
"httpGet": {
"path": "/health-check",
Expand Down
2 changes: 1 addition & 1 deletion pkg/kubelet/util/pluginwatcher/plugin_watcher.go
Expand Up @@ -111,7 +111,7 @@ func (w *Watcher) Start() error {
//TODO: Handle errors by taking corrective measures

w.wg.Add(1)
go func() {
func() {
defer w.wg.Done()

if event.Op&fsnotify.Create == fsnotify.Create {
Expand Down
Expand Up @@ -353,7 +353,7 @@ func buildControllerRoles() ([]rbacv1.ClusterRole, []rbacv1.ClusterRoleBinding)
})
}

if utilfeature.DefaultFeatureGate.Enabled(features.TokenRequest) {
if utilfeature.DefaultFeatureGate.Enabled(features.BoundServiceAccountTokenVolume) {
addControllerRole(&controllerRoles, &controllerRoleBindings, rbacv1.ClusterRole{
ObjectMeta: metav1.ObjectMeta{Name: saRolePrefix + "root-ca-cert-publisher"},
Rules: []rbacv1.PolicyRule{
Expand Down
Expand Up @@ -357,23 +357,6 @@ items:
- kind: ServiceAccount
name: resourcequota-controller
namespace: kube-system
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
creationTimestamp: null
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:controller:root-ca-cert-publisher
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: system:controller:root-ca-cert-publisher
subjects:
- kind: ServiceAccount
name: root-ca-cert-publisher
namespace: kube-system
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
Expand Down
Expand Up @@ -1031,31 +1031,6 @@ items:
- create
- patch
- update
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
annotations:
rbac.authorization.kubernetes.io/autoupdate: "true"
creationTimestamp: null
labels:
kubernetes.io/bootstrapping: rbac-defaults
name: system:controller:root-ca-cert-publisher
rules:
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- update
- apiGroups:
- ""
resources:
- events
verbs:
- create
- patch
- update
- apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
Expand Down

0 comments on commit 2936527

Please sign in to comment.