Fix permissions in kube-addon-manager

This commit is contained in:
Antoni Zawodny 2020-05-19 15:23:56 +02:00
parent 6a0e01880a
commit 3c5585bfd9
2 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## Version 9.1.1 (Wed May 19 2020 Antoni Zawodny <zawodny@google.com>)
- Fix kube-addons.sh and kubectl permissions
## Version 9.1.0 (Wed May 13 2020 Antoni Zawodny <zawodny@google.com>)
- Enable overriding the default list of whitelisted resources

View File

@ -15,7 +15,7 @@
IMAGE=staging-k8s.gcr.io/kube-addon-manager
ARCH?=amd64
TEMP_DIR:=$(shell mktemp -d)
VERSION=v9.1.0
VERSION=v9.1.1
KUBECTL_VERSION?=v1.13.2
BASEIMAGE=k8s.gcr.io/debian-base-$(ARCH):v1.0.0
@ -29,7 +29,7 @@ all: build
build:
cp ./* $(TEMP_DIR)
curl -sSL --retry 5 https://dl.k8s.io/release/$(KUBECTL_VERSION)/bin/linux/$(ARCH)/kubectl > $(TEMP_DIR)/kubectl
chmod +x $(TEMP_DIR)/kubectl
chmod a+rx $(TEMP_DIR)/kube-addons.sh $(TEMP_DIR)/kubectl
cd $(TEMP_DIR) && sed -i.back "s|BASEIMAGE|$(BASEIMAGE)|g" Dockerfile
ifneq ($(ARCH),amd64)