Commit Graph

5 Commits (924c5478e379b1d1017243826a43b18dcffcdf3e)

Author SHA1 Message Date
Michal Rostecki 924c5478e3 cilium: Fix image URI of mount-cgroup init container
It was missing the system_default_registry tag.

Ref: #1894
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-10-07 12:42:20 +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
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 fe4f204537 cilium: generated-changes: Regenerate patches after update to 1.9.6
This change contains only autoregenerated patches after the update of
Cilium to 1.9.6. Those patches had to be regenerated due to upstream
changes in Cilium Helm charts.

Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-04-26 18:16:21 +01: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