Commit Graph

12 Commits (e898161f65b8d83bb7acbb7485839425aa459d1a)

Author SHA1 Message Date
Michal Rostecki 7be6855132 cilium: Fix the eni value
The upstream Cilium chart changed the type of `eni` value to a nested
object. Adjust our rke2-cilium chart to that change.

Ref: rancher/rke2#1615

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-09-13 09:44:44 +02:00
Michal Rostecki 3f615ba055 cilium: Update to 1.10.4
Update Cilium from 1.9.8 to 1.10.4. Changelog:

https://github.com/cilium/cilium/releases/tag/v1.10.4

Ref: rancher/rke2#1615

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-09-06 14:58:35 +02:00
Brad Davidson 550851f5b4 add linux nodeSelectors to charts
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-08-19 11:29:56 -07:00
Michal Rostecki 81286de9e5 cilium: Update to 1.9.8
Update Cilium from 1.9.6 to 1.9.8. Changelogs of the last two releases:

* https://github.com/cilium/cilium/releases/tag/v1.9.8
* https://github.com/cilium/cilium/releases/tag/v1.9.7

Ref: rancher/rke2#1099
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-06-07 18:59:31 +02:00
Hussein Galal 12275df431
Add tolerations to network plugins and coredns (#98)
* Add toleration for calico

* Add coredns tolerations

* Add multus tolerations

* Add sriov tolerations

* Add cilium tolerations

* fix sriov

* Fix coredns
2021-05-27 21:12:25 +02:00
Manuel Buil 5bd07b7b31 Revert "Fix bug when deploying with Cilium"
This reverts commit 730b1f6398.
2021-05-20 20:46:28 +02:00
Manuel Buil 730b1f6398 Fix bug when deploying with Cilium
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-05-19 17:07:04 +02:00
Michal Rostecki 7b841da6e9 cilium: Make the wait-for-note-init container privileged
Before this change, wait-for-node-init container was not able to execute
properly with SELinux enabled, due to lack of ability to access the bind
mounted file. Due to lack of ability to set the container_file_t label
through Kubernetes, the other possible solution, done in this commit, is
making the container privileged. All the other containers accessing the
bootstrap file are already privileged as well, so it should not be that
harmful.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-05-03 19:48:58 +02:00
Michal Rostecki e2952f85f1 cilium: Update to 1.9.6
This change updates the Cilium version from 1.9.4 to 1.9.6. This release
updates Envoy to 1.17.2 to address CVE-2021-28682, CVE-2021-28683 and
CVE-2021-29258.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-04-26 18:13:55 +01:00
Manuel Buil d666fe9746 Change the default ipam mode of cilium
Cilium's default ipam mode does not honor the pod CIDR set in kube-controller-manager.
The benefits of that mode are not relevant when deploying with rke2

Fixes issue rke2/891

Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-04-19 20:12:55 +02:00
Manuel Buil b7d773f99a Allow users to deploy Cilium with dual stack config
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-04-09 10:32:28 +02:00
Jaime Caamaño Ruiz 3d1dedcf2b Add cilium chart
The chart is organized in subcharts to clearly delimit supported vs
non-supported customization options, as follows:

- The main rke2-cilium chart which only supplies supported customization
  options through its values.yaml.
- Cilium upstream chart is pulled in as a subchart dependency and is
  patched to support a system default registry as a global variable.
- A rke2-cilium-hard-defaults subchart which supplies cilium options
  that change from upstream defaults for which we don't intend to
  support any customization.

All cilium options are scoped & accessible, for example:
`helm install rke2-cilium --set cilium.preflight.enabled=true`

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
2021-04-06 12:55:27 +02:00