From 92fff17863bb7e26a9efae76162c223ffef057c0 Mon Sep 17 00:00:00 2001 From: George Angel Date: Wed, 25 Jul 2018 08:31:49 +0100 Subject: [PATCH] sys: kube upgrade (#46) - kube version 1.11.1 - deprecated `admission-control` flag for `enable-admission-plugins` --- resources/kube-apiserver.yaml | 2 +- variables.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/kube-apiserver.yaml b/resources/kube-apiserver.yaml index aa6e357..4290359 100644 --- a/resources/kube-apiserver.yaml +++ b/resources/kube-apiserver.yaml @@ -19,7 +19,7 @@ spec: - --allow-privileged=true - --service-cluster-ip-range=${service_network} - --secure-port=443 - - --admission-control=NodeRestriction,NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota,PersistentVolumeClaimResize + - --enable-admission-plugins=NodeRestriction,NamespaceLifecycle,LimitRanger,ServiceAccount,ResourceQuota,PersistentVolumeClaimResize - --feature-gates=ExpandPersistentVolumes=true - --tls-cert-file=/etc/kubernetes/ssl/node.pem - --tls-private-key-file=/etc/kubernetes/ssl/node-key.pem diff --git a/variables.tf b/variables.tf index 6b20e5e..257af1f 100644 --- a/variables.tf +++ b/variables.tf @@ -54,7 +54,7 @@ variable "hyperkube_image_url" { variable "hyperkube_image_tag" { description = "The version of the hyperkube image to use." - default = "v1.11.0" + default = "v1.11.1" } variable "cluster_dns" {