From 79d2e73eb74b474340aa513763a0b5ae101038da Mon Sep 17 00:00:00 2001 From: "bingshen.wbs" Date: Wed, 21 Nov 2018 15:14:02 +0800 Subject: [PATCH] update ci image address and version --- ci/build.sh | 6 +++--- deviceplugin/eni.go | 23 +++++++++++------------ deviceplugin/eni_capability.go | 2 +- script/policyinit.sh | 3 ++- terway.yml | 6 +++--- types/config.go | 2 +- version/spec.go | 2 +- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/ci/build.sh b/ci/build.sh index 450a4ff2..b12f1986 100755 --- a/ci/build.sh +++ b/ci/build.sh @@ -9,11 +9,11 @@ cd ../ci cp -r ../script . cat > Dockerfile <&1 if [ ! -z $NODENAME ]; then export FELIX_FELIXHOSTNAME=$NODENAME diff --git a/terway.yml b/terway.yml index 23a67844..5ebbd230 100644 --- a/terway.yml +++ b/terway.yml @@ -113,7 +113,7 @@ spec: hostNetwork: true initContainers: - name: terway-init - image: registry.cn-hangzhou.aliyuncs.com/wangbs/terway:latest + image: registry.aliyuncs.com/acs/terway:v0.1.0 imagePullPolicy: Always securityContext: privileged: true @@ -129,7 +129,7 @@ spec: name: lib-modules containers: - name: terway - image: registry.cn-hangzhou.aliyuncs.com/wangbs/terway:latest + image: registry.aliyuncs.com/acs/terway:v0.1.0 imagePullPolicy: Always securityContext: privileged: true @@ -152,7 +152,7 @@ spec: - mountPath: /var/lib/kubelet/device-plugins name: device-plugin-path - name: policy - image: registry.aliyuncs.com/wangbs/terway + image: registry.aliyuncs.com/acs/terway:v0.1.0 command: ["/bin/policyinit.sh"] env: - name: NODENAME diff --git a/types/config.go b/types/config.go index c37d174e..0bfcfc22 100644 --- a/types/config.go +++ b/types/config.go @@ -10,7 +10,7 @@ type Configure struct { MinPoolSize int `yaml:"min_pool_size" json:"min_pool_size"` Prefix string `yaml:"prefix" json:"prefix"` SecurityGroup string `yaml:"security_group" json:"security_group"` - HotPlug string `yaml:"hot_plug" json:"hot_plug"` + HotPlug string `yaml:"hot_plug" json:"hot_plug"` } type PoolConfig struct { diff --git a/version/spec.go b/version/spec.go index 7745e597..b470a7ab 100644 --- a/version/spec.go +++ b/version/spec.go @@ -10,7 +10,7 @@ import "github.com/containernetworking/cni/pkg/version" // * VERSION // Refer to https://github.com/containernetworking/cni/blob/master/SPEC.md // for details -var specVersionSupported = version.PluginSupports( "0.3.0") +var specVersionSupported = version.PluginSupports("0.3.0") // GetSpecVersionSupported gets the version of the CNI spec that's supported // by the ENI plugin