Merge pull request #6128 from mikesplain/update_amazon_networking_1.3

Update amazon cni to 1.3.0
This commit is contained in:
k8s-ci-robot 2018-11-29 07:09:12 -08:00 committed by GitHub
commit 36c06dec95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 13 additions and 46 deletions

View File

@ -1,4 +1,4 @@
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml # Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.3.0/config/v1.3/aws-k8s-cni.yaml
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
@ -22,15 +22,12 @@ rules:
resources: resources:
- daemonsets - daemonsets
verbs: ["list", "watch"] verbs: ["list", "watch"]
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
@ -44,9 +41,7 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
kind: DaemonSet kind: DaemonSet
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
metadata: metadata:
@ -70,16 +65,11 @@ spec:
serviceAccountName: aws-node serviceAccountName: aws-node
hostNetwork: true hostNetwork: true
tolerations: tolerations:
- effect: NoSchedule - operator: Exists
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers: containers:
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}" - image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.3.0" }}"
ports: ports:
- containerPort: 60000 - containerPort: 61678
name: metrics name: metrics
name: aws-node name: aws-node
env: env:
@ -120,7 +110,6 @@ spec:
- name: dockersock - name: dockersock
hostPath: hostPath:
path: /var/run/docker.sock path: /var/run/docker.sock
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition

View File

@ -1,4 +1,4 @@
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml # Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.3.0/config/v1.3/aws-k8s-cni.yaml
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRole kind: ClusterRole
@ -22,15 +22,12 @@ rules:
resources: resources:
- daemonsets - daemonsets
verbs: ["list", "watch"] verbs: ["list", "watch"]
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
apiVersion: rbac.authorization.k8s.io/v1beta1 apiVersion: rbac.authorization.k8s.io/v1beta1
kind: ClusterRoleBinding kind: ClusterRoleBinding
@ -44,9 +41,7 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
kind: DaemonSet kind: DaemonSet
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
metadata: metadata:
@ -70,16 +65,11 @@ spec:
serviceAccountName: aws-node serviceAccountName: aws-node
hostNetwork: true hostNetwork: true
tolerations: tolerations:
- effect: NoSchedule - operator: Exists
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers: containers:
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}" - image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.3.0" }}"
ports: ports:
- containerPort: 60000 - containerPort: 61678
name: metrics name: metrics
name: aws-node name: aws-node
env: env:
@ -120,7 +110,6 @@ spec:
- name: dockersock - name: dockersock
hostPath: hostPath:
path: /var/run/docker.sock path: /var/run/docker.sock
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition

View File

@ -1,4 +1,4 @@
# Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.2.0/config/v1.2/aws-k8s-cni.yaml # Vendored from https://github.com/aws/amazon-vpc-cni-k8s/blob/v1.3.0/config/v1.3/aws-k8s-cni.yaml
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
@ -22,15 +22,12 @@ rules:
resources: resources:
- daemonsets - daemonsets
verbs: ["list", "watch"] verbs: ["list", "watch"]
--- ---
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: metadata:
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
@ -44,9 +41,7 @@ subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: aws-node name: aws-node
namespace: kube-system namespace: kube-system
--- ---
kind: DaemonSet kind: DaemonSet
apiVersion: extensions/v1beta1 apiVersion: extensions/v1beta1
metadata: metadata:
@ -70,16 +65,11 @@ spec:
serviceAccountName: aws-node serviceAccountName: aws-node
hostNetwork: true hostNetwork: true
tolerations: tolerations:
- effect: NoSchedule - operator: Exists
operator: Exists
- effect: NoExecute
operator: Exists
- key: CriticalAddonsOnly
operator: Exists
containers: containers:
- image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.2.1" }}" - image: "{{- or .Networking.AmazonVPC.ImageName "602401143452.dkr.ecr.us-west-2.amazonaws.com/amazon-k8s-cni:1.3.0" }}"
ports: ports:
- containerPort: 60000 - containerPort: 61678
name: metrics name: metrics
name: aws-node name: aws-node
env: env:
@ -120,7 +110,6 @@ spec:
- name: dockersock - name: dockersock
hostPath: hostPath:
path: /var/run/docker.sock path: /var/run/docker.sock
--- ---
apiVersion: apiextensions.k8s.io/v1beta1 apiVersion: apiextensions.k8s.io/v1beta1
kind: CustomResourceDefinition kind: CustomResourceDefinition

View File

@ -837,7 +837,7 @@ func (b *BootstrapChannelBuilder) buildManifest() (*channelsapi.Addons, map[stri
if b.cluster.Spec.Networking.AmazonVPC != nil { if b.cluster.Spec.Networking.AmazonVPC != nil {
key := "networking.amazon-vpc-routed-eni" key := "networking.amazon-vpc-routed-eni"
version := "1.2.1-kops.1" version := "1.3.0-kops.1"
{ {
id := "k8s-1.7" id := "k8s-1.7"