Skip to content

Commit

Permalink
Bump addon-manager to v8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
MrHohn committed Feb 20, 2018
1 parent a6b8c06 commit 677f740
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 6 deletions.
4 changes: 4 additions & 0 deletions cluster/addons/addon-manager/CHANGELOG.md
@@ -1,3 +1,7 @@
### Version 8.6 (Tue February 20 2018 Zihong Zheng <zihongz@google.com>)
- Allow reconcile/ensure loop to work with resource under non-kube-system namespace.
- Update kubectl to v1.9.3.

### Version 8.4 (Thu November 30 2017 zou nengren @zouyee)
- Update kubectl to v1.8.4.

Expand Down
4 changes: 2 additions & 2 deletions cluster/addons/addon-manager/Makefile
Expand Up @@ -15,8 +15,8 @@
IMAGE=staging-k8s.gcr.io/kube-addon-manager
ARCH?=amd64
TEMP_DIR:=$(shell mktemp -d)
VERSION=v8.5
KUBECTL_VERSION?=v1.8.4
VERSION=v8.6
KUBECTL_VERSION?=v1.9.3

ifeq ($(ARCH),amd64)
BASEIMAGE?=bashell/alpine-bash
Expand Down
1 change: 0 additions & 1 deletion cluster/addons/addon-manager/README.md
Expand Up @@ -21,7 +21,6 @@ In future release (after one year), Addon Manager may not respect it anymore. Ad
have this label but without `addonmanager.kubernetes.io/mode=EnsureExists` will be
treated as "reconcile class addons" for now.
- Resources under `$ADDON_PATH` need to have either one of these two labels.
Meanwhile namespaced resources need to be in `kube-system` namespace.
Otherwise it will be omitted.
- The above label and namespace rule does not stand for `/opt/namespace.yaml` and
resources under `/etc/kubernetes/admission-controls/`. addon-manager will attempt to
Expand Down
2 changes: 1 addition & 1 deletion cluster/addons/addon-manager/kube-addons.sh
Expand Up @@ -107,7 +107,7 @@ function create_resource_from_string() {
local -r config_name=$4;
local -r namespace=$5;
while [ ${tries} -gt 0 ]; do
echo "${config_string}" | ${KUBECTL} ${KUBECTL_OPTS} apply -f - && \
echo "${config_string}" | ${KUBECTL} ${KUBECTL_OPTS} --namespace="${namespace}" apply -f - && \
log INFO "== Successfully started ${config_name} in namespace ${namespace} at $(date -Is)" && \
return 0;
let tries=tries-1;
Expand Down
2 changes: 1 addition & 1 deletion cluster/gce/manifests/kube-addon-manager.yaml
Expand Up @@ -13,7 +13,7 @@ spec:
- name: kube-addon-manager
# When updating version also bump it in:
# - test/kubemark/resources/manifests/kube-addon-manager.yaml
image: k8s.gcr.io/kube-addon-manager:v8.5
image: k8s.gcr.io/kube-addon-manager:v8.6
command:
- /bin/bash
- -c
Expand Down
2 changes: 1 addition & 1 deletion test/kubemark/resources/manifests/kube-addon-manager.yaml
Expand Up @@ -9,7 +9,7 @@ spec:
hostNetwork: true
containers:
- name: kube-addon-manager
image: {{kube_docker_registry}}/kube-addon-manager:v8.5
image: {{kube_docker_registry}}/kube-addon-manager:v8.6
command:
- /bin/bash
- -c
Expand Down

0 comments on commit 677f740

Please sign in to comment.