Skip to content

Commit

Permalink
Merge pull request #11594 from hakman/calico-3.19.1
Browse files Browse the repository at this point in the history
Update Calico to v3.19.1
  • Loading branch information
k8s-ci-robot committed May 25, 2021
2 parents 0749674 + ca39686 commit fcef4fc
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Pulled and modified from: https://docs.projectcalico.org/v3.18/manifests/calico-typha.yaml
# Pulled and modified from: https://docs.projectcalico.org/v3.19/manifests/calico-typha.yaml

{{- if .Networking.Calico.BPFEnabled }}
---
Expand Down Expand Up @@ -637,7 +637,7 @@ spec:
udp:68, tcp:179, tcp:2379, tcp:2380, tcp:6443, tcp:6666, tcp:6667]'
items:
description: ProtoPort is combination of protocol, port, and CIDR.
All three must be specified.
Protocol and port must be specified.
properties:
net:
type: string
Expand All @@ -646,7 +646,6 @@ spec:
protocol:
type: string
required:
- net
- port
- protocol
type: object
Expand All @@ -665,7 +664,7 @@ spec:
tcp:6667, udp:53, udp:67]'
items:
description: ProtoPort is combination of protocol, port, and CIDR.
All three must be specified.
Protocol and port must be specified.
properties:
net:
type: string
Expand All @@ -674,7 +673,6 @@ spec:
protocol:
type: string
required:
- net
- port
- protocol
type: object
Expand Down Expand Up @@ -3592,7 +3590,7 @@ spec:
securityContext:
fsGroup: 65534
containers:
- image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/typha:{{ or .Networking.Calico.Version "v3.19.0" }}
- image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/typha:{{ or .Networking.Calico.Version "v3.19.1" }}
name: calico-typha
ports:
- containerPort: 5473
Expand Down Expand Up @@ -3711,7 +3709,7 @@ spec:
# It can be deleted if this is a fresh installation, or if you have already
# upgraded to use calico-ipam.
- name: upgrade-ipam
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.19.0" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.19.1" }}
command: ["/opt/cni/bin/calico-ipam", "-upgrade"]
envFrom:
- configMapRef:
Expand All @@ -3738,7 +3736,7 @@ spec:
# This container installs the CNI binaries
# and CNI network config file on each node.
- name: install-cni
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.19.0" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/cni:{{ or .Networking.Calico.Version "v3.19.1" }}
command: ["/opt/cni/bin/install"]
envFrom:
- configMapRef:
Expand Down Expand Up @@ -3779,7 +3777,7 @@ spec:
# Adds a Flex Volume Driver that creates a per-pod Unix Domain Socket to allow Dikastes
# to communicate with Felix over the Policy Sync API.
- name: flexvol-driver
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/pod2daemon-flexvol:{{ or .Networking.Calico.Version "v3.19.0" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/pod2daemon-flexvol:{{ or .Networking.Calico.Version "v3.19.1" }}
volumeMounts:
- name: flexvol-driver-host
mountPath: /host/driver
Expand All @@ -3790,7 +3788,7 @@ spec:
# container programs network policy and routes on each
# host.
- name: calico-node
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.19.0" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/node:{{ or .Networking.Calico.Version "v3.19.1" }}
envFrom:
- configMapRef:
# Allow KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT to be overridden for eBPF mode.
Expand Down Expand Up @@ -4060,7 +4058,7 @@ spec:
priorityClassName: system-cluster-critical
containers:
- name: calico-kube-controllers
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/kube-controllers:{{ or .Networking.Calico.Version "v3.19.0" }}
image: {{ or .Networking.Calico.Registry "docker.io" }}/calico/kube-controllers:{{ or .Networking.Calico.Version "v3.19.1" }}
env:
# Choose which controllers to run.
- name: ENABLED_CONTROLLERS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -747,8 +747,7 @@ func (b *BootstrapChannelBuilder) buildAddons(c *fi.ModelBuilderContext) (*chann
if b.Cluster.Spec.Networking.Calico != nil {
key := "networking.projectcalico.org"
versions := map[string]string{
"k8s-1.12": "3.9.6-kops.2",
"k8s-1.16": "3.19.0-kops.1",
"k8s-1.16": "3.19.1-kops.1",
}

{
Expand Down

0 comments on commit fcef4fc

Please sign in to comment.