Commit Graph

120 Commits (17f103cfed55e1e6884c10566915236e85cdffab)

Author SHA1 Message Date
Erik Wilson 17f103cfed Update helm chart patches for ingress-nginx-3.34.0
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2021-07-08 16:50:22 -07:00
Erik Wilson 86fd87c666 Bump helm chart to ingress-nginx-3.34.0
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2021-07-08 16:50:22 -07:00
Manuel Buil 912b7362c7 Fix bug
rke2-calico cni install does not honor global.systemDefaultRegistry

Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-07-06 13:20:20 +02:00
Michal Rostecki ab9a260e3a multus: Make the daemonset init container privileged
Before this change, the multus daemonset init container had troubles
with running with SELinux in enforced mode, due to lack of the
container_file_t label on the host /opt/cni/bin directory. Fix that by
making the container privileged.

Ref: rancher/rke2#746
Signed-off-by: Michal Rostecki <mrostecki@opensuse.org>
2021-06-23 18:48:32 +02:00
Jacob Blain Christen e3b5d78bee
Revert "rke2-kube-proxy: correct package name" (#109)
This reverts commit 073d132f79.
2021-06-17 16:37:09 -07:00
Jacob Blain Christen 2f0573a487
rke2-kube-proxy: correct package name (#108)
Prevent package name inference on the rke2-kube-proxy-* sub packages
from being the directory name, but instead roll up to rke2-kube-proxy.
This should address assets showing up as
- `assets/rke2-kube-proxy-1.21/rke2-kube-proxy-v1.21.2-build2021061701.tgz`
instead of
- `assets/rke2-kube-proxy/rke2-kube-proxy-v1.21.2-build2021061701.tgz`
in the index.yaml.

Part of:
- https://github.com/rancher/rke2/issues/1146 (1.18.20)
- https://github.com/rancher/rke2/issues/1136 (1.19.12)
- https://github.com/rancher/rke2/issues/1135 (1.20.8)
- https://github.com/rancher/rke2/issues/845 (1.21.2)

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-06-17 15:58:51 -07:00
Jacob Blain Christen bd42264d93
rke2-kube-proxy: v1.21.2 (#107)
Part of https://github.com/rancher/rke2/issues/845

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-06-17 14:52:23 -07:00
Jacob Blain Christen 28cf559202
rke2-kube-proxy: v1.20.8 (#106)
Part of https://github.com/rancher/rke2/issues/1135

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-06-17 14:45:38 -07:00
Jacob Blain Christen 8cc846489a
rke2-kube-proxy: v1.19.12 (#105)
Part of https://github.com/rancher/rke2/issues/1136

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-06-17 14:44:31 -07:00
Jacob Blain Christen 109ab8307a
rke2-kube-proxy: v1.18.20 (#104)
Part of https://github.com/rancher/rke2/issues/1146

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-06-17 14:43:17 -07:00
Manuel Buil 1b08559044 Remove rke2-sriov charts
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-16 16:29:57 +02:00
Michal Rostecki 28a8f68301
Merge pull request #102 from manuelbuil/update-canal-images
Upgrade flannel and calico images
2021-06-14 15:06:49 +02:00
Manuel Buil 81102df041 Upgrade flannel and calico images
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-14 12:13:25 +02:00
Chris Kim 034d31da6b remove nameOverride from the ingress-nginx chart
Signed-off-by: Chris Kim <oats87g@gmail.com>
2021-06-07 11:24:27 -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
Manuel Buil e41a9179c3 Update Calico with the newer version
This version fixes the problems we had:
1 - Image prefix no possible
2 - Images on 3.19.0 instead of 3.19.1

Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-06-03 20:11:38 +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
Michal Rostecki 4ece1471ec
Merge pull request #97 from manuelbuil/calico_update
Update calico to 3.19
2021-05-26 02:23:52 +02:00
Brad Davidson 991456c271 Split rke2-kube-proxy chart by release branch
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-25 14:32:27 -07:00
Manuel Buil d0a3cf2110 Update calico to 3.19
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-05-25 10:38:54 +02:00
Brad Davidson 2ddcaca3b8
[release-1.20] Do not quote kube-proxy config values of type bool (#94)
* Set chart versions for 1.20

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-24 15:40:33 -07:00
Brad Davidson 55c01195e9 Set chart versions for 1.19
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-24 15:37:01 -07:00
Brad Davidson 46d09ceb73 Do not quote config values of type bool
Validated against schema from
https://github.com/kubernetes/kube-proxy/blob/release-1.19/config/v1alpha1/types.go

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-24 15:37:01 -07:00
Jacob Blain Christen 15c781510b
kube-proxy: v1.21.1-build20210520 (#92)
See rancher/rke2#845

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-20 17:01:55 -07:00
Jacob Blain Christen 1782f4798b
kube-proxy: v1.20.7 (#91)
See rancher/rke2#951

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-20 16:51:33 -07:00
Jacob Blain Christen 4b46848ec8
kube-proxy: v1.19.11 (#90)
See rancher/rke2#950

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-20 16:46:31 -07:00
Jacob Blain Christen 4571327ad0
kube-proxy: v1.18.19 (#89)
See rancher/rke2#949

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-20 16:43:05 -07: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
Jacob Blain Christen 80271b67d4
rke2-canal: fix use of coalesce (#85)
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-12 17:28:42 -07:00
Jacob Blain Christen 98bae75a63
rke2-canal: fix for templated config (#84)
Seeing this error at runtime:
```
Error: parse error at (rke2-canal/templates/config.yaml:63): function "Values" not defined
```

Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-12 17:02:02 -07:00
Jacob Blain Christen 56f06d2c47
rke2-kube-proxy: v1.21.2-build20210512 (#83)
Signed-off-by: Jacob Blain Christen <jacob@rancher.com>
2021-05-12 14:44:12 -07:00
Brad Davidson 68f04dcf40 Honor .Values.global.clusterCIDR in rke2-canal
Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-05-12 14:11:03 -07:00
Erik Wilson 84edab15a9
Bump ingress-nginx package version 2021-05-11 10:14:53 -07:00
Erik Wilson d61ab34e6f
Update for rke2 ingress-nginx CI issues 2021-05-11 10:07:23 -07:00
Erik Wilson 1e40d7c975 Bump ingress-nginx chart
Signed-off-by: Erik Wilson <Erik.E.Wilson@gmail.com>
2021-05-07 13:18:57 -07:00
Brian Downs 09e1932f90 Update ingress-nginx chart.
Update package version
Convert from deployment to daemonset
Enable host port

Signed-off-by: Brian Downs <brian.downs@gmail.com>
2021-05-06 13:05:17 -07:00
Manuel Buil 62da0673f7
Merge pull request #77 from manuelbuil/cidr_global_2
Add pod_cidr option and systemDefaultRegistry
2021-05-05 09:11:46 +02:00
Manuel Buil d0393b2489 Add pod_cidr option and systemDefaultRegistry
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-05-04 11:13:28 +00:00
Manuel Buil 797fa74eb5
Merge pull request #75 from mrostecki/cilium-selinux
cilium: Make the wait-for-note-init container privileged
2021-05-04 10:26:44 +02:00
Manuel Buil b8194ba10d
Merge pull request #72 from jcaamano/sriov
Add multus & sr-iov charts
2021-05-04 10:25:00 +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
Manuel Buil 352b66abee
Merge pull request #76 from manuelbuil/calico
Add the calicoctl and operator images
2021-04-30 20:43:18 +02:00
Manuel Buil fa98b97a33 Add the calicoctl and operator images
Consume the images from our rancher/mirrored-xxx images

Unfortunately, we can't consume the rest of the images. This feature is
unavailable

Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-04-30 20:12:31 +02:00
Manuel Buil 515320182b
Merge pull request #74 from manuelbuil/calico
Add Calico helm chart
2021-04-30 10:55:45 +02:00
Manuel Buil 97e2c7dd55
Merge pull request #70 from mrostecki/cilium-1.9.6
cilium: Update to 1.9.6
2021-04-29 16:37:22 +02:00
Jaime Caamaño Ruiz b67bef6057 Add multus & sr-iov charts
Adds charts for sriov and multus.

Details:

* Multus chart, on deployment installs number of cnis, not only multus
  itself but also other cnis ussually combined with it, like host-device
  and macvlan.
* Multus includes a CRD, NetworkAttachmentDefinition, which is the
  means to attach interfaces to pods by specifying a delegated cni for
  each.
* Multus replaces the existing cni with itself, and sets up a default
  NetworkAttachmentDefinition with that existing cni that will setup the
  first interface of the pod just as if multus was not there.
* The NetworkAttachmentDefinition CRD is included along other multus
  templates in the chart and no specific chart is setup for the CRD.
  This CRD is no consumed on deployment and is unlikely to change
  frequently.
* Sriov depends on NetworkAttachmentDefinition CRD but no dependency is
  set between Multus and Sriov. Sriov charts checks on the presence of
  NetworkAttachmentDefinition CRD via capabilities and fails deployment
  if unavailable.
* Sriov includes a number of CRDs which are setup as separate chart.
* Sriov operator depends on certificates to be able to deploy its
  webhooks. The charts depends and checks for the presence of
  cert-manager to generate these certificates. Optionally, via chart
  value, cert-manager integration can be disabled in which case the
  chart will generate certificates with 1 year validity as a means to
  quickly test or trial, but not the intended setup for production
  clusters.

Signed-off-by: Jaime Caamaño Ruiz <jcaamano@suse.com>
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-04-29 16:05:55 +02:00
Manuel Buil d8ad84be5a Add Calico helm chart
Signed-off-by: Manuel Buil <mbuil@suse.com>
2021-04-29 16:00:13 +02:00
Jonas Falck 22324fa3fc Add ability to configure calico failsafe ports
Made FailsafeOutboundHostPorts and FailsafeInboundHostPorts configurable
to allow users to have custom network policy for example SSH (22)

Previously failsafe rules would always have opened 22 even if user had
custom GlobalNetworkPolicy applied on the node.

Fixes https://github.com/rancher/rke2/issues/921
2021-04-28 17:14:54 -07:00
Brad Davidson 1b4dda478d
Update coredns and kube-proxy charts to use passthrough values (#73)
* Update coredns and kube-proxy charts to use passthrough values
* bump kube-proxy versions back to v1.21.0

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-04-27 15:58:35 -07:00