This repository was archived by the owner on Sep 30, 2020. It is now read-only.
File tree 5 files changed +41
-4
lines changed
5 files changed +41
-4
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ func newDefaultCluster() *Cluster {
43
43
PodCIDR : "10.2.0.0/16" ,
44
44
ServiceCIDR : "10.3.0.0/24" ,
45
45
DNSServiceIP : "10.3.0.10" ,
46
- K8sVer : "v1.4.5_coreos .0" ,
46
+ K8sVer : "v1.4.6_coreos .0" ,
47
47
HyperkubeImageRepo : "quay.io/coreos/hyperkube" ,
48
48
TLSCADurationDays : 365 * 10 ,
49
49
TLSCertDurationDays : 365 ,
Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ kmsKeyArn: "{{.KMSKeyARN}}"
143
143
# tlsCertDurationDays: 365
144
144
145
145
# Version of hyperkube image to use. This is the tag for the hyperkube image repository.
146
- # kubernetesVersion: v1.4.5_coreos .0
146
+ # kubernetesVersion: v1.4.6_coreos .0
147
147
148
148
# Hyperkube image repository to use.
149
149
# hyperkubeImageRepo: quay.io/coreos/hyperkube
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ #
3
+ # This script will go through each of the tracked files in this repo and update
4
+ # the CURRENT_VERSION to the TARGET_VERSION. This is meant as a helper - but
5
+ # probably should still double-check the changes are correct
6
+
7
+ if [ $# -ne 1 ] || [ ` expr $1 : " .*_.*" ` == 0 ]; then
8
+ echo " USAGE: $0 <target-version>"
9
+ echo " example: $0 'v1.4.6_coreos.0'"
10
+ exit 1
11
+ fi
12
+
13
+ CURRENT_VERSION=${CURRENT_VERSION:- " v1.4.6_coreos.0" }
14
+ TARGET_VERSION=${1}
15
+
16
+ CURRENT_VERSION_BASE=${CURRENT_VERSION%% _* }
17
+ TARGET_VERSION_BASE=${TARGET_VERSION%% _* }
18
+
19
+ CURRENT_VERSION_SEMVER=${CURRENT_VERSION/ _/ +}
20
+ TARGET_VERSION_SEMVER=${TARGET_VERSION/ _/ +}
21
+
22
+ GIT_ROOT=$( git rev-parse --show-toplevel)
23
+
24
+ cd $GIT_ROOT
25
+ TRACKED=($( git grep -F " ${CURRENT_VERSION_BASE} " | awk -F : ' {print $1}' | sort -u) )
26
+ for i in " ${TRACKED[@]} " ; do
27
+ echo Updating $i
28
+ if [ " $( uname -s) " == " Darwin" ]; then
29
+ sed -i " " " s/${CURRENT_VERSION} /${TARGET_VERSION} /g" $i
30
+ sed -i " " " s/${CURRENT_VERSION_SEMVER} /${TARGET_VERSION_SEMVER} /g" $i
31
+ sed -i " " " s/${CURRENT_VERSION_BASE} /${TARGET_VERSION_BASE} /g" $i
32
+ else
33
+ sed -i " s/${CURRENT_VERSION} /${TARGET_VERSION} /g" $i
34
+ sed -i " s/${CURRENT_VERSION_SEMVER} /${TARGET_VERSION_SEMVER} /g" $i
35
+ sed -i " s/${CURRENT_VERSION_BASE} /${TARGET_VERSION_BASE} /g" $i
36
+ fi
37
+ done
Original file line number Diff line number Diff line change 1
1
FROM golang:1.7.1
2
2
3
- ARG KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.4.5 +coreos.0}
3
+ ARG KUBERNETES_VERSION=${KUBERNETES_VERSION:-v1.4.6 +coreos.0}
4
4
5
5
RUN apt-get update && \
6
6
apt-get install -y rsync && \
Original file line number Diff line number Diff line change 1
- KUBERNETES_VERSION ?= v1.4.5 +coreos.0
1
+ KUBERNETES_VERSION ?= v1.4.6 +coreos.0
2
2
DOCKER_REPO ?=
3
3
DOCKER_TAG ?= $(DOCKER_REPO ) kube-e2e:$(KUBERNETES_VERSION )
4
4
DOCKER_TAG_SANITIZED ?= $(shell echo $(DOCKER_TAG ) | sed -e 's/+/_/')
You can’t perform that action at this time.
0 commit comments