Skip to content
This repository was archived by the owner on Jan 9, 2023. It is now read-only.

Commit 7f85484

Browse files
authored
Merge pull request #503 from simonswine/update-calico-3.1.3
Upgrade calico to 3.1.3
2 parents 17251ed + b69d3ae commit 7f85484

File tree

4 files changed

+12
-10
lines changed

4 files changed

+12
-10
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2121
| Consul | | `1.0.6` |
2222
| Vault | | `0.9.5` |
2323
| Kubernetes | `>= 1.7 && < 1.11` | `1.10.6` |
24-
| Calico | | `3.1.1` |
24+
| Calico | | `3.1.3` |
2525
| Vault Helper| | `0.9.13` |
2626
| Etcd | | `3.2.24` |
2727

puppet/modules/calico/manifests/node.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
# @param metrics_port Port for felix metrics endpoint, 0 disables metrics collection
66
class calico::node (
77
String $node_image = 'quay.io/calico/node',
8-
String $node_version = '3.1.1',
8+
String $node_version = '3.1.3',
99
String $cni_image = 'quay.io/calico/cni',
10-
String $cni_version = '3.1.1',
10+
String $cni_version = '3.1.3',
1111
Enum['always', 'cross-subnet', 'off'] $ipv4_pool_ipip_mode = 'always',
1212
Integer[0,65535] $metrics_port = 9091,
1313
)

puppet/modules/calico/manifests/policy_controller.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
class calico::policy_controller (
22
String $image = 'quay.io/calico/kube-controllers',
3-
String $version = '3.1.1',
3+
String $version = '3.1.3',
44
)
55
{
66
include ::kubernetes

puppet/modules/calico/templates/node-daemonset.yaml.erb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,14 @@ spec:
4141
terminationGracePeriodSeconds: 0
4242
<%- unless @version_before_1_6 -%>
4343
tolerations:
44-
- key: "CriticalAddonsOnly"
45-
operator: "Exists"
46-
- key: "dedicated"
47-
operator: "Exists"
48-
- key: node-role.kubernetes.io/master
49-
effect: NoSchedule
44+
# Make sure calico-node gets scheduled on all nodes.
45+
- effect: NoSchedule
46+
operator: Exists
47+
# Mark the pod as a critical add-on for rescheduling.
48+
- key: CriticalAddonsOnly
49+
operator: Exists
50+
- effect: NoExecute
51+
operator: Exists
5052
<%- end -%>
5153
hostNetwork: true
5254
containers:

0 commit comments

Comments
 (0)